Debian 6.0 Squeeze on ThinkPad X60s

2011.11

Šarūnas Burdulis

Department of Mathematics
Dartmouth College

IBM/Lenovo ThinkPad X60s (model 1705-24U)

Intel Core Duo low voltage processor L2300 (1.50GHz, 2MB L2, 667MHz FSB)
1GB RAM (2 NonParity DDR2 SDRAM SoDIMM PC2-5300)
Intel Graphics Media Accelerator 950
12.1 inch XGA (1024x768) (Lenovo LTN121XJ-L07)
40GB 5400rpm Serial ATA (Toshiba MK4032GSX)
USB 2.0 CD-RW/DVD-ROM Combo Drive
Intel PRO/1000 Gigabit Ethernet
Intel PRO/Wireless 3945ABG
Firewire
SD Card Reader
56K V.92 Modem

2010.10:
Original 5400RPM disk replaced with Intel X25-E (SLC) 32GB SSD
New 4-cell 2 Ah “slim line” battery

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)

What works “out of the box”

What does not work

Not tested

Wireless

Debian installer detects Intel PRO/Wireless and could load firmware files from USB storage (required firmware file names provided as well). I used wired connection instead and enabled wireless later by adding firmware from non-free:

   # apt-get install firmware-iwlwifi wireless-tools

After this wireless module iwl3945 is loaded automatically and wireless interface wlan0 becomes available.

PowerTOP

PowerTOP output with fully charged battery and wireless on. Apparently nonsensical 173W. Battery is nearly new.

# powertop -d
PowerTOP 1.11   (C) 2007, 2008 Intel Corporation 

Collecting data for 15 seconds 

Cn	          Avg residency
C0 (cpu running)        ( 1.0%)
C0		  0.0ms ( 0.0%)
C1 halt		  0.0ms ( 0.0%)
C2		  1.5ms ( 0.4%)
C3		 13.5ms (98.6%)
P-states (frequencies)
  1500 Mhz     0.1%
  1000 Mhz    99.9%
Wakeups-from-idle per second : 75.8	interval: 15.0s
Power usage (ACPI estimate): 173.3W (0.2 hours) 
Top causes for wakeups:
  56.7% ( 51.0)        : iwl3945 
  14.4% ( 12.9)      : hrtimer_start_range_ns (tick_sched_timer) 
  11.7% ( 10.5)      avahi-daemon : hrtimer_start_range_ns (hrtimer_wakeup) 
   4.6% (  4.1)      : hrtimer_start (tick_sched_timer) 
   2.1% (  1.9)        : ahci 
   2.0% (  1.8)    gnome-terminal : hrtimer_start_range_ns (hrtimer_wakeup) 
   1.9% (  1.7)              Xorg : mod_timer (i915_hangcheck_elapsed) 
   1.7% (  1.5)              Xorg : mod_timer (intel_gpu_idle_timer) 
   1.1% (  1.0)   gvfs-afc-volume : hrtimer_start_range_ns (hrtimer_wakeup) 
   0.9% (  0.8)              Xorg : queue_delayed_work (delayed_work_timer_fn) 
   0.6% (  0.5)        : eth0 
   ... ... ...

Kernel modules

$ uname -a
Linux gimli 2.6.32-5-686 #1 SMP Mon Oct 3 04:15:24 UTC 2011 i686 GNU/Linux

Kernel modules as loaded after the default install:

$ lsmod
Module                  Size  Used by
fuse                   44268  1 
loop                    9769  0 
firewire_sbp2           9647  0 
snd_hda_codec_analog    45530  1 
snd_hda_intel          16823  0 
snd_hda_codec          46002  2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep               4054  1 snd_hda_codec
snd_pcm_oss            28671  0 
snd_mixer_oss          10461  1 snd_pcm_oss
snd_pcm                47226  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            3576  0 
arc4                     974  2 
snd_rawmidi            12513  1 snd_seq_midi
ecb                     1405  2 
pcmcia                 16194  0 
snd_seq_midi_event      3684  1 snd_seq_midi
snd_seq                35463  2 snd_seq_midi,snd_seq_midi_event
i915                  223022  2 
snd_timer              12270  2 snd_pcm,snd_seq
iwl3945                46000  0 
drm_kms_helper         18569  1 i915
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
iwlcore                67518  1 iwl3945
drm                   111992  3 i915,drm_kms_helper
yenta_socket           16403  1 
thinkpad_acpi          41975  0 
mac80211              123586  2 iwl3945,iwlcore
i2c_i801                6462  0 
rsrc_nonstatic          7057  1 yenta_socket
i2c_algo_bit            3497  1 i915
battery                 3782  0 
ac                      1640  0 
snd                    34423  11 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
nvram                   3985  1 thinkpad_acpi
psmouse                44809  0 
cfg80211               87637  3 iwl3945,iwlcore,mac80211
video                  14605  1 i915
pcmcia_core            20450  3 pcmcia,yenta_socket,rsrc_nonstatic
evdev                   5609  12 
pcspkr                  1207  0 
serio_raw               2916  0 
i2c_core               12787  5 i915,drm_kms_helper,drm,i2c_i801,i2c_algo_bit
rng_core                2178  0 
output                  1204  1 video
soundcore               3450  1 snd
rfkill                 10264  2 thinkpad_acpi,cfg80211
button                  3598  1 i915
snd_page_alloc          5045  2 snd_hda_intel,snd_pcm
processor              26327  2 
ext3                   94396  1 
jbd                    32317  1 ext3
mbcache                 3762  1 ext3
sd_mod                 26005  3 
crc_t10dif              1012  1 sd_mod
ata_generic             2247  0 
sdhci_pci               4581  0 
ahci                   27410  2 
sdhci                  12171  1 sdhci_pci
firewire_ohci          16725  0 
ata_piix               17736  0 
uhci_hcd               16057  0 
mmc_core               38685  1 sdhci
led_class               1757  4 iwl3945,iwlcore,thinkpad_acpi,sdhci
e1000e                110270  0 
firewire_core          31243  2 firewire_sbp2,firewire_ohci
crc_itu_t               1035  1 firewire_core
libata                115869  3 ata_generic,ahci,ata_piix
thermal                 9206  0 
thermal_sys             9378  3 video,processor,thermal
ehci_hcd               28693  0 
scsi_mod              104853  3 firewire_sbp2,sd_mod,libata
usbcore                98969  3 uhci_hcd,ehci_hcd
nls_base                4541  1 usbcore

/~sarunas