Re: Device Enumeration Failure

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

 



On Sat, 26 May 2012, Anil Nair wrote:

> touchscreen and resuming it, the details for that can be found on
> Linux kernel source Documentation/usb/power-management.txt
> 
> /sys/bus/usb/devices# echo 2 > 1-2/power/autosuspend
> 
> Here, 1-2 represents the USB bus address for that device which can be
> found out by using lsusb.
> The number 2 represent the timeout.
> 
> The timeout can be set to any integer number of seconds. If set to -1,
> the device will not autosuspend. Then we make sure the kernel will
> automatically suspend the device, and resume the device if data needs
> to be transferred:
> 
> /sys/bus/usb/devices# echo auto > 1-2/power/level
> 
> Other options to echo to this file are "on" and "suspend":
> 
>     "on" will force the device to be on all the time.
>     "suspend" will permanently suspend the device until the user
> echoes "on" or "auto" to this file.
>     (Note that this is a simplification, since the value of the
> power/wakeup file may allow the device to signal a remote wakeup.)

This description is quite out of date: The file to use is
power/control, not power/level, and there is no "suspend" option.  You
should read the current version of power-management.txt.

Alan Stern

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