Installing Debian 4.0 (Etch) on a ThinkPad X300

From ThinkWiki
Revision as of 15:41, 23 April 2008 by Script (Talk | contribs) (thinkfinger)
Jump to: navigation, search

Installation (Network-Install)

Installing from the Debian Netinstall-CDROM worked without any problems. The SSD is recognized as an S-ATA drive using the ahci-driver. The Gigabit-Ethernet-Port works out-of-the-box.

Kernel Update

The Kernel shipped with Debian stable (2.6.18 at the time of writing this) doesn't support many of the features. I manually upgraded it to 2.6.25. The .config can be found here.

WLAN (Intel 4965AGN)

The driver for the wireless lan interface (iwl4965) is included in the Kernel sources. You only need to install the binary firmware from here: [1] (you can install it in stable without problems).

Graphics (Intel GMA965 / X3100)

For graphics you'll need the intel_agp module from a recent kernel as well as xserver-xorg-video-intel (not in stable at the time of writing, get it from testing).

Nothing special in xorg.conf:

  Section "Device"
       Identifier      "Generic Video Card"
       Driver          "intel"
  EndSection

ACPI

You'll need the thinkpad_acpi module. I had to tweak some settings to make the backlight work:

 modprobe thinkpad_acpi brightness_enable=1 brightness_mode=0

After inserting the module that way, backlight can be controlled using

 echo XX > /sys/class/backlight/thinkpad_screen/brightness 

Where XX is a number between 0 and 15.

Fingerprint Reader

A short test with [How_to_enable_the_fingerprint_reader_with_ThinkFinger thinkfinger] showed no problems.

Fan

Unfortunately the fan is spinning almost all the time, haven't found a way around this, yet.

HDAPS-Fun (Motion sensor)

The X300 has a motion sensor, but it is not yet recognized by the hdaps-module.

Bluetooth

Haven't got it working, yet.

Sound

Haven't got it working, yet.

Camera

Nothing, yet.

Fingerprint Sensor

Nothing, yet.

Some interesting facts

# lspci 
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 0c)
00:19.0 Ethernet controller: Intel Corporation Unknown device 1049 (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation Mobile IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
03:00.0 Network controller: Intel Corporation Unknown device 4230 (rev 61)
# lsusb 
Bus 007 Device 001: ID 1d6b:0001  
Bus 006 Device 001: ID 1d6b:0001  
Bus 005 Device 001: ID 1d6b:0001  
Bus 004 Device 001: ID 1d6b:0001  
Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 003 Device 001: ID 1d6b:0001  
Bus 002 Device 002: ID 17ef:4807  
Bus 002 Device 001: ID 1d6b:0002  
Bus 001 Device 001: ID 1d6b:0002 
# cat /proc/cpuinfo (at 800 Mhz)
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     L7100  @ 1.20GHz
stepping        : 11
cpu MHz         : 800.000
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs  bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm ida
bogomips        : 2421.98
clflush size    : 64
processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     L7100  @ 1.20GHz
stepping        : 11
cpu MHz         : 800.000
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm ida
bogomips        : 2394.01
clflush size    : 64
# cat /proc/scsi/scsi 
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: SAMSUNG MCCOE64G Rev: PS10
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: MATSHITA Model: DVD-RAM UJ-844   Rev: RC02
  Type:   CD-ROM                           ANSI  SCSI revision: 05
# hdparm -t /dev/sda
/dev/sda:
 Timing buffered disk reads:  270 MB in  3.01 seconds =  89.74 MB/sec