Installation instructions for the ThinkPad SL400

From ThinkWiki
Revision as of 20:08, 20 January 2009 by Barcala (Talk | contribs) (Arranging the wireless card:)

Jump to: navigation, search

Ubuntu 8.04 (Hardy Heron)

I have followed the following steps to do the installation in the SL400 (2743 submodel)

1) Install Hardy Heron in its normal way.

Several things did not work: acpi, wireless (Intel Wifi Ling 5100) and video card (X4500 MHD).

The ethernet card works and, although the video card seems to work, it hangs up when playing a video.

Arranging the video card:

1) Remove the packages xserver-xorg-video-i810 and xserver-xorg-video-intel from the system. xserver-xorg-video-all will be removed also.

2) Install de package xserver-xorg-video-inte-2.4.0-melchiorre-5-i386.deb downloaded from http://melchiorre.wordpress.com/2008/07/31/driver-intel-240-deb-package/

With this package the video card does not hang up any more when playing videos.

Arranging the wireless card:

Finally it works in 2.6.28 kernel, which includes the driver. I have made the following:

1) Download the Ubuntu kernel source:

# apt-get install linux-source

2) Decompress the .tar.bz2 file downloaded by the package located at /usr/src:

# bzip2 -d linux-source-2.6.27.8.tar.bz2

# tar xvf linux-source-2.6.27.8.tar

3) Copy the configuration file from /boot to /usr/src/linux-source-2.6.27.8, renaming it:

# cp /boot/config-2.6.24-19-generic /usr/src/linux-source-2.6.27.8/.config

4) Do # make menuconfig inside /usr/src/linux-source-2.6.27.8

5) Activate the kernel options (make menuconfig):

- For code optimization:

Core 2/newer Xeon → Processor family → [*]Processor type and features

- For Sound card:

Sound card support → [M]Device Drivers

Advanced Linux Sound Architecture → Sound card support → [M]Device Drivers

Intel HD Audio → PCI devices → Advanced Linux Sound Architecture → Sound card support → [M]Device Drivers

Intel HD Audio → PCI devices → Advanced Linux Sound Architecture → Sound card support → [*]Device Drivers

Intel HD Audio → PCI devices → Advanced Linux Sound Architecture → Sound card support → [*]Device Drivers

Intel HD Audio → PCI devices → Advanced Linux Sound Architecture → Sound card support → [*]Device Drivers

Intel HD Audio → PCI devices → Advanced Linux Sound Architecture → Sound card support → [*]Device Drivers

Intel HD Audio → PCI devices → Advanced Linux Sound Architecture → Sound card support → [*]Device Drivers

Intel HD Audio → PCI devices → Advanced Linux Sound Architecture → Sound card support → [*]Device Drivers

Intel HD Audio → PCI devices → Advanced Linux Sound Architecture → Sound card support → [*]Device Drivers

Intel HD Audio → PCI devices → Advanced Linux Sound Architecture → Sound card support → [*]Device Drivers

Intel HD Audio → PCI devices → Advanced Linux Sound Architecture → Sound card support → [*]Device Drivers

- Necessary for wireless driver:

Netdevice multiple hardware queue support → Network device support → [*]Device Drivers

- Select the iwl5000 driver also inside Wireless Section.

6) Compile and install the kernel the "Debian way" (http://www.debian.org/releases/stable/i386/ch08s06.html.en)

7) Restart the computer choosing this new kernel at boot.

8) Download wireless microcode from http://intellinuxgraphics.org?n=downloads

I downloaded iwlwifi-5000-ucode-5.4.A.11.tar.gz from "show older releases". I suspect that iwlwifi-4965-ucode-228.57.2.21.tgz includes recent driver for 5100 card, but I am not sure, so I proceed with the 5000 one.

9) Decompress iwlwifi-5000-ucode-5.4.A.11.tar.gz and copy iwlwifi-5000-1.ucode to /lib/firmware and /lib/firmware/kernel-version, where kernel-version is the version of the new kernel compiled (in my case 2.6.24.3-wireless). I am not sure if it is needed this second copy. Perhaps with only one of them is sufficient.

10) Network Manager gave me some problems of strange timeouts which sometimes did not allow me to connect to wireless network, so I install wicd (http://wicd.sourceforge.net/). It is very simple to install into Ubuntu throw apt repositories.

11) Reboot the system.

All must be working fine. Temperature, dynamic frequency, suspend and hibernate work also. Some extra keys of the keyboard and perhaps another hardware have not tested: bluetooth and webcam. I'll try in future.