Difference between revisions of "Table of thinkpad-acpi LEDs"

From ThinkWiki
Jump to: navigation, search
m
 
(21 intermediate revisions by 13 users not shown)
Line 1: Line 1:
This table contains informations about which LED number is used for which LED in the [[ibm-acpi]] driver.
+
This table contains informations about which LED number is used for which LED in the [[thinkpad-acpi]] driver.
  
 
To test please do the following and add the blinking LED to the table. The moon symbol is the standby led.
 
To test please do the following and add the blinking LED to the table. The moon symbol is the standby led.
  
 +
{{NOTE|this information is deprecated, on modern kernels the LEDs are exposed through sysfs under {{path|/sys/devices/platform/thinkpad_acpi/leds}}.<br>On a T60 with kernel 2.6.29 you get the following device files
 +
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::bay_active
 +
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::dock_active
 +
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::dock_batt
 +
/sys/devices/platform/thinkpad_acpi/leds/tpacpi:green:batt
 +
/sys/devices/platform/thinkpad_acpi/leds/tpacpi:orange:batt
 +
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::power
 +
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::standby
 +
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::thinklight
 +
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::unknown_led
 +
 +
to enable the ThinkLight for instance
 +
echo 1 > /sys/devices/platform/thinkpad_acpi/leds/tpacpi\:\:thinklight/brightness
 +
}}
 
<pre>
 
<pre>
 
echo "0 blink" > /proc/acpi/ibm/led
 
echo "0 blink" > /proc/acpi/ibm/led
Line 108: Line 122:
 
! {{R60e}}
 
! {{R60e}}
 
| {{PowerLED}} || {{Battery(amber)}} || {{Battery(green)}} || {{Cunk}}  || {{Cunk}} || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(amber)}} ||
 
| {{PowerLED}} || {{Battery(amber)}} || {{Battery(green)}} || {{Cunk}}  || {{Cunk}} || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(amber)}} ||
 +
|-
 +
! {{R500}}
 +
| {{PowerLED}} || {{Battery(amber)}} || {{Battery(green)}} || {{Cunk}}  || Ultrabay || {{Cunk}} || {{Cunk}} || {{Stanby(green}} || {{ThinkLight(amber)}} ||
 +
 
|-
 
|-
 
! colspan=11 style="text-align:center;background:#efefef;" |
 
! colspan=11 style="text-align:center;background:#efefef;" |
Line 163: Line 181:
 
! {{T60}}, {{T61}}
 
! {{T60}}, {{T61}}
 
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || {{Cunk}}  || Ultrabay || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(white)}} || 2007-49G, 6465-CTO
 
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || {{Cunk}}  || Ultrabay || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(white)}} || 2007-49G, 6465-CTO
 +
|-
 +
! {{T410}}
 +
| {{PowerLED}}  || error || error  || error  || error  || error || error || Standby || {{ThinkLight(white)}} ||
 +
|-
 +
! {{T500}}
 +
| {{PowerLED}}  || {{Cunk}} || {{Cunk}}  || {{Cunk}}  || {{Cunk}}  || {{Cunk}} || {{Cunk}} || Standby || {{Cunk}} ||
 +
2422
 
|-
 
|-
 
! colspan=11 style="text-align:center;background:#efefef;" |
 
! colspan=11 style="text-align:center;background:#efefef;" |
Line 202: Line 227:
 
|-
 
|-
 
! {{X40}}
 
! {{X40}}
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || Ultrabase  || Ultrabay || {{Cunk}} || {{Cunk}} || Standby || {{Cunk}} ||
+
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || Ultrabase  || Ultrabay || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(amber)}} ||
 
|-
 
|-
 
! {{X41}}
 
! {{X41}}
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || Ultrabase  || Ultrabay || {{Cunk}} || {{Cunk}} || Standby || {{Cunk}} ||
+
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || Ultrabase  || Ultrabay || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(amber)}} ||
 
|-
 
|-
 
! {{X60}}
 
! {{X60}}
 
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || Ultrabase  || Ultrabay || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(white)}} ||
 
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || Ultrabase  || Ultrabay || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(white)}} ||
 +
|-
 +
! {{X61}}
 +
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || {{Cunk}}  || {{Cunk}} || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(white)}} ||
 
|-
 
|-
 
! {{X61_Tablet}}
 
! {{X61_Tablet}}
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || {{Cunk}}  || {{Cunk}} || {{Cunk}} || {{Cunk}} || Standby || {{Cunk}} ||  
+
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || {{Cunk}}  || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Stanby(green}} || {{Cunk}} ||
 +
|-
 +
! {{X300}}
 +
| {{PowerLED}} || {{Battery(amber)}}  || {{Battery(green)}}  || {{Cunk}}  || {{Cunk}} || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(white)}} || There's a blue LED in the ThinkVantage button which doesn't seem to be controlled by any of these. Additionally the Mute button has a red LED in it which lights up when mute is enabled ||
 
|-
 
|-
 
! colspan=11 style="text-align:center;background:#efefef;" |
 
! colspan=11 style="text-align:center;background:#efefef;" |
Line 243: Line 274:
 
! {{Z61t}}
 
! {{Z61t}}
 
| {{PowerLED}}  || {{Battery(amber)}}  || {{Battery(green)}}  || {{Cunk}}  || Ultrabay|| {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(amber)}} ||
 
| {{PowerLED}}  || {{Battery(amber)}}  || {{Battery(green)}}  || {{Cunk}}  || Ultrabay|| {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(amber)}} ||
|}
+
|-
 +
! colspan=11 style="text-align:center;background:#efefef;" |
 +
|-
 +
! {{600X}}
 +
| {{PowerLED}}  || {{Battery(amber)}}  || {{Battery(green)}}  || {{Cunk}} || {{Cunk}}|| {{Cunk}} || {{Cunk}} || {{Stanby(green}} || None ||
 +
|-
 +
|-
 +
! colspan=11 style="text-align:center;background:#efefef;" |
 +
|-
 +
! [[:Category:E Series|E or Edge Series]]
 +
! LED #0
 +
! LED #1
 +
! LED #2
 +
! LED #3
 +
! LED #4
 +
! LED #5
 +
! LED #6
 +
! LED #7
 +
! ThinkLight
 +
! Notes
 +
|-
 +
! colspan=11 style="text-align:center;background:#efefef;" |
 +
|-
 +
! [[:Category:Edge 13"|13"]]
 +
| {{Cunk}}  || {{Cunk}}  || {{Cunk}}  || {{Cunk}}  || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || See [[http://sourceforge.net/mailarchive/forum.php?thread_name=20100926094027.GO25742%40ops-13.xades.com&forum_name=ibm-acpi-devel this post]] for some hints. |
 +
|-
 +
! [[:Category:Edge 14"|14"]]
 +
| {{Cunk}}  || {{Cunk}}  || {{Cunk}}  || {{Cunk}}  || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} ||
 +
|-
 +
! [[:Category:Edge 15"|15"]]
 +
| {{Cunk}}  || {{Cunk}}  || {{Cunk}}  || {{Cunk}}  || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} || {{Cunk}} ||
 +
|-
 
</div>
 
</div>

Latest revision as of 13:48, 9 December 2013

This table contains informations about which LED number is used for which LED in the thinkpad-acpi driver.

To test please do the following and add the blinking LED to the table. The moon symbol is the standby led.

NOTE!
this information is deprecated, on modern kernels the LEDs are exposed through sysfs under /sys/devices/platform/thinkpad_acpi/leds.
On a T60 with kernel 2.6.29 you get the following device files
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::bay_active
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::dock_active
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::dock_batt
/sys/devices/platform/thinkpad_acpi/leds/tpacpi:green:batt
/sys/devices/platform/thinkpad_acpi/leds/tpacpi:orange:batt
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::power
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::standby
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::thinklight
/sys/devices/platform/thinkpad_acpi/leds/tpacpi::unknown_led

to enable the ThinkLight for instance

echo 1 > /sys/devices/platform/thinkpad_acpi/leds/tpacpi\:\:thinklight/brightness
echo "0 blink" > /proc/acpi/ibm/led
echo "1 blink" > /proc/acpi/ibm/led
echo "2 blink" > /proc/acpi/ibm/led
echo "3 blink" > /proc/acpi/ibm/led
echo "4 blink" > /proc/acpi/ibm/led
echo "5 blink" > /proc/acpi/ibm/led
echo "6 blink" > /proc/acpi/ibm/led
echo "7 blink" > /proc/acpi/ibm/led
echo "on" > /proc/acpi/ibm/light
A Series LED #0 LED #1 LED #2 LED #3 LED #4 LED #5 LED #6 LED #7 ThinkLight Notes
A22p unknown unknown unknown unknown unknown unknown unknown unknown unknown
A30 unknown unknown unknown unknown unknown unknown unknown unknown unknown
A31
Power
Battery (amber)
Battery (green)
Ultrabay left Ultrabay right not found Standby unknown unknown
G Series LED #0 LED #1 LED #2 LED #3 LED #4 LED #5 LED #6 LED #7 ThinkLight Notes
G41 unknown unknown unknown unknown unknown unknown unknown unknown unknown
R Series LED #0 LED #1 LED #2 LED #3 LED #4 LED #5 LED #6 LED #7 ThinkLight Notes
R31 unknown unknown unknown unknown unknown unknown unknown unknown unknown
R40 unknown unknown unknown unknown Ultrabay unknown unknown Standby unknown
R40e unknown
Battery (amber)
Battery (green)
unknown unknown unknown unknown Standby unknown
R50 unknown unknown unknown unknown unknown unknown unknown unknown unknown
R50p
Power
Battery (amber)
Battery (green)
unknown unknown unknown unknown Standby
ThinkLight (amber)
R50e
Power
Battery (amber)
Battery (green)
unknown unknown unknown unknown Standby
ThinkLight (amber)
R51
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (amber)
2883-ELU, 1830-DG4
R52
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (amber)
R60
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (amber)
R61
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
R60e
Power
Battery (amber)
Battery (green)
unknown unknown unknown unknown Standby
ThinkLight (amber)
R500
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown
Battery (green)
ThinkLight (amber)
T Series LED #0 LED #1 LED #2 LED #3 LED #4 LED #5 LED #6 LED #7 ThinkLight Notes
T20
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
T21
Power
Battery (amber)
Battery (green)
nothing Ultrabay nothing nothing Standby
ThinkLight (white)
T22
Power
Battery (amber)
Battery (green)
nothing Ultrabay nothing nothing Standby
ThinkLight (white)
T23
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
2647-4MG
T30
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
T40
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
T40p
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
T41
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
2373-2gg
T41p
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
2373-GHG
T42
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
T42p
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Stanby
ThinkLight (white)
2373-C96
T43, T43p
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
T60, T61
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (white)
2007-49G, 6465-CTO
T410
Power
error error error error error error Standby
ThinkLight (white)
T500
Power
unknown unknown unknown unknown unknown unknown Standby unknown

2422

X Series LED #0 LED #1 LED #2 LED #3 LED #4 LED #5 LED #6 LED #7 ThinkLight Notes
X20 unknown
Battery (amber)
Battery (green)
Ultrabase unknown unknown unknown Standby
ThinkLight (white)
X21 unknown unknown unknown unknown unknown unknown unknown Standby
ThinkLight (white)
X23 unknown unknown unknown unknown unknown unknown unknown Standby
ThinkLight (white)
X24 unknown unknown unknown unknown unknown unknown unknown unknown unknown
X30
Power
Battery (amber)
Battery (green)
Ultrabase Ultrabay Ultrabase Battery unknown Standby
ThinkLight (white)
X31
Power
Battery (amber)
Battery (green)
Ultrabase Ultrabay unknown unknown Standby
ThinkLight (white)
X32
Power
Battery (amber)
Battery (green)
unknown unknown unknown unknown Standby
ThinkLight (white)
X40
Power
Battery (amber)
Battery (green)
Ultrabase Ultrabay unknown unknown Standby
ThinkLight (amber)
X41
Power
Battery (amber)
Battery (green)
Ultrabase Ultrabay unknown unknown Standby
ThinkLight (amber)
X60
Power
Battery (amber)
Battery (green)
Ultrabase Ultrabay unknown unknown Standby
ThinkLight (white)
X61
Power
Battery (amber)
Battery (green)
unknown unknown unknown unknown Standby
ThinkLight (white)
X61 Tablet
Power
Battery (amber)
Battery (green)
unknown unknown unknown unknown
Battery (green)
unknown
X300
Power
Battery (amber)
Battery (green)
unknown unknown unknown unknown Standby
ThinkLight (white)
There's a blue LED in the ThinkVantage button which doesn't seem to be controlled by any of these. Additionally the Mute button has a red LED in it which lights up when mute is enabled
Z Series LED #0 LED #1 LED #2 LED #3 LED #4 LED #5 LED #6 LED #7 ThinkLight Notes
Z60t
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (amber)
Z60m
Power
Battery (amber)
Battery (green)
unknown unknown unknown unknown Standby
ThinkLight (amber)
Z61m
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (amber)
Z61p
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (amber)
Z61t
Power
Battery (amber)
Battery (green)
unknown Ultrabay unknown unknown Standby
ThinkLight (amber)
600X
Power
Battery (amber)
Battery (green)
unknown unknown unknown unknown
Battery (green)
None
E or Edge Series LED #0 LED #1 LED #2 LED #3 LED #4 LED #5 LED #6 LED #7 ThinkLight Notes
13" unknown unknown unknown unknown unknown unknown unknown unknown unknown See [this post] for some hints. |
14" unknown unknown unknown unknown unknown unknown unknown unknown unknown
15" unknown unknown unknown unknown unknown unknown unknown unknown unknown