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

From ThinkWiki
Jump to: navigation, search
(Ubuntu 8.04 (Hardy Heron))
Line 7: Line 7:
 
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 Ling 5100) and video card (X4500 MHD).
  
The ethernet card works perfectly and, althoung 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 a video.
  
* Arranging the video card: *
+
== Arranging the video card: ==
  
 
2) Remove the package {{path|xserver-xorg-video-i810}} from the system.
 
2) Remove the package {{path|xserver-xorg-video-i810}} from the system.
  
3) 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-2\40-deb-package/
+
3) 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 hangs up any more when playing videos.
+
With this package the video card does not hang up any more when playing videos.
  
* Arranging the wireless card: *
+
== Arranging the wireless card: ==
  
 
4) Download the Ubuntu kernel source:
 
4) Download the Ubuntu kernel source:
Line 23: Line 23:
 
{{cmdroot|apt-get install linux-source}}
 
{{cmdroot|apt-get install linux-source}}
  
5) Decompres the .tar.bz2 file downloaded by the package located at {{path|/usr/src}}:
+
5) 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.24.tar.bz2}}
Line 31: Line 31:
 
6) Copy the configuration file from {{path|/boot}} to {{path|/usr/src/linux-source-2.6.24}}, renaming it:
 
6) Copy the configuration file from {{path|/boot}} to {{path|/usr/src/linux-source-2.6.24}}, 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.24/.config}}
  
7) Activate into the kernel the options:
+
7) Do {{cmdroot|make menuconfig}} inside {{path|/usr/src/linux-source-2.6.24}}
 +
 
 +
8) Activate the kernel options (make menuconfig):
 +
 
 +
- For code optimization:
  
For code optimization:
 
 
{{kernelconf||[*]|Processor type and features|Processor family|Core 2/newer Xeon||}}
 
{{kernelconf||[*]|Processor type and features|Processor family|Core 2/newer Xeon||}}
  
For Sound card:
+
- For Sound card:
  
 
{{kernelconf||[M]|Device Drivers|Sound card support||||}}
 
{{kernelconf||[M]|Device Drivers|Sound card support||||}}
Line 48: Line 51:
 
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build Realtek HD-audio codec support}}
 
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build Realtek HD-audio codec support}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build Analog Device HD-audio codec support}\}
+
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build Analog Device HD-audio codec support}}
  
 
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build IDT/Sigmatel HD-audio codec support}}
 
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build IDT/Sigmatel HD-audio codec support}}
Line 60: Line 63:
 
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build C-Media HD-audio codec support}}
 
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build C-Media HD-audio codec support}}
  
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build Silicon Labs 3054 HD-modem codec supp\ort}}
+
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Build Silicon Labs 3054 HD-modem codec support}}
  
 
{{kernelconf||[*]|Device Drivers|Sound card support|Advanced Linux Sound Architecture|PCI devices|Intel HD Audio|Enable generic HD-audio codec parser}}
 
{{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||[*]|Device Drivers|Network device support|Netdevice multiple hardware queue support||}}
  
8) Compile and install the kenerl the "Debian way" (http://www.debian.org/releases/stable/i386/ch08s06.html.en)
+
8) Compile and install the kernel the "Debian way" (http://www.debian.org/releases/stable/i386/ch08s06.html.en)
  
 
9) Restart the computer choosing this new kernel at boot.
 
9) Restart the computer choosing this new kernel at boot.
Line 74: Line 77:
 
10) Download wireless microcode from http://intellinuxgraphics.org?n=downloads
 
10) 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 510\0, 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.
  
11) 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 kenerl-version is t\he 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 suffi\cient.
+
11) 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.
  
 
12) Download wireless driver from http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-old.tar.bz2
 
12) Download wireless driver from http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-old.tar.bz2
 
(there is a link from http://intellinuxwireless.org/?n=downloads called compat-wireless project).
 
(there is a link from http://intellinuxwireless.org/?n=downloads called compat-wireless project).
  
13) Decompress the file, uncoment CONFIG_IWL5000=y from config.mk file and compile and install it (make and make install).
+
13) Decompress the file, uncoment CONFIG_IWL5000=y from {{path||config.mk}} file and compile and install it (make and make install).
  
 
14) Reboot the system.
 
14) Reboot the system.
  
 
All must be working fine except suspend and hibernate. Some extra keys of keyboard does not work also. I'll try in future.
 
All must be working fine except suspend and hibernate. Some extra keys of keyboard does not work also. I'll try in future.

Revision as of 18:50, 29 September 2008

Ubuntu 8.04 (Hardy Heron)

I have followed the following steps to do the installation:

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:

2) Remove the package xserver-xorg-video-i810 from the system.

3) 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:

4) Download the Ubuntu kernel source:

# apt-get install linux-source

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

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

# tar xvf linux-source-2.6.24.tar

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

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

7) Do # make menuconfig inside /usr/src/linux-source-2.6.24

8) 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

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

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

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

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

11) Decompress and copy to and , 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.

12) Download wireless driver from http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-old.tar.bz2 (there is a link from http://intellinuxwireless.org/?n=downloads called compat-wireless project).

13) Decompress the file, uncoment CONFIG_IWL5000=y from file and compile and install it (make and make install).

14) Reboot the system.

All must be working fine except suspend and hibernate. Some extra keys of keyboard does not work also. I'll try in future.