Re: Query: USB selective suspend in .32 and later

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

 



Am Montag, 26. April 2010 14:53:55 schrieb Gadiyar, Anand:
> Hi all,
> 
> Did we lose the ability to manually suspend a USB device
> from v2.6.32 and later kernels?

I am not sure the exact release is 2.6.32, but yes, that feature
has been lost.

> I see the /sys/bus/usb/devices/.../power/level, but it looks
> like "auto" and "on" are the only supported values.

The generic device model supports only "on" and "auto".
 
> Is there a way to get back the old behavior?

No.
 
> (I run test cases that suspend/resume connected devices
> for a few thousand times (due to past bugs in our hardware),
> and I cannot figure out a way to do this now).

Enable autosuspend, set the timeout to 0. Then run "lsusb" in a
loop with a minimal delay.

	HTH
		Oliver
--
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