-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 196695 b: refs/heads/master c: da7806f h: refs/heads/master i: 196693: 1fb5959 196691: 1500d1d 196687: 9985d03 v: v3
- Loading branch information
Linus Torvalds
committed
May 21, 2010
1 parent
8366f68
commit e4e3bc8
Showing
13,722 changed files
with
1,006,674 additions
and
422,217 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 1cd2296909e77702c68021ede9d87a1d967a6a99 | ||
refs/heads/master: da7806f9b0579a1150f01ade3b562e543ddcbf2c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
What: /sys/bus/usb/devices/.../power/level | ||
Date: March 2007 | ||
KernelVersion: 2.6.21 | ||
Contact: Alan Stern <stern@rowland.harvard.edu> | ||
Description: | ||
Each USB device directory will contain a file named | ||
power/level. This file holds a power-level setting for | ||
the device, either "on" or "auto". | ||
|
||
"on" means that the device is not allowed to autosuspend, | ||
although normal suspends for system sleep will still | ||
be honored. "auto" means the device will autosuspend | ||
and autoresume in the usual manner, according to the | ||
capabilities of its driver. | ||
|
||
During normal use, devices should be left in the "auto" | ||
level. The "on" level is meant for administrative uses. | ||
If you want to suspend a device immediately but leave it | ||
free to wake up in response to I/O requests, you should | ||
write "0" to power/autosuspend. | ||
|
||
Device not capable of proper suspend and resume should be | ||
left in the "on" level. Although the USB spec requires | ||
devices to support suspend/resume, many of them do not. | ||
In fact so many don't that by default, the USB core | ||
initializes all non-hub devices in the "on" level. Some | ||
drivers may change this setting when they are bound. | ||
|
||
This file is deprecated and will be removed after 2010. | ||
Use the power/control file instead; it does exactly the | ||
same thing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
rfkill - radio frequency (RF) connector kill switch support | ||
|
||
For details to this subsystem look at Documentation/rfkill.txt. | ||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/state | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: linux-wireless@vger.kernel.org | ||
Description: Current state of the transmitter. | ||
This file is deprecated and sheduled to be removed in 2014, | ||
because its not possible to express the 'soft and hard block' | ||
state of the rfkill driver. | ||
Values: A numeric value. | ||
0: RFKILL_STATE_SOFT_BLOCKED | ||
transmitter is turned off by software | ||
1: RFKILL_STATE_UNBLOCKED | ||
transmitter is (potentially) active | ||
2: RFKILL_STATE_HARD_BLOCKED | ||
transmitter is forced off by something outside of | ||
the driver's control. | ||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/claim | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: linux-wireless@vger.kernel.org | ||
Description: This file is deprecated because there no longer is a way to | ||
claim just control over a single rfkill instance. | ||
This file is scheduled to be removed in 2012. | ||
Values: 0: Kernel handles events |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
rfkill - radio frequency (RF) connector kill switch support | ||
|
||
For details to this subsystem look at Documentation/rfkill.txt. | ||
|
||
For the deprecated /sys/class/rfkill/*/state and | ||
/sys/class/rfkill/*/claim knobs of this interface look in | ||
Documentation/ABI/obsolete/sysfs-class-rfkill. | ||
|
||
What: /sys/class/rfkill | ||
Date: 09-Jul-2007 | ||
KernelVersion: v2.6.22 | ||
Contact: linux-wireless@vger.kernel.org, | ||
Description: The rfkill class subsystem folder. | ||
Each registered rfkill driver is represented by an rfkillX | ||
subfolder (X being an integer > 0). | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/name | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: linux-wireless@vger.kernel.org | ||
Description: Name assigned by driver to this key (interface or driver name). | ||
Values: arbitrary string. | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/type | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: linux-wireless@vger.kernel.org | ||
Description: Driver type string ("wlan", "bluetooth", etc). | ||
Values: See include/linux/rfkill.h. | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/persistent | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: linux-wireless@vger.kernel.org | ||
Description: Whether the soft blocked state is initialised from non-volatile | ||
storage at startup. | ||
Values: A numeric value. | ||
0: false | ||
1: true | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/hard | ||
Date: 12-March-2010 | ||
KernelVersion v2.6.34 | ||
Contact: linux-wireless@vger.kernel.org | ||
Description: Current hardblock state. This file is read only. | ||
Values: A numeric value. | ||
0: inactive | ||
The transmitter is (potentially) active. | ||
1: active | ||
The transmitter is forced off by something outside of | ||
the driver's control. | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/soft | ||
Date: 12-March-2010 | ||
KernelVersion v2.6.34 | ||
Contact: linux-wireless@vger.kernel.org | ||
Description: Current softblock state. This file is read and write. | ||
Values: A numeric value. | ||
0: inactive | ||
The transmitter is (potentially) active. | ||
1: active | ||
The transmitter is turned off by software. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
What: /sys/devices/system/node/nodeX | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
When CONFIG_NUMA is enabled, this is a directory containing | ||
information on node X such as what CPUs are local to the | ||
node. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
trunk/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
What: /sys/devices/platform/_UDC_/gadget/suspended | ||
Date: April 2010 | ||
Contact: Fabien Chouteau <fabien.chouteau@barco.com> | ||
Description: | ||
Show the suspend state of an USB composite gadget. | ||
1 -> suspended | ||
0 -> resumed | ||
|
||
(_UDC_ is the name of the USB Device Controller driver) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
What: /sys/devices/.../power/ | ||
Date: January 2009 | ||
Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
Description: | ||
The /sys/devices/.../power directory contains attributes | ||
allowing the user space to check and modify some power | ||
management related properties of given device. | ||
|
||
What: /sys/devices/.../power/wakeup | ||
Date: January 2009 | ||
Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
Description: | ||
The /sys/devices/.../power/wakeup attribute allows the user | ||
space to check if the device is enabled to wake up the system | ||
from sleep states, such as the memory sleep state (suspend to | ||
RAM) and hibernation (suspend to disk), and to enable or disable | ||
it to do that as desired. | ||
|
||
Some devices support "wakeup" events, which are hardware signals | ||
used to activate the system from a sleep state. Such devices | ||
have one of the following two values for the sysfs power/wakeup | ||
file: | ||
|
||
+ "enabled\n" to issue the events; | ||
+ "disabled\n" not to do so; | ||
|
||
In that cases the user space can change the setting represented | ||
by the contents of this file by writing either "enabled", or | ||
"disabled" to it. | ||
|
||
For the devices that are not capable of generating system wakeup | ||
events this file contains "\n". In that cases the user space | ||
cannot modify the contents of this file and the device cannot be | ||
enabled to wake up the system. | ||
|
||
What: /sys/devices/.../power/control | ||
Date: January 2009 | ||
Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
Description: | ||
The /sys/devices/.../power/control attribute allows the user | ||
space to control the run-time power management of the device. | ||
|
||
All devices have one of the following two values for the | ||
power/control file: | ||
|
||
+ "auto\n" to allow the device to be power managed at run time; | ||
+ "on\n" to prevent the device from being power managed; | ||
|
||
The default for all devices is "auto", which means that they may | ||
be subject to automatic power management, depending on their | ||
drivers. Changing this attribute to "on" prevents the driver | ||
from power managing the device at run time. Doing that while | ||
the device is suspended causes it to be woken up. | ||
|
||
What: /sys/devices/.../power/async | ||
Date: January 2009 | ||
Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
Description: | ||
The /sys/devices/.../async attribute allows the user space to | ||
enable or diasble the device's suspend and resume callbacks to | ||
be executed asynchronously (ie. in separate threads, in parallel | ||
with the main suspend/resume thread) during system-wide power | ||
transitions (eg. suspend to RAM, hibernation). | ||
|
||
All devices have one of the following two values for the | ||
power/async file: | ||
|
||
+ "enabled\n" to permit the asynchronous suspend/resume; | ||
+ "disabled\n" to forbid it; | ||
|
||
The value of this attribute may be changed by writing either | ||
"enabled", or "disabled" to it. | ||
|
||
It generally is unsafe to permit the asynchronous suspend/resume | ||
of a device unless it is certain that all of the PM dependencies | ||
of the device are known to the PM core. However, for some | ||
devices this attribute is set to "enabled" by bus type code or | ||
device drivers and in that cases it should be safe to leave the | ||
default value. |
Oops, something went wrong.