View Single Post
Old June 19th, 2009   #4
ignasigarcia
Spilled the Beans
 
Join Date: Apr 2008
Beans: 13
Re: Lenovo Thinkpad SL500 Brightness

I use Jaunty with some changes and I my thinkpad sl500 works great now:

First, I use kernel 2.6.30 available from http://kernel.ubuntu.com/~kernel-ppa/mainline/

Since I use 64bits ubuntu I installed:

linux-headers-2.6.30-020630-generic_2.6.30-020630_amd64.deb
linux-headers-2.6.30-020630_2.6.30-020630_all.deb
linux-image-2.6.30-020630-generic_2.6.30-020630_amd64.deb

This kernel supports partially the sl500 and fixes all brightness problems. However, some other things still do not work, such as volume hotkeys. Si I aldo did this:

I compiled and installed the Tetromino Kernel module available here: http://github.com/tetromino/lenovo-s...op/tree/master

Unzip/untar the compressed file, compile and install running these commands:

make all
sudo cp lenovo-sl-laptop.ko /lib/modules/`uname -r`/kernel/drivers/misc
sudo depmod

Blacklist the thinkpad-acpi module (not sure this is necessary though), by editing /etc/modprobe.d/blacklist.conf (in prior versions of ubuntu the file does not have the .conf extension) and adding:

blacklist thinkpad-acpi

Run this to create a new file in /etc/modprobe.d

echo options lenovo-sl-laptop control_backlight=1 > /etc/modprobe.d/lenovo-sl-laptop.modprobe.conf


Finally, edit /etc/rc.local and add these 2 lines before the "exit 0" statement:

echo 0 > /sys/module/video/parameters/brightness_switch_enabled
modprobe lenovo-sl-laptop


Hope it works for you

Ignacio
ignasigarcia is offline   Reply With Quote