forked from torvalds/linux
-
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.
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/g…
…it/lenb/linux-acpi-2.6 * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (119 commits) ACPI: don't pass handle for fixed hardware notifications ACPI: remove null pointer checks in deferred execution path ACPI: simplify deferred execution path acerhdf: additional BIOS versions acerhdf: convert to dev_pm_ops acerhdf: fix fan control for AOA150 model thermal: add missing Kconfig dependency acpi: switch /proc/acpi/{debug_layer,debug_level} to seq_file hp-wmi: fix rfkill memory leak on unload ACPI: remove unnecessary #ifdef CONFIG_DMI ACPI: linux/acpi.h should not include linux/dmi.h hwmon driver for ACPI 4.0 power meters topstar-laptop: add new driver for hotkeys support on Topstar N01 thinkpad_acpi: fix rfkill memory leak on unload thinkpad-acpi: report brightness events when required thinkpad-acpi: don't poll by default any of the reserved hotkeys thinkpad-acpi: Fix procfs hotkey reset command thinkpad-acpi: deprecate hotkey_bios_mask thinkpad-acpi: hotkey poll fixes thinkpad-acpi: be more strict when detecting a ThinkPad ...
- Loading branch information
Showing
130 changed files
with
7,227 additions
and
3,015 deletions.
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
What: /sys/class/backlight/<backlight>/bl_power | ||
Date: April 2005 | ||
KernelVersion: 2.6.12 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Control BACKLIGHT power, values are FB_BLANK_* from fb.h | ||
- FB_BLANK_UNBLANK (0) : power on. | ||
- FB_BLANK_POWERDOWN (4) : power off | ||
Users: HAL | ||
|
||
What: /sys/class/backlight/<backlight>/brightness | ||
Date: April 2005 | ||
KernelVersion: 2.6.12 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Control the brightness for this <backlight>. Values | ||
are between 0 and max_brightness. This file will also | ||
show the brightness level stored in the driver, which | ||
may not be the actual brightness (see actual_brightness). | ||
Users: HAL | ||
|
||
What: /sys/class/backlight/<backlight>/actual_brightness | ||
Date: March 2006 | ||
KernelVersion: 2.6.17 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Show the actual brightness by querying the hardware. | ||
Users: HAL | ||
|
||
What: /sys/class/backlight/<backlight>/max_brightness | ||
Date: April 2005 | ||
KernelVersion: 2.6.12 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Maximum brightness for <backlight>. | ||
Users: HAL |
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,23 @@ | ||
What: /sys/class/lcd/<lcd>/lcd_power | ||
Date: April 2005 | ||
KernelVersion: 2.6.12 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Control LCD power, values are FB_BLANK_* from fb.h | ||
- FB_BLANK_UNBLANK (0) : power on. | ||
- FB_BLANK_POWERDOWN (4) : power off | ||
|
||
What: /sys/class/lcd/<lcd>/contrast | ||
Date: April 2005 | ||
KernelVersion: 2.6.12 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Current contrast of this LCD device. Value is between 0 and | ||
/sys/class/lcd/<lcd>/max_contrast. | ||
|
||
What: /sys/class/lcd/<lcd>/max_contrast | ||
Date: April 2005 | ||
KernelVersion: 2.6.12 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Maximum contrast for this LCD device. |
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,28 @@ | ||
What: /sys/class/leds/<led>/brightness | ||
Date: March 2006 | ||
KernelVersion: 2.6.17 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Set the brightness of the LED. Most LEDs don't | ||
have hardware brightness support so will just be turned on for | ||
non-zero brightness settings. The value is between 0 and | ||
/sys/class/leds/<led>/max_brightness. | ||
|
||
What: /sys/class/leds/<led>/max_brightness | ||
Date: March 2006 | ||
KernelVersion: 2.6.17 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Maximum brightness level for this led, default is 255 (LED_FULL). | ||
|
||
What: /sys/class/leds/<led>/trigger | ||
Date: March 2006 | ||
KernelVersion: 2.6.17 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Set the trigger for this LED. A trigger is a kernel based source | ||
of led events. | ||
You can change triggers in a similar manner to the way an IO | ||
scheduler is chosen. Trigger specific parameters can appear in | ||
/sys/class/leds/<led> once a given trigger is selected. | ||
|
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,52 @@ | ||
What: /sys/devices/platform/asus-laptop/display | ||
Date: January 2007 | ||
KernelVersion: 2.6.20 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
This file allows display switching. The value | ||
is composed by 4 bits and defined as follow: | ||
4321 | ||
|||`- LCD | ||
||`-- CRT | ||
|`--- TV | ||
`---- DVI | ||
Ex: - 0 (0000b) means no display | ||
- 3 (0011b) CRT+LCD. | ||
|
||
What: /sys/devices/platform/asus-laptop/gps | ||
Date: January 2007 | ||
KernelVersion: 2.6.20 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Control the gps device. 1 means on, 0 means off. | ||
Users: Lapsus | ||
|
||
What: /sys/devices/platform/asus-laptop/ledd | ||
Date: January 2007 | ||
KernelVersion: 2.6.20 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Some models like the W1N have a LED display that can be | ||
used to display several informations. | ||
To control the LED display, use the following : | ||
echo 0x0T000DDD > /sys/devices/platform/asus-laptop/ | ||
where T control the 3 letters display, and DDD the 3 digits display. | ||
The DDD table can be found in Documentation/laptops/asus-laptop.txt | ||
|
||
What: /sys/devices/platform/asus-laptop/bluetooth | ||
Date: January 2007 | ||
KernelVersion: 2.6.20 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Control the bluetooth device. 1 means on, 0 means off. | ||
This may control the led, the device or both. | ||
Users: Lapsus | ||
|
||
What: /sys/devices/platform/asus-laptop/wlan | ||
Date: January 2007 | ||
KernelVersion: 2.6.20 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Control the bluetooth device. 1 means on, 0 means off. | ||
This may control the led, the device or both. | ||
Users: Lapsus |
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,50 @@ | ||
What: /sys/devices/platform/eeepc-laptop/disp | ||
Date: May 2008 | ||
KernelVersion: 2.6.26 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
This file allows display switching. | ||
- 1 = LCD | ||
- 2 = CRT | ||
- 3 = LCD+CRT | ||
If you run X11, you should use xrandr instead. | ||
|
||
What: /sys/devices/platform/eeepc-laptop/camera | ||
Date: May 2008 | ||
KernelVersion: 2.6.26 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Control the camera. 1 means on, 0 means off. | ||
|
||
What: /sys/devices/platform/eeepc-laptop/cardr | ||
Date: May 2008 | ||
KernelVersion: 2.6.26 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Control the card reader. 1 means on, 0 means off. | ||
|
||
What: /sys/devices/platform/eeepc-laptop/cpufv | ||
Date: Jun 2009 | ||
KernelVersion: 2.6.31 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Change CPU clock configuration. | ||
On the Eee PC 1000H there are three available clock configuration: | ||
* 0 -> Super Performance Mode | ||
* 1 -> High Performance Mode | ||
* 2 -> Power Saving Mode | ||
On Eee PC 701 there is only 2 available clock configurations. | ||
Available configuration are listed in available_cpufv file. | ||
Reading this file will show the raw hexadecimal value which | ||
is defined as follow: | ||
| 8 bit | 8 bit | | ||
| `---- Current mode | ||
`------------ Availables modes | ||
For example, 0x301 means: mode 1 selected, 3 available modes. | ||
|
||
What: /sys/devices/platform/eeepc-laptop/available_cpufv | ||
Date: Jun 2009 | ||
KernelVersion: 2.6.31 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
List available cpufv modes. |
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,51 @@ | ||
Kernel driver power_meter | ||
========================= | ||
|
||
This driver talks to ACPI 4.0 power meters. | ||
|
||
Supported systems: | ||
* Any recent system with ACPI 4.0. | ||
Prefix: 'power_meter' | ||
Datasheet: http://acpi.info/, section 10.4. | ||
|
||
Author: Darrick J. Wong | ||
|
||
Description | ||
----------- | ||
|
||
This driver implements sensor reading support for the power meters exposed in | ||
the ACPI 4.0 spec (Chapter 10.4). These devices have a simple set of | ||
features--a power meter that returns average power use over a configurable | ||
interval, an optional capping mechanism, and a couple of trip points. The | ||
sysfs interface conforms with the specification outlined in the "Power" section | ||
of Documentation/hwmon/sysfs-interface. | ||
|
||
Special Features | ||
---------------- | ||
|
||
The power[1-*]_is_battery knob indicates if the power supply is a battery. | ||
Both power[1-*]_average_{min,max} must be set before the trip points will work. | ||
When both of them are set, an ACPI event will be broadcast on the ACPI netlink | ||
socket and a poll notification will be sent to the appropriate | ||
power[1-*]_average sysfs file. | ||
|
||
The power[1-*]_{model_number, serial_number, oem_info} fields display arbitrary | ||
strings that ACPI provides with the meter. The measures/ directory contains | ||
symlinks to the devices that this meter measures. | ||
|
||
Some computers have the ability to enforce a power cap in hardware. If this is | ||
the case, the power[1-*]_cap and related sysfs files will appear. When the | ||
average power consumption exceeds the cap, an ACPI event will be broadcast on | ||
the netlink event socket and a poll notification will be sent to the | ||
appropriate power[1-*]_alarm file to indicate that capping has begun, and the | ||
hardware has taken action to reduce power consumption. Most likely this will | ||
result in reduced performance. | ||
|
||
There are a few other ACPI notifications that can be sent by the firmware. In | ||
all cases the ACPI event will be broadcast on the ACPI netlink event socket as | ||
well as sent as a poll notification to a sysfs file. The events are as | ||
follows: | ||
|
||
power[1-*]_cap will be notified if the firmware changes the power cap. | ||
power[1-*]_interval will be notified if the firmware changes the averaging | ||
interval. |
Oops, something went wrong.