• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!


Debian Led

This version was saved 13 years, 7 months ago View current version     Page history
Saved by CyberLeo
on March 4, 2010 at 4:21:33 am

This article describes, how to enable the leds:


First obtain the kernel sources


 ss4200:# apt-get install linux-source-2.6.26

 ss4200:# cd /usr/src

 ss4200:/usr/src/linux-source-2.6.26# tar xvjf linux-source-2.6.26.tar.bz2

 ss4200:/usr/src# wget http://merkel.debian.org/~jurij/2.6.26-2/i386/config-2.6.26-1-686.gz                    #obtain standart kernel config

 ss4200:/usr/src# gunzip config-2.6.26-1-686.gz

 ss4200:/usr/src# mv config-2.6.26-1-686 .config

 ss4200:/usr/src# cd

 ss4200:/usr/src/linux-source-2.6.26# cd linux-source-2.6.26

 ss4200:/usr/src/linux-source-2.6.26# mv ../.config .

 ss4200:/usr/src/linux-source-2.6.26# make oldconfig


Answer all questions with yes


apply the patch from here.  It will hopefully be in the mainline kernel soon.


Brigtness control:


Load the i2c dme1737 smbus driver if not already loaded or built in.

# modprobe dme1737
# lsmod | grep dme
dme1737                39501  0 
hwmon_vid               3082  1 dme1737
hwmon                   1936  2 coretemp,dme1737
i2c_core               23284  2 dme1737,i2c_i801
# cd /sys/bus/i2c/drivers/dme1737/0-002e/
# chmod o+w pwm5
# echo 10 > pwm5
# sleep 5
# echo 255 > pwm5

You'll see the lights get dim then bright again.  These pwm outputs are
normally used for fans, but I guess they commandeered it to control the
LEDs in this case.  

Comments (0)

You don't have permission to comment on this page.