Re: [RFT] usb: Don't enable LPM if the exit latency is zero.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 07, 2012 at 04:05:26PM +0200, Gabor Takacs wrote:
> Hi Sarah,
> 
> I have successfully applied the two patches you sent. The lsusb -v
> output is below. I am not sure if this is what I should see, but it
> probably tells you what you need to know.
> 
> The disk works, the thing I do not know is how to check whether it
> properly goes into a low power state.

Great, I'm glad your disk works now!

You can check if the roothub goes into a low power state by watching
whether the parent hub reports U0 or U1/U2 in its port status registers.
You can do this by running

watch -n 1 'sudo lsusb -v -d 1d6b:0003 | grep "Hub Port Status" -A4'

>     bU1DevExitLat           1 micro seconds
>     bU2DevExitLat           0 micro seconds

Interesting.  So the device has a non-zero U1 device exit latency, but a
zeroed U2 device exit latency.  In that case, we'll only enable U1.
Maybe the device only supports U1?  It would be informative to know if
the roothub ports actually go into U1 when the device is plugged
directly into your computer (not through a hub).

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux