Difference between revisions of "Lenovo Thinkpad SL500"

From ArchWiki
Jump to: navigation, search
m (Add to Lenovo and HOWTO categories)
(Addition to and cleanup of lenovo-sl-laptop section)
Line 30: Line 30:
 
== lenovo-sl-laptop ==
 
== lenovo-sl-laptop ==
  
This amazingly generous driver is provided to us to control bluetooth, hotkeys and screen brightness.
+
This experimental kernel module was hacked together from the Thinkpad module to control bluetooth, hotkeys, fan, and screen brightness. A [http://aur.archlinux.org/packages.php?ID=23667 package] is currently available in the [[AUR]]. After installation, be sure to load the module, and to load on startup, add lenovo-sl-laptop to the MODULES array in [[rc.conf]].
  
Download the C and Makefile from [http://github.com/tetromino/lenovo-sl-laptop/tree/master here] and install the module.
+
Despite it's experimental status, it works quite well. Sadly, there is no support for the [[HDAPS]].
 +
 
 +
====Configuration====
 +
 
 +
To allow control of the backlight, first edit /etc/modprobe.d/modprobe.conf as follows:
 +
 
 +
options lenovo-sl-laptop control_backlight=1
 +
 
 +
Then turn of ACPI control of the backlight by performing the command on startup.
 +
 
 +
echo 0 > /sys/module/video/parameters/brightness_switch_enabled
 +
 
 +
A preferable alternative is to add the following to your kernel boot line to do so on startup.
 +
 
 +
acpi_backlight=vendor
 +
 
 +
====Building Manually====
 +
 
 +
Instead of installing the AUR package, the module can built manually from source.
 +
 
 +
To do so, first obtain the source from [http://github.com/tetromino/lenovo-sl-laptop/tree/master here] and perform the following
  
 
  make
 
  make
Line 38: Line 58:
 
  depmod -a
 
  depmod -a
 
  modprobe lenovo-sl-laptop control_backlight=1
 
  modprobe lenovo-sl-laptop control_backlight=1
 
You may want to add this parameter to /etc/modprobe.d/lenovo-sl-laptop.conf:
 
 
options lenovo-sl-laptop control_backlight=1
 
  
 
The bluetooth light on the front of your laptop should turn on.
 
The bluetooth light on the front of your laptop should turn on.

Revision as of 22:12, 11 January 2010


The support for this laptop is not as bad as it first seems. In fact, pretty much everything works fine. I am very happy with this machine!

Installation

Your BIOS clock is probably set to local time.

Wireless

Getting the wireless to work on Linux was easier than getting it to work on Windows :P

The driver we need is included in the kernel. Add iwlagn to your MODULES array in rc.conf

Following the rest of the wireless setup guide to suit my needs worked for me.

Sound

Installing ALSA using the guide on the wiki worked for me.

Add snd-intel-8x0 and snd-pcm-oss to the modules array in rc.conf.

If you don't want that annoying system beep, add !pcspkr to your modules array in rc.conf.

lenovo-sl-laptop

This experimental kernel module was hacked together from the Thinkpad module to control bluetooth, hotkeys, fan, and screen brightness. A package is currently available in the AUR. After installation, be sure to load the module, and to load on startup, add lenovo-sl-laptop to the MODULES array in rc.conf.

Despite it's experimental status, it works quite well. Sadly, there is no support for the HDAPS.

Configuration

To allow control of the backlight, first edit /etc/modprobe.d/modprobe.conf as follows:

options lenovo-sl-laptop control_backlight=1

Then turn of ACPI control of the backlight by performing the command on startup.

echo 0 > /sys/module/video/parameters/brightness_switch_enabled

A preferable alternative is to add the following to your kernel boot line to do so on startup.

acpi_backlight=vendor

Building Manually

Instead of installing the AUR package, the module can built manually from source.

To do so, first obtain the source from here and perform the following

make
sudo install -m=644 -D lenovo-sl-laptop.ko /lib/modules/`uname -r`/kernel/lenovo_sl_laptop/lenovo-sl-laptop.ko
depmod -a
modprobe lenovo-sl-laptop control_backlight=1

The bluetooth light on the front of your laptop should turn on.

Finally, add lenovo-sl-laptop to your MODULES array in your rc.conf.

USB and SD auto mounting

Check out the Udev rules for automounting USB and sd cards, very handy.

Other notes

The SD card reader seems a bit buggy.

Untested

Fingerprint reader, Bluetooth, Modem.