<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xtronics</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xtronics"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Xtronics"/>
	<updated>2026-04-27T06:34:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:ThinkLight&amp;diff=55738</id>
		<title>Talk:ThinkLight</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:ThinkLight&amp;diff=55738"/>
		<updated>2014-07-07T14:36:06Z</updated>

		<summary type="html">&lt;p&gt;Xtronics: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[code]&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use warnings;&lt;br /&gt;
# $count&lt;br /&gt;
&lt;br /&gt;
my $count = $ARGV[0];&lt;br /&gt;
&lt;br /&gt;
if ( ! defined($count) || $count &amp;lt; 1 )&lt;br /&gt;
        {&lt;br /&gt;
        $count = 1;&lt;br /&gt;
        }&lt;br /&gt;
$|=1;&lt;br /&gt;
&lt;br /&gt;
for(my $i=0;$i&amp;lt;$count;$i++)&lt;br /&gt;
{&lt;br /&gt;
open(LICHT,&amp;quot;&amp;gt;/proc/acpi/ibm/light&amp;quot;);&lt;br /&gt;
print LICHT &amp;quot;on\n&amp;quot;;&lt;br /&gt;
close(LICHT);&lt;br /&gt;
select(undef,undef,undef,0.25);&lt;br /&gt;
open(LICHT,&amp;quot;&amp;gt;/proc/acpi/ibm/light&amp;quot;);&lt;br /&gt;
print LICHT &amp;quot;off\n&amp;quot;;&lt;br /&gt;
close(LICHT);&lt;br /&gt;
select(undef,undef,undef,0.25);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
[/code]&lt;br /&gt;
=== T530 with Debian ===&lt;br /&gt;
The ACPI hooks are there but not functional - likely needs a bit in &lt;br /&gt;
 /etc/modprobe.d/&lt;br /&gt;
Similar to what one needs to enable fan control - but I can't find any documentation.&lt;/div&gt;</summary>
		<author><name>Xtronics</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=ThinkLight&amp;diff=55737</id>
		<title>ThinkLight</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=ThinkLight&amp;diff=55737"/>
		<updated>2014-07-07T14:32:51Z</updated>

		<summary type="html">&lt;p&gt;Xtronics: /* Linux Support */ key stroke&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;&amp;quot; | __NOTOC__&lt;br /&gt;
[[Image:Thinklight.jpg|ThinkLight]]&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
The ThinkLight is a little LED light integrated into the top edge of the display frame in the A, R, T, X, Z and i Series 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 {{key|Fn}}{{key|PageUp}} key combination or via ACPI on some of the newer models. The LED is amber on some models (e.g. X30s, X40s), and white on others (e.g. T40s).&lt;br /&gt;
Note that the ThinkLight is not available on the G series ThinkPads, nor on the X41 Tablet.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
==Linux Support==&lt;br /&gt;
Controlling the ThinkLight with the keyboard works on all systems since it relies on the BIOS exclusively. Just press {{key|Fn}}{{key|PageUp}} to toggle its state between on and off. &lt;br /&gt;
&lt;br /&gt;
On the T530 (and likely other models) the keystroke is {{key|Fn}}{{key|Space}}. There are 4 states: off|dim keys|bright keys| bright-keys with ThinkLight. &lt;br /&gt;
&lt;br /&gt;
===Software Control via thinkpad-acpi===&lt;br /&gt;
Support for controlling the light with ACPI is provided by [[thinkpad-acpi]]. After installing it, a simple&lt;br /&gt;
:{{cmdroot|echo 255 &amp;gt; /sys/class/leds/tpacpi\:\:thinklight/brightness}}&lt;br /&gt;
switches it on and a&lt;br /&gt;
:{{cmdroot|echo 0 &amp;gt; /sys/class/leds/tpacpi\:\:thinklight/brightness}}&lt;br /&gt;
switches it off again.&lt;br /&gt;
&lt;br /&gt;
This allows one to control the light in scripts. Unfortunately, no known ThinkPad comes with a light sensor (yet). ;)&lt;br /&gt;
&lt;br /&gt;
To use these controls in scripts without root permissions, you should run&lt;br /&gt;
:{{cmdroot|chmod 666 /sys/class/leds/tpacpi\:\:thinklight/brightness}}, which is probably best done using udev.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
*'''led-notification''': Pidgin plugin to use any LED to indicate new messages. I've forked [http://github.com/Sitwon/led-notification led-notification] to support the ThinkLight via [[thinkpad-acpi]]. The plugins below either weren't compatible with the latest pidgin or didn't compile for me. The original author of led-notification seems MIA. Another fork [http://github.com/xmw/pidgin-led-notification pidgin-led-notification] to write user defined strings (added to Gentoo/Linux)&lt;br /&gt;
*'''gaim-thinklight''': If you are using [http://gaim.sf.net GAIM], the [http://www.joachim-breitner.de/blog/archives/38-Created-gaim-thinklight.html gaim-thinklight] plugin will enable you to use the ThinkLight as an indicator for new messages. This depends on [[thinkpad-acpi]].&lt;br /&gt;
*'''gaim-lighthink''': [http://www.chris-lamb.co.uk/code/gaim-lightthink/ gaim-lightthink] is an alternative to gaim-thinklight.&lt;br /&gt;
*'''pidgin-blinklight''':[http://packages.debian.org/unstable/net/pidgin-blinklight pidgin-blinklight] is a replacement for gaim-lighthink intended for use with [http://pidgin.im/ Pidgin].&lt;br /&gt;
*'''rocklight''': [http://hunz.org/ rocklight] is a xmms visualization plugin that makes the ThinkLight flash to the beat of your music. The package also includes a standalone stroboscope mode program.&lt;br /&gt;
*'''thinkblinkd''':[http://badcode.de/downloads/thinkblinkd-0.1.7.tar.gz] Thinkblinkd is a python daemon to control the thinklight (and possibly other lights on your Thinkpad) it comes with the daemon and a control script.&lt;br /&gt;
*The [[script for theft alarm using HDAPS]] optionally flashes the ThinkLight when the alarm is armed (disabled by default, to enable set &amp;lt;tt&amp;gt;$use_light=1&amp;lt;/tt&amp;gt;).&lt;br /&gt;
*'''kopete-thinklight''':[http://kde-apps.org/content/show.php?content=47886] This plugin for kopete will enable the usage of the thinklight as notifiaction for new messages.&lt;br /&gt;
*'''stupid little hack to blink the ThinkLight''': [http://paste.lisp.org/display/37500]  A little C program that may be set SUID so that you can use it from non-privileged programs that needs to do a little notification.&lt;br /&gt;
*'''thinkalert''': [http://www.mike.tl/view/Main/ThinkAlert] Another C program that may be set SUID to allow non-privileged programs to manipulate the ThinkLight.  Adds some features over the &amp;quot;stupid little hack to blink the ThinkLight&amp;quot; program.&lt;br /&gt;
*'''thinklight-notification''': This [http://ubuntuforums.org/showthread.php?t=1017263 Evolution plugin] notifies the user with a blinking light whenever a new message has arrived.&lt;br /&gt;
*'''ThinkBlink''': [http://pikeypl.com/index.php?show=blink_en blink.sh] is an universal bash script making ThinkLight blink. It can be used with any application.&lt;br /&gt;
&lt;br /&gt;
==Windows support==&lt;br /&gt;
Likewise, controlling the ThinkLight with the keyboard works without any additional software. The Hotkey Features software from IBM/Lenovo adds OSD icons that appear when the light is turned on/off.&lt;br /&gt;
&lt;br /&gt;
===Software control via Hotkey Features===&lt;br /&gt;
The Hotkey Features software exposes an interface that allows (among other things) to control the ThinkLight. See [[Python script for Windows to control ThinkPad features]] for more information.&lt;br /&gt;
&lt;br /&gt;
==Models featuring this Technology==&lt;br /&gt;
*ThinkPad {{i1400}}, {{I1460}}, {{I1480}}, {{I1482}}, {{I1483}}, {{I1492}}&lt;br /&gt;
*ThinkPad {{A Series}}&lt;br /&gt;
*ThinkPad {{R Series}}&lt;br /&gt;
*ThinkPad {{T Series}}&lt;br /&gt;
*ThinkPad {{W Series}}&lt;br /&gt;
*ThinkPad {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}, {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X60}}, {{X60s}}, {{X61}}, {{X61s}}, {{X200}}, {{X200s}}, {{X201}}, {{X201s}}, {{X220}}, {{X230}}, {{X300}}, {{X301}}&lt;br /&gt;
*ThinkPad {{Z60m}}, {{Z60t}}, {{Z61m}}&lt;br /&gt;
*ThinkPad {{S30}}, {{S31}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Xtronics</name></author>
		
	</entry>
</feed>