Difference between revisions of "Table of thinkpad-acpi LEDs"
(please leave the entries with all Cunk, they help us remember what data we are missing on old models) |
|||
(18 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
− | This table contains informations about which LED number is used for which LED in the [[ | + | 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 || {{ | + | | {{PowerLED}} || {{Battery(amber)}} || {{Battery(green)}} || Ultrabase || Ultrabay || {{Cunk}} || {{Cunk}} || Standby || {{ThinkLight(amber)}} || |
|- | |- | ||
! {{X41}} | ! {{X41}} | ||
− | | {{PowerLED}} || {{Battery(amber)}} || {{Battery(green)}} || Ultrabase || Ultrabay || {{Cunk}} || {{Cunk}} || Standby || {{ | + | | {{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 || {{ | + | | {{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
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 | 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 | unknown | unknown | unknown | unknown | Standby | unknown | ||||
R50 | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | ||
R50p | unknown | unknown | unknown | unknown | Standby | ||||||
R50e | unknown | unknown | unknown | unknown | Standby | ||||||
R51 | unknown | Ultrabay | unknown | unknown | Standby | 2883-ELU, 1830-DG4 | |||||
R52 | unknown | Ultrabay | unknown | unknown | Standby | ||||||
R60 | unknown | Ultrabay | unknown | unknown | Standby | ||||||
R61 | unknown | Ultrabay | unknown | unknown | Standby | ||||||
R60e | unknown | unknown | unknown | unknown | Standby | ||||||
R500 | unknown | Ultrabay | unknown | unknown | |||||||
T Series | LED #0 | LED #1 | LED #2 | LED #3 | LED #4 | LED #5 | LED #6 | LED #7 | ThinkLight | Notes | |
T20 | unknown | Ultrabay | unknown | unknown | Standby | ||||||
T21 | nothing | Ultrabay | nothing | nothing | Standby | ||||||
T22 | nothing | Ultrabay | nothing | nothing | Standby | ||||||
T23 | unknown | Ultrabay | unknown | unknown | Standby | 2647-4MG | |||||
T30 | unknown | Ultrabay | unknown | unknown | Standby | ||||||
T40 | unknown | Ultrabay | unknown | unknown | Standby | ||||||
T40p | unknown | Ultrabay | unknown | unknown | Standby | ||||||
T41 | unknown | Ultrabay | unknown | unknown | Standby | 2373-2gg | |||||
T41p | unknown | Ultrabay | unknown | unknown | Standby | 2373-GHG | |||||
T42 | unknown | Ultrabay | unknown | unknown | Standby | ||||||
T42p | unknown | Ultrabay | unknown | unknown | Stanby | 2373-C96 | |||||
T43, T43p | unknown | Ultrabay | unknown | unknown | Standby | ||||||
T60, T61 | unknown | Ultrabay | unknown | unknown | Standby | 2007-49G, 6465-CTO | |||||
T410 | error | error | error | error | error | error | Standby | ||||
T500 | 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 | Ultrabase | unknown | unknown | unknown | Standby | |||||
X21 | unknown | unknown | unknown | unknown | unknown | unknown | unknown | Standby | |||
X23 | unknown | unknown | unknown | unknown | unknown | unknown | unknown | Standby | |||
X24 | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | ||
X30 | Ultrabase | Ultrabay | Ultrabase Battery | unknown | Standby | ||||||
X31 | Ultrabase | Ultrabay | unknown | unknown | Standby | ||||||
X32 | unknown | unknown | unknown | unknown | Standby | ||||||
X40 | Ultrabase | Ultrabay | unknown | unknown | Standby | ||||||
X41 | Ultrabase | Ultrabay | unknown | unknown | Standby | ||||||
X60 | Ultrabase | Ultrabay | unknown | unknown | Standby | ||||||
X61 | unknown | unknown | unknown | unknown | Standby | ||||||
X61 Tablet | unknown | unknown | unknown | unknown | unknown | ||||||
X300 | unknown | unknown | unknown | unknown | Standby | 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 | unknown | Ultrabay | unknown | unknown | Standby | ||||||
Z60m | unknown | unknown | unknown | unknown | Standby | ||||||
Z61m | unknown | Ultrabay | unknown | unknown | Standby | ||||||
Z61p | unknown | Ultrabay | unknown | unknown | Standby | ||||||
Z61t | unknown | Ultrabay | unknown | unknown | Standby | ||||||
600X | unknown | unknown | unknown | unknown | 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 |