Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95532
b: refs/heads/master
c: 65807cc
h: refs/heads/master
v: v3
  • Loading branch information
Henrique de Moraes Holschuh authored and Len Brown committed Apr 29, 2008
1 parent 7ce8624 commit 0420ce6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af116101924914a9655dfad108548d0db58c40f9
refs/heads/master: 65807cc284dd291b024dd6e55de88feb16b4230a
22 changes: 11 additions & 11 deletions trunk/Documentation/laptops/thinkpad-acpi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ ThinkLight control
------------------

procfs: /proc/acpi/ibm/light
sysfs attributes: as per led class, for the "tpacpi::thinklight" led
sysfs attributes: as per LED class, for the "tpacpi::thinklight" LED

procfs notes:

Expand All @@ -710,11 +710,11 @@ status as "unknown". The available commands are:

sysfs notes:

The ThinkLight sysfs interface is documented by the led class
documentation, in Documentation/leds-class.txt. The ThinkLight led name
The ThinkLight sysfs interface is documented by the LED class
documentation, in Documentation/leds-class.txt. The ThinkLight LED name
is "tpacpi::thinklight".

Due to limitations in the sysfs led class, if the status of the thinklight
Due to limitations in the sysfs LED class, if the status of the thinklight
cannot be read or if it is unknown, thinkpad-acpi will report it as "off".
It is impossible to know if the status returned through sysfs is valid.

Expand Down Expand Up @@ -880,7 +880,7 @@ LED control
-----------

procfs: /proc/acpi/ibm/led
sysfs attributes: as per led class, see below for names
sysfs attributes: as per LED class, see below for names

Some of the LED indicators can be controlled through this feature. On
some older ThinkPad models, it is possible to query the status of the
Expand All @@ -891,11 +891,11 @@ procfs notes:

The available commands are:

echo '<led number> on' >/proc/acpi/ibm/led
echo '<led number> off' >/proc/acpi/ibm/led
echo '<led number> blink' >/proc/acpi/ibm/led
echo '<LED number> on' >/proc/acpi/ibm/led
echo '<LED number> off' >/proc/acpi/ibm/led
echo '<LED number> blink' >/proc/acpi/ibm/led

The <led number> range is 0 to 7. The set of LEDs that can be
The <LED number> range is 0 to 7. The set of LEDs that can be
controlled varies from model to model. Here is the common ThinkPad
mapping:

Expand All @@ -912,15 +912,15 @@ All of the above can be turned on and off and can be made to blink.

sysfs notes:

The ThinkPad LED sysfs interface is described in detail by the led class
The ThinkPad LED sysfs interface is described in detail by the LED class
documentation, in Documentation/leds-class.txt.

The leds are named (in LED ID order, from 0 to 7):
"tpacpi::power", "tpacpi:orange:batt", "tpacpi:green:batt",
"tpacpi::dock_active", "tpacpi::bay_active", "tpacpi::dock_batt",
"tpacpi::unknown_led", "tpacpi::standby".

Due to limitations in the sysfs led class, if the status of the LED
Due to limitations in the sysfs LED class, if the status of the LED
indicators cannot be read due to an error, thinkpad-acpi will report it as
a brightness of zero (same as LED off).

Expand Down

0 comments on commit 0420ce6

Please sign in to comment.