Difference between revisions of "ThinkLight"
Line 11: | Line 11: | ||
Support for controlling the light with ACPI is provided by [[ibm-acpi]]. After installing it, a simple | Support for controlling the light with ACPI is provided by [[ibm-acpi]]. After installing it, a simple | ||
− | {{cmdroot|echo on > /proc/acpi/ibm/light}} | + | {{cmdroot|echo on > /proc/acpi/ibm/light}} |
switches it on and a | switches it on and a | ||
− | {{cmdroot|echo off > /proc/acpi/ibm/light}} | + | {{cmdroot|echo off > /proc/acpi/ibm/light}} |
switches it off again. | switches it off again. | ||
Revision as of 03:30, 9 May 2005
Linux Support
Controlling the ThinkLight with the keyboard works on all systems since it relies on the BIOS exclusively. Just press Fn-PageUp to toggle its state between on and off.
Support for controlling the light with ACPI is provided by ibm-acpi. After installing it, a simple
# echo on > /proc/acpi/ibm/light
switches it on and a
# echo off > /proc/acpi/ibm/light
switches it off again.
This allows one to control the light in scripts. Unfortunately, no known ThinkPad comes with a light sensor (yet). ;)