brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · bd096d3 Raw
32 lines · plain
1What:		/sys/bus/usb/devices/.../power/level2Date:		March 20073KernelVersion:	2.6.214Contact:	Alan Stern <stern@rowland.harvard.edu>5Description:6		Each USB device directory will contain a file named7		power/level.  This file holds a power-level setting for8		the device, either "on" or "auto".9 10		"on" means that the device is not allowed to autosuspend,11		although normal suspends for system sleep will still12		be honored.  "auto" means the device will autosuspend13		and autoresume in the usual manner, according to the14		capabilities of its driver.15 16		During normal use, devices should be left in the "auto"17		level.  The "on" level is meant for administrative uses.18		If you want to suspend a device immediately but leave it19		free to wake up in response to I/O requests, you should20		write "0" to power/autosuspend.21 22		Device not capable of proper suspend and resume should be23		left in the "on" level.  Although the USB spec requires24		devices to support suspend/resume, many of them do not.25		In fact so many don't that by default, the USB core26		initializes all non-hub devices in the "on" level.  Some27		drivers may change this setting when they are bound.28 29		This file is deprecated and will be removed after 2010.30		Use the power/control file instead; it does exactly the31		same thing.32