[ltp] LEDs on X60

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Wed, 21 May 2008 00:30:52 -0300


On Tue, 20 May 2008, Micha wrote:
> I would like to control all the LEDs on my Thinkpad x60. I know that

Heh.  I wonder why...

> using the /proc/acpi/ibm/led but I have no idea how to change the
> hd, numlock, capslock, wlan and bluetooth ones. I checked some

HD: access the disk when you want it lit, don't access the disk when you
don't want it lit.  I mean it, forget about messing with this LED.

Numlock/capslock: talk to the emulated KDC, any linux utility to mess
with keyboard LEDs should do.

WLAN: hack the wireless card driver.

Bluetooth: no idea if it is possible, maybe it is under the control of
the bluetooth dongle driver like the WLAN LEDs usually are under the
control of the wlan card driver.   You can probably abuse it by screwing
around with the ACPI bluetooth switch as long as the hardware rfkill
switch is not blocking it, but I think this could be very bad for your
hardware in the long run.  It was NOT made to be used so often.

> all the lights Is there anyone here who is familiar with the other
> nasty LEDS?

They're not nasty, YOU are the one trying to do nasty things to them.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh