Difference between revisions of "Lenovo Thinkpad SL500"

From ArchWiki
Jump to: navigation, search
(re-categorize)
(lenovo-sl-laptop Kernel Module)
Line 20: Line 20:
 
== lenovo-sl-laptop Kernel Module==
 
== lenovo-sl-laptop Kernel Module==
  
'''This modules is no longer required in 2.6.32 for most hotkey support; the mainline asus-laptop module has been patched to support these models. However, some features still require the lenovo-sl-laptop. Check the git [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=14f8af311e7d3e4198cbaade84a34f86505dcb37 commit] for clarification. '''
+
'''This modules is no longer required in 2.6.32 for most hotkey support; the mainline asus-laptop module has been patched to support these models. However, some features still require the lenovo-sl-laptop. Check the git [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=14f8af311e7d3e4198cbaade84a34f86505dcb37 commit] for clarification. Note that it's recommened to blacklist the asus-laptop module when the lenovo-sl-laptop module is used to avoid problems with hotkey support.'''
  
 
This experimental kernel module was written to control bluetooth, hotkeys, fan, and screen brightness in place of the incompatible thinkpad_acpi module. 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]].
 
This experimental kernel module was written to control bluetooth, hotkeys, fan, and screen brightness in place of the incompatible thinkpad_acpi module. 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]].

Revision as of 08:21, 16 April 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!

While this guide if for the Thinkpad SL500, the steps should be easily applicable to the SL300 and SL400 models.

Introduction

Despite the Thinkpad name, the SL series laptops actually contain IdeaPad firmware, making it incompatible with the thinkpad_acpi modules. A new module, lenovo-sl-laptop has been written to expose most of the lost functionality. Thinkwiki has a page for the SL series with good general information and howtos.

Wireless

There are two possible wireless chipsets: Intel WiFi Link 5100 or a Atheros AR5007EG.

Getting the wireless to work is relatively easy. Following the wireless setup guide should suit your needs.

Sound

The sound card is supported in the kernel, and following the instructions in the Beginner's guide and also the ALSA guide should be sufficient to get sound working.

lenovo-sl-laptop Kernel Module

This modules is no longer required in 2.6.32 for most hotkey support; the mainline asus-laptop module has been patched to support these models. However, some features still require the lenovo-sl-laptop. Check the git commit for clarification. Note that it's recommened to blacklist the asus-laptop module when the lenovo-sl-laptop module is used to avoid problems with hotkey support.

This experimental kernel module was written to control bluetooth, hotkeys, fan, and screen brightness in place of the incompatible thinkpad_acpi module. 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 off 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.

References

Thread on the forums concerning configuration of Arch Linux on the SL series