On Mon, 7 Dec 2015, Josh Triplett wrote:

> The following files appear under the power directory when plugged in via
> the dock:
> 
> ~$ head 
> /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1.2/2-3.1.2:1.1/power/*
> ==> 
> /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1.2/2-3.1.2:1.1/power/async
>  <==
> enabled
> 
> ==> 
> /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1.2/2-3.1.2:1.1/power/runtime_active_kids
>  <==
> 0
> 
> ==> 
> /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1.2/2-3.1.2:1.1/power/runtime_enabled
>  <==
> enabled
> 
> ==> 
> /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1.2/2-3.1.2:1.1/power/runtime_status
>  <==
> suspended
> 
> ==> 
> /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1.2/2-3.1.2:1.1/power/runtime_usage
>  <==
> 0

You're looking at the wrong files.  The files to monitor are the ones
in /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1.2/power
(assuming that this device really is the mouse and not something else).  
Handy shortcut link: /sys/bus/usb/devices/2-3.1.2/power.

For more information on what's happening, try collecting a usbmon trace 
for bus 2 (see Documentation/usb/usbmon.txt).

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to