Difference between revisions of "ThinkLight"

From ThinkWiki
Jump to: navigation, search
(added Categories)
(cosmetics)
Line 1: Line 1:
[[Image:Thinklight.jpg|thumb|ThinkLight]]
+
{| width="100%"
 +
|style="vertical-align:top;padding-right:20px;width:10px;" | [[Image:Thinklight.jpg|ThinkLight]]
 +
|style="vertical-align:top" |
 +
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
 
The ThinkLight is a little LED light integrated into the top edge of the display frame in the A, R, T and X ThinkPad models. It illuminates the ThinkPad's keyboard so that one can type in the dark without using an external light source. The ThinkLight can be controlled via the Fn-PageUp key combination or via ACPI on some of the newer models.
 
The ThinkLight is a little LED light integrated into the top edge of the display frame in the A, R, T and X ThinkPad models. It illuminates the ThinkPad's keyboard so that one can type in the dark without using an external light source. The ThinkLight can be controlled via the Fn-PageUp key combination or via ACPI on some of the newer models.
Note that the ThinkLight is not available on the G series ThinkPads.<br /><br /><br /><br /><br />
+
Note that the ThinkLight is not available on the G series ThinkPads.
 
+
</div>
 +
|}
 
==Linux Support==
 
==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.
 
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
 
Support for controlling the light with ACPI is provided by [[ibm-acpi]]. After installing it, a simple
echo on > /proc/acpi/ibm/light
+
{{cmd|echo on > /proc/acpi/ibm/light}}
 
switches it on and a
 
switches it on and a
echo off > /proc/acpi/ibm/light
+
{{cmd|echo off > /proc/acpi/ibm/light}}
 
switches it off again.
 
switches it off again.
  

Revision as of 23:25, 27 February 2005

ThinkLight

The ThinkLight is a little LED light integrated into the top edge of the display frame in the A, R, T and X ThinkPad models. It illuminates the ThinkPad's keyboard so that one can type in the dark without using an external light source. The ThinkLight can be controlled via the Fn-PageUp key combination or via ACPI on some of the newer models. Note that the ThinkLight is not available on the G series ThinkPads.

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 {{{2}}} echo on > /proc/acpi/ibm/light switches it on and a {{{2}}} 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). ;)