Difference between revisions of "Installation instructions for the ThinkPad SL400"

From ThinkWiki
Jump to: navigation, search
m (Arranging the wireless card:)
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
1) Install Hardy Heron in its normal way.
 
1) Install Hardy Heron in its normal way.
  
Several things did not work: acpi, wireless (Intel Wifi Ling 5100) and video card (X4500 MHD).
+
Several things did not work: acpi, wireless (Intel Wifi Link 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.
+
The ethernet card works and, although the video card seems to work, it hangs up when playing videos.
  
 
== Arranging the video card: ==
 
== Arranging the video card: ==
Line 15: Line 15:
 
2) Install de package {{path|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/
 
2) Install de package {{path|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.
+
With this package the video card does not hang up any more when playing videos, but It seems like videos cannot be maximized on the screen.
  
== <s>Arranging the wireless card:</s> ==
+
== Arranging the wireless card: ==
  
Finally the wireless card does not work yet. The driver is buggy. I have proved the method described below but the driver is buggy and sometimes worked other not. Therefore I have compiled 2.6.27.1 kernel, which includes the driver, but it is buggy also. I think we have to wait some time until 2.6.27.9 (approximately). Kernel changelog points that devolopers are working on making the driver more stable. I'll try later.
+
Apparently it works in 2.6.28 kernel, which includes the driver, but sometimes I get authentication timed out messages which does not allow me to connect to my home wireless connection. I have made the following:
  
 
1) Download the Ubuntu kernel source:
 
1) Download the Ubuntu kernel source:
Line 27: Line 27:
 
2) Decompress the .tar.bz2 file downloaded by the package located at {{path|/usr/src}}:
 
2) Decompress the .tar.bz2 file downloaded by the package located at {{path|/usr/src}}:
  
{{cmdroot|bzip2 -d linux-source-2.6.24.tar.bz2}}
+
{{cmdroot|bzip2 -d linux-source-2.6.27.8.tar.bz2}}
  
{{cmdroot|tar xvf linux-source-2.6.24.tar}}
+
{{cmdroot|tar xvf linux-source-2.6.27.8.tar}}
  
3) Copy the configuration file from {{path|/boot}} to {{path|/usr/src/linux-source-2.6.24}}, renaming it:
+
3) Copy the configuration file from {{path|/boot}} to {{path|/usr/src/linux-source-2.6.27.8}}, renaming it:
  
{{cmdroot|cp /boot/config-2.6.24-19-generic /usr/src/linux-source-2.6.24/.config}}
+
{{cmdroot|cp /boot/config-2.6.24-19-generic /usr/src/linux-source-2.6.27.8/.config}}
  
4) Do {{cmdroot|make menuconfig}} inside {{path|/usr/src/linux-source-2.6.24}}
+
4) Do {{cmdroot|make menuconfig}} inside {{path|/usr/src/linux-source-2.6.27.8}}
  
 
5) Activate the kernel options (make menuconfig):
 
5) Activate the kernel options (make menuconfig):
Line 41: Line 41:
 
- For code optimization:
 
- For code optimization:
  
{{kernelconf||[*]|Processor type and features|Processor family|Core 2/newer Xeon||}}
+
{{kernelconf||[*]|Core 2/newer Xeon|Processor family|Processor type and features||}}
  
 
- For Sound card:
 
- For Sound card:
  
{{kernelconf||[M]|Device Drivers|Sound card support||||}}
+
{{kernelconf||[M]|Sound card support|Device Drivers|||}}
  
{{kernelconf||[M]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|||}}
+
{{kernelconf||[M]|Advanced Linux Sound Architecture|Sound card support|Device Drivers|||}}
  
{{kernelconf||[M]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|}}
+
{{kernelconf||[M]|Intel HD Audio|PCI devices|Advanced Linux Sound Architecture|Sound card support|Device Drivers|}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build Realtek HD-audio codec support}}
+
{{kernelconf||[*]|Build Realtek HD-audio codec support|Intel HD Audio|PCI devices|Advanced Linux Sound Architecture|Sound card support|Device Drivers}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build Analog Device HD-audio codec support}}
+
{{kernelconf||[*]|Build Analog Device HD-audio codec support|Intel HD Audio|PCI devices|Advanced Linux Sound Architecture|Sound card support|Device Drivers}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build IDT/Sigmatel HD-audio codec support}}
+
{{kernelconf||[*]|Build IDT/Sigmatel HD-audio codec support|Intel HD Audio|PCI devices|Advanced Linux Sound Architecture|Sound card support|Device Drivers}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build VIA HD-audio codec support}}
+
{{kernelconf||[*]|Build VIA HD-audio codec support|Intel HD Audio|PCI devices|Advanced Linux Sound Architecture|Sound card support|Device Drivers}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build ATI HDMI HD-audio codec support}}
+
{{kernelconf||[*]|Build ATI HDMI HD-audio codec support|Intel HD Audio|PCI devices|Advanced Linux Sound Architecture|Sound card support|Device Drivers}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build Conexant HD-audio codec support}}
+
{{kernelconf||[*]|Build Conexant HD-audio codec support|Intel HD Audio|PCI devices|Advanced Linux Sound Architecture|Sound card support|Device Drivers}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build C-Media HD-audio codec support}}
+
{{kernelconf||[*]|Build C-Media HD-audio codec support|Intel HD Audio|PCI devices|Advanced Linux Sound Architecture|Sound card support|Device Drivers}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build Silicon Labs 3054 HD-modem codec support}}
+
{{kernelconf||[*]|Build Silicon Labs 3054 HD-modem codec support|Intel HD Audio|PCI devices|Advanced Linux Sound Architecture|Sound card support|Device Drivers}}
 +
 
 +
{{kernelconf||[*]|Enable generic HD-audio codec parser|Intel HD Audio|PCI devices|Advanced Linux Sound Architecture|Sound card support|Device Drivers}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Enable generic HD-audio codec parser}}
 
  
 
- Necessary for wireless driver:
 
- Necessary for wireless driver:
  
{{kernelconf||[*]|Device Drivers|Network device support|Netdevice multiple hardware queue support||}}
+
{{kernelconf||[*]|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)
 
6) Compile and install the kernel the "Debian way" (http://www.debian.org/releases/stable/i386/ch08s06.html.en)
Line 77: Line 80:
 
7) Restart the computer choosing this new kernel at boot.
 
7) Restart the computer choosing this new kernel at boot.
  
8) Download wireless microcode from http://intellinuxgraphics.org?n=downloads
+
8) Download wireless microcode from http://www.intellinuxwireless.org/?n=downloads
  
 
I downloaded {{path|iwlwifi-5000-ucode-5.4.A.11.tar.gz}} from "show older releases". I suspect that {{path|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.
 
I downloaded {{path|iwlwifi-5000-ucode-5.4.A.11.tar.gz}} from "show older releases". I suspect that {{path|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.
Line 83: Line 86:
 
9) Decompress {{path|iwlwifi-5000-ucode-5.4.A.11.tar.gz}} and copy {{path|iwlwifi-5000-1.ucode}} to {{path|/lib/firmware}} and {{path|/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.
 
9) Decompress {{path|iwlwifi-5000-ucode-5.4.A.11.tar.gz}} and copy {{path|iwlwifi-5000-1.ucode}} to {{path|/lib/firmware}} and {{path|/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) Download wireless driver from http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-old.tar.bz2
+
10) I have installes wicd (http://wicd.sourceforge.net/) for trying to solve authentication timed out problem, but it persists randomly.
(there is a link from http://intellinuxwireless.org/?n=downloads called compat-wireless project).
 
 
 
11) Decompress the file, uncoment CONFIG_IWL5000=y from config.mk file and compile and install it (make and make install).
 
  
12) Reboot the system.
+
11) Reboot the system.
  
All must be working fine except suspend, hibernate (only few element of ACPI works: temperature and ondemand dynamic frequency), some extra keys of the keyboard and perhaps another hardware not tested: bluetooth and webcam. I'll try in future.
+
Wired card, temperature, dynamic frequency, suspend and hibernate seems to work ad wireless card works sometimes. 
 +
Brightness keys works reversed and some extra keys of the keyboard and perhaps another hardware have not tested: bluetooth, webcam etc. I'll try in future.

Latest revision as of 18:05, 19 February 2009

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 Link 5100) and video card (X4500 MHD).

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

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, but It seems like videos cannot be maximized on the screen.

Arranging the wireless card:

Apparently it works in 2.6.28 kernel, which includes the driver, but sometimes I get authentication timed out messages which does not allow me to connect to my home wireless connection. 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:

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

- For Sound card:

Device Drivers → [M]Sound card support

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

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

Sound card support → Advanced Linux Sound Architecture → PCI devices → Intel HD Audio → [*]Build Realtek HD-audio codec support

Sound card support → Advanced Linux Sound Architecture → PCI devices → Intel HD Audio → [*]Build Analog Device HD-audio codec support

Sound card support → Advanced Linux Sound Architecture → PCI devices → Intel HD Audio → [*]Build IDT/Sigmatel HD-audio codec support

Sound card support → Advanced Linux Sound Architecture → PCI devices → Intel HD Audio → [*]Build VIA HD-audio codec support

Sound card support → Advanced Linux Sound Architecture → PCI devices → Intel HD Audio → [*]Build ATI HDMI HD-audio codec support

Sound card support → Advanced Linux Sound Architecture → PCI devices → Intel HD Audio → [*]Build Conexant HD-audio codec support

Sound card support → Advanced Linux Sound Architecture → PCI devices → Intel HD Audio → [*]Build C-Media HD-audio codec support

Sound card support → Advanced Linux Sound Architecture → PCI devices → Intel HD Audio → [*]Build Silicon Labs 3054 HD-modem codec support

Sound card support → Advanced Linux Sound Architecture → PCI devices → Intel HD Audio → [*]Enable generic HD-audio codec parser


- Necessary for wireless driver:

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

- 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://www.intellinuxwireless.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) I have installes wicd (http://wicd.sourceforge.net/) for trying to solve authentication timed out problem, but it persists randomly.

11) Reboot the system.

Wired card, temperature, dynamic frequency, suspend and hibernate seems to work ad wireless card works sometimes. Brightness keys works reversed and some extra keys of the keyboard and perhaps another hardware have not tested: bluetooth, webcam etc. I'll try in future.