stopsoftwarepatents.eu petition banner

Let's Sign the petition today.

Parent

Thoses Installation notes shows howto install Debian 4.0 Etch on a Thinkpad X20 (type 2662) : What are the packages needed, Quick-configuration hints (links to specific HowTos are provided).

Overall status

CPU Frequence scalling config,ok
ACPI Power management config,ok
Power MgMt suspend ok
Power MgMt hibernation config,ok
DISPLAY console at native resolution config,ok
DISPLAY X11: i810 driver ok
DISPLAY X11-features: GL,RandR, external screenconfig,ok
Keyboard Hotkeys ok
Mouse console: (trackpoint and touchpad) ok
Mouse X11: trackpoint ok
Modem (compile with module-assistant) ??
Networking LAN: intel e100 ok

Pre-Installation Notes

Backup

As usual, you you have back'd up your data (you never know). Also make sure you have created the reinstallation CDs to restore the original Operating system (unless you have the reinstallation CD!)

Installation Notes

Boot Loader

install the boot loader on /dev/hdaN (to preserve Thinkpad features)

Post-Installation Notes

Power Management

ACPI:

ACPI is enabled by default on Etch's 2.6 kernel. You should load the kernel module ibm_acpi that enables some Thinkpad specific features (some "Fn" keys... http://ibm-acpi.sourceforge.net/) look my /proc/acpi/ibm

in /etc/modules
	#Add this line, to enable some thinkpad features
	ibm_acpi

Hibernation

package: hibernation
/etc/hibernate/common.conf 
	# enable IbmAcpi yes
	IbmAcpi yes

CPU

Processor is an : "Intel Pentium III @ 600MHz" cpuinfo ; dmi info ; cpufreq-info

Frequency scaling

package: cpufrequtils

the ondemand scheme isn't supported.

Static frequency

you have to switch manualy to performance or powserave. a userspace daemon is required (see Dynamic Frequency below).

/etc/modules
	#Add Three lines to prepare cpu scaling
	speedstep-smi
	cpufreq_stats
	cpufreq_powersave

/etc/default/cpufrequtils
	#Add this line to configure CPUs on bootup
	ENABLE="true"
	GOVERNOR="powersave"

then run:

invoke-rc.d cpufrequtils restart

Dynamic frequency

package: cpufreqd

some tweaking is possible in /etc/cpufreqd.conf (/etc/default/cpufreqd can be left untouched)

Optionaly, gnome:

Package: gnome-cpufreq-applet

CPU Frequency Scaling Applet Panel/Right click/Add to panel/CPU Frequency Scaling Monitor

Display

Device is : "ATI Technologies Inc Rage Mobility P/M AGP 2x" 1002:4C4D

xorg.conf

X-window was properly configured automaticaly (Driver:ati). You can find my xorg.conf to use external screen... Choose the DefaultServerLayout you want.

High Resolution

The video card has only 4MB RAM (!). If your monitor can display resolution higher than 1024x768, you should keep this in mind

#in /etc/X11/xorg.conf
#in Section "Screen", following modifications:

# let's use 16bpp
DefaultDepth    16

#Let's enable "1680x1050" at 16bpp
SubSection "Display"
	Depth           16
	Modes           "1680x1050" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
	Depth           24
	#on my monitor, only 1280x768 was working fine at 24bpp YMMV
	Modes           "1440x900" "1280x1024" "1280x800" "1280x768" "1024x768" "800x600" "640x480"
EndSubSection

3D / OpenGL

Installing the 3D library is fairly quick..

packages: mesa-utils xlibmesa-dri xlibmesa-gl xlibmesa-glu

Test using glxinfo or glxhead

RandR

Xwindow's "Resize and Rotate". Changing resolution works, rotation doesn't. (see gnome's Desktop Menu/Preference/Screen Resolution) Optionaly, gnome has one-click applet to R&R :

package: gnome-randr-applet | kcontrol

Sound

Device is a : "Cirrus Logic Crystal CS4281 PCI Audio" PCI 1013:6005 Which uses "Cristal 4281" module : snd_cs4281 is automatically configured

Alsa-DMix

Alsa dmix was typically required to allow sound flashplugin-nonfree v7.*. It isn"t required (for that anymore.

/etc/asound.conf
pcm.card0 {
	type hw
	card 0
}

pcm.!default {
	type plug
	slave.pcm "dmixer"
}

pcm.dmixer {
	type dmix
	ipc_key 1025
	slave {
		pcm "hw:0,0"
		period_time 0
		period_size 2048        #1024
		buffer_size 32768       #4096
		#periods 128
		rate 48000              #44100
	}
	bindings {
		0 0
		1 1
	}
}

Keyboard

device is: Ibm's hotkeys input:1014:5450

package: hotkey-setup

Some hotkeys are working.. more work required

Hotkeys
Switch off screen (Fn-F3) yes
Suspend (Fn-F4) yes
Hibernate (Fn-F12) yes
Screen-switching at console (Fn-F7) yes
Screen-switching under Xwindow (Fn-F7) yes
Screen brightness+Thinklight yes
Sound (Volume+Mute) yes

Mouse

The Thinkpad X20 has built-in mouse : "Trackpoint"

Trackpoint

Device is : TrackPoint ( dmi info ; input:00002:000a) Trackpoint's middle button doesn't scroll by default.

/etc/X11/xorg.conf
	Section "InputDevice"
		Identifier      "Configured Mouse"
		Driver          "mouse"
		Option          "CorePointer"
		Option          "Device"               "/dev/input/mice"
		Option          "Protocol"             "ImPS/2"

		#Comment this line out.
		#Option          "Emulate3Buttons"      "true"

		#add those three lines
		Option          "EmulateWheel"          "true"
		Option          "EmulateWheelTimeOut" "200"
		Option          "EmulateWheelButton"    "2"
		#For more information http://thinkwiki.org/wiki/How_to_configure_the_TrackPoint
	EndSection

GPM

The gpm package, which provices mouse support in console mode. Not Tested

Modem

Device is an "Agere Systems LT WinModem, Apollo 3 Mercury" (PCI 11c1:045c)

Not tested

I'm not sure if the driver to use is sl-modem or http:www.physcip.uni-stuttgart.de/heby/ltmodem/

PC Card

Thinkpad X20 comes with two PC Cards slots PCMCIA/CardBus (1 Type-II and 1 "Compact Flash" Type-I)

pcmcia

(pcmcia card are 16-bit kind of "pc-card"...)

Card Bus

(Cardbus are 32-bit kind of "pc-card" cardctl ; dmi; dmi.) package: pcmciautils

Hard Disk

This a EIDE (P-ATA) disk

Benchmarks

hard disk perf

hdparm -T /dev/hda
Timing cached reads:   254 MB in  2.02 seconds = 125.97 MB/sec
Timing cached reads:   254 MB in  2.01 seconds = 126.56 MB/sec
Timing cached reads:   252 MB in  2.00 seconds = 125.73 MB/sec
hdparm -t /dev/hda
Timing buffered disk reads:   50 MB in  3.02 seconds =  16.56 MB/sec
Timing buffered disk reads:   52 MB in  3.10 seconds =  16.77 MB/sec
Timing buffered disk reads:   48 MB in  3.09 seconds =  15.55 MB/sec

CPU and RAM perf

for x in 1 2 3 4 ; do time ( (dd if=/dev/mem bs=4096 count=51200 ; dd if=/dev/urandom bs=4096 count=1024 ) 2> /dev/null | gzip -1 | md5sum >/dev/null ) & done

real 2m47.516s user 0m38.818s sys 0m8.013s real 3m2.645s user 0m39.390s sys 0m8.029s real 3m5.675s user 0m38.770s sys 0m8.049s real 3m9.475s user 0m39.494s sys 0m7.984s That's : user 15.47s + sys 32.08s == 188,55s

3D rendering

glxgears -printfps
595 frames in 6.5 seconds = 90.958 FPS
560 frames in 6.6 seconds = 85.495 FPS
560 frames in 6.5 seconds = 85.543 FPS

System Summary

uname

uname -a
Linux x20 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686 GNU/Linux

lspci

lspci -v -nn
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 03)
	Flags: bus master, medium devsel, latency 64
	Memory at f8000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 03) (prog-if 00 [Normal decode])
	Flags: bus master, 66MHz, medium devsel, latency 128
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: f4100000-f5ffffff
	Prefetchable memory behind bridge: 28000000-280fffff

00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 02)
	Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 80 [Master])
	Flags: bus master, medium devsel, latency 64
	I/O ports at 1800 [size=16]

00:07.2 USB Controller [0c03]: Intel Corporation 82371AB/EB/MB PIIX4 USB [8086:7112] (rev 01) (prog-if 00 [UHCI])
	Flags: bus master, medium devsel, latency 64, IRQ 11
	I/O ports at 1820 [size=32]

00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
	Flags: medium devsel, IRQ 9

00:08.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev 80)
	Subsystem: IBM ThinkPad A/T/X Series [1014:0185]
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at 50000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
	Memory window 0: 20000000-21fff000 (prefetchable)
	Memory window 1: 22000000-23fff000
	I/O window 0: 00001400-000014ff
	I/O window 1: 00001c00-00001cff
	16-bit legacy interface ports at 0001

00:08.1 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev 80)
	Subsystem: IBM ThinkPad A/T/X Series [1014:0185]
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at 50100000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
	Memory window 0: 24000000-25fff000 (prefetchable)
	Memory window 1: 26000000-27fff000
	I/O window 0: 00003000-000030ff
	I/O window 1: 00003400-000034ff
	16-bit legacy interface ports at 0001

00:0a.0 Ethernet controller [0200]: Intel Corporation 82557/8/9 [Ethernet Pro 100] [8086:1229] (rev 0c)
	Subsystem: Intel Corporation EtherExpress PRO/100 SP Mobile Combo Adapter [8086:2205]
	Flags: bus master, medium devsel, latency 66, IRQ 11
	Memory at f4010000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at 1840 [size=64]
	Memory at f4020000 (32-bit, non-prefetchable) [size=128K]
	[virtual] Expansion ROM at 28100000 [disabled] [size=64K]
	Capabilities: [dc] Power Management version 2

00:0a.1 Serial controller [0700]: Agere Systems LT WinModem [11c1:045c] (rev 01) (prog-if 00 [8250])
	Subsystem: Intel Corporation Unknown device [8086:2205]
	Flags: medium devsel, IRQ 11
	I/O ports at 1810 [size=8]
	Memory at f4011000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [dc] Power Management version 2

00:0b.0 Multimedia audio controller [0401]: Cirrus Logic Crystal CS4281 PCI Audio [1013:6005] (rev 01)
	Subsystem: IBM Unknown device [1014:0183]
	Flags: bus master, medium devsel, latency 64, IRQ 11
	Memory at f4012000 (32-bit, non-prefetchable) [size=4K]
	Memory at f4000000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Rage Mobility P/M AGP 2x [1002:4c4d] (rev 64) (prog-if 00 [VGA])
	Subsystem: IBM Unknown device [1014:0182]
	Flags: bus master, stepping, medium devsel, latency 66, IRQ 11
	Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
	I/O ports at 2000 [size=256]
	Memory at f4100000 (32-bit, non-prefetchable) [size=4K]
	[virtual] Expansion ROM at 28000000 [disabled] [size=128K]
	Capabilities: [50] AGP version 1.0
	Capabilities: [5c] Power Management version 2

lsmod

lsmod
Module                  Size  Used by
act200l_sir             3616  0 
sir_dev                15492  1 act200l_sir
irda                  162588  2 act200l_sir,sir_dev
crc_ccitt               2240  1 irda
ungrab_winmodem         2464  0 
snd_atiixp_modem       14856  0 
snd_via82xx_modem      14088  0 
snd_intel8x0m          15980  0 
ibm_acpi               24480  0 
nls_utf8                2208  0 
nls_cp437               5920  0 
vfat                   11872  0 
fat                    46684  1 vfat
rfcomm                 34616  0 
l2cap                  21696  5 rfcomm
bluetooth              45732  4 rfcomm,l2cap
nvram                   8328  1 
uinput                  8288  1 
ppdev                   8676  0 
lp                     11012  0 
cpufreq_powersave       1920  0 
button                  6672  0 
ac                      5188  0 
battery                 9636  0 
ipv6                  226016  8 
cpufreq_ondemand        6636  0 
cpufreq_stats           5408  0 
speedstep_smi           5712  0 
speedstep_lib           4580  1 speedstep_smi
freq_table              4576  2 cpufreq_stats,speedstep_smi
loop                   15048  0 
pcmcia                 34108  0 
firmware_class          9600  1 pcmcia
snd_cs4281             20000  1 
gameport               14632  2 snd_cs4281
snd_rawmidi            22560  1 snd_cs4281
snd_ac97_codec         83104  4 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_cs4281
snd_ac97_bus            2400  1 snd_ac97_codec
snd_pcm_oss            38368  0 
snd_mixer_oss          15200  1 snd_pcm_oss
parport_pc             32164  1 
parport                33256  3 ppdev,lp,parport_pc
snd_pcm                68644  6 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_cs4281,snd_ac97_codec,snd_pcm_oss
rtc                    12372  0 
snd_page_alloc          9640  4 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_pcm
snd_opl3_lib            9920  1 snd_cs4281
snd_seq_device          7820  2 snd_rawmidi,snd_opl3_lib
snd_timer              20996  2 snd_pcm,snd_opl3_lib
snd_hwdep               8836  1 snd_opl3_lib
psmouse                35016  0 
snd                    47012  15 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_cs4281,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_seq_device,snd_timer,snd_hwdep
i2c_piix4               8140  0 
pcspkr                  3072  0 
soundcore               9248  1 snd
i2c_core               19680  1 i2c_piix4
intel_agp              21148  1 
agpgart                29896  1 intel_agp
yenta_socket           24460  2 
rsrc_nonstatic         11840  1 yenta_socket
pcmcia_core            36852  3 pcmcia,yenta_socket,rsrc_nonstatic
shpchp                 33024  0 
pci_hotplug            28704  1 shpchp
tsdev                   7520  0 
evdev                   9088  4 
sd_mod                 19040  0 
ext3                  119208  3 
jbd                    52456  1 ext3
mbcache                 8356  1 ext3
usbhid                 37248  0 
usb_storage            71840  0 
scsi_mod              124168  2 sd_mod,usb_storage
dm_mirror              19152  0 
dm_snapshot            15520  0 
dm_mod                 50232  9 dm_mirror,dm_snapshot
ide_generic             1408  0 [permanent]
ide_disk               14848  3 
uhci_hcd               21032  0 
e100                   32232  0 
mii                     5344  1 e100
usbcore               112676  4 usbhid,usb_storage,uhci_hcd
piix                    9444  0 [permanent]
generic                 5028  0 [permanent]
ide_core              110504  5 usb_storage,ide_generic,ide_disk,piix,generic
thermal                13608  0 
processor              28840  1 thermal
fan                     4804  0 

cardctl

cardsctl status
Socket 0:
  no card
Socket 1:
  no card

cpuinfo

cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 8
model name	: Pentium III (Coppermine)
stepping	: 3
cpu MHz		: 600.000
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse up
bogomips	: 1435.02

cpufreq-info

cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Veuillez rapportez les erreurs et les bogues à linux@brodo.de, s'il vous plait.
analyse du CPU 0 :
  pilote : speedstep-smi
  CPUs qui doivent changer de fréquences en même temps : 0
  limitation matérielle : 500 MHz - 600 MHz
  plage de fréquence : 600 MHz, 500 MHz
  régulateurs disponibles : powersave, ondemand, performance
  tactique actuelle : la fréquence doit être comprise entre 600 MHz et 600 MHz.
                  Le régulateur "performance" est libre de choisir la vitesse
                  dans cette plage de fréquences.
  la fréquence actuelle de ce CPU est 600 MHz (vérifié par un appel direct du matériel).

proc ioports

cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0022-0022 : ACPI PM2_CNT_BLK
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
03bc-03be : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0cf8-0cff : PCI conf1
1000-103f : 0000:00:07.3
  1000-103f : motherboard
    1000-1003 : ACPI PM1a_EVT_BLK
    1004-1005 : ACPI PM1a_CNT_BLK
    1008-100b : ACPI PM_TMR
    100c-100f : ACPI GPE0_BLK
    1010-1015 : ACPI CPU throttle
1040-104f : 0000:00:07.3
  1040-104f : motherboard
    1040-104f : pnp 00:02
1400-14ff : PCI CardBus #02
1800-180f : 0000:00:07.1
  1800-1807 : ide0
  1808-180f : ide1
1810-1817 : 0000:00:0a.1
1820-183f : 0000:00:07.2
  1820-183f : uhci_hcd
1840-187f : 0000:00:0a.0
  1840-187f : e100
1c00-1cff : PCI CardBus #02
2000-2fff : PCI Bus #01
  2000-20ff : 0000:01:00.0
3000-30ff : PCI CardBus #06
3400-34ff : PCI CardBus #06
fe00-fe0f : motherboard
  fe00-fe0f : pnp 00:02

proc interrupts

cat /proc/interrupts
           CPU0       
  0:    4433993          XT-PIC  timer
  1:         86          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  7:          2          XT-PIC  parport0
  8:          1          XT-PIC  rtc
  9:     159254          XT-PIC  acpi
 11:     800552          XT-PIC  uhci_hcd:usb1, yenta, yenta, CS4281, eth0
 12:       2189          XT-PIC  i8042
 14:      55613          XT-PIC  ide0
NMI:          0 
LOC:          0 
ERR:          0
MIS:          0

proc bus usb

cat /proc/bus/usb/devices
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=337/900 us (37%), #Int=  6, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-3-686 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  8 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0451 ProdID=2036 Rev= 1.01
S:  Product=General Purpose USB Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms

T:  Bus=01 Lev=02 Prnt=08 Port=01 Cnt=01 Dev#=  9 Spd=12  MxCh= 2
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=2502 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms

T:  Bus=01 Lev=03 Prnt=09 Port=00 Cnt=01 Dev#= 10 Spd=12  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=2504 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms

T:  Bus=01 Lev=04 Prnt=10 Port=00 Cnt=01 Dev#= 12 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0566 ProdID=3002 Rev= 1.00
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=   4 Ivl=10ms

T:  Bus=01 Lev=04 Prnt=10 Port=01 Cnt=02 Dev#= 13 Spd=1.5 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c03e Rev=20.00
S:  Manufacturer=Logitech
S:  Product=USB-PS/2 Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms

T:  Bus=01 Lev=03 Prnt=09 Port=01 Cnt=02 Dev#= 11 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=223a Rev= 3.60
S:  Manufacturer=SMSC
S:  Product=USB2223
S:  SerialNumber=000223223223
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

proc bus input

cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab54
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0 
B: EV=120013
B: KEY=4 2000000 3802078 fb40f001 7effffdf ffefffff ffffffff ffffffff
B: MSC=10
B: LED=7

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input4
H: Handlers=kbd event4 
B: EV=40001
B: SND=6

I: Bus=0011 Vendor=0002 Product=000a Version=0000
N: Name="TPPS/2 IBM TrackPoint"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input5
H: Handlers=mouse1 event5 ts1 
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=1014 Product=5450 Version=0001
N: Name="/usr/sbin/thinkpad-keys"
P: Phys=
S: Sysfs=/class/input/input6
H: Handlers=kbd event6 
B: EV=3
B: KEY=3 1 20000000 100000 e0000 0 0 0

I: Bus=0003 Vendor=0566 Product=3002 Version=0100
N: Name="HID 0566:3002"
P: Phys=usb-0000:00:07.2-1.2.1.1/input0
S: Sysfs=/class/input/input7
H: Handlers=kbd event1 
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: LED=7

I: Bus=0003 Vendor=0566 Product=3002 Version=0100
N: Name="HID 0566:3002"
P: Phys=usb-0000:00:07.2-1.2.1.1/input1
S: Sysfs=/class/input/input8
H: Handlers=kbd event2 
B: EV=3
B: KEY=3fffffff 0 0 0 c000 100000 0 0 0

I: Bus=0003 Vendor=046d Product=c03e Version=2000
N: Name="Logitech USB-PS/2 Optical Mouse"
P: Phys=usb-0000:00:07.2-1.2.1.2/input0
S: Sysfs=/class/input/input9
H: Handlers=mouse0 event3 ts0 
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

hdparm

hdparm -I /dev/sda
Error 404: Can't include file [File not fount]

dmidecode

dmidecode
# dmidecode 2.8
SMBIOS 2.3 present.
47 structures occupying 1685 bytes.
Table at 0x000DC010.

Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
	Vendor: IBM
	Version: IZET9DWW (2.25 )
	Release Date: 04/17/2003
	Address: 0xDD040
	Runtime Size: 143296 bytes
	ROM Size: 512 kB
	Characteristics:
		ISA is supported
		PCI is supported
		PC Card (PCMCIA) is supported
		PNP is supported
		APM is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		ESCD support is available
		Boot from CD is supported
		Selectable boot is supported
		EDD is supported
		3.5"/720 KB floppy services are supported (int 13h)
		3.5"/2.88 MB floppy services are supported (int 13h)
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		CGA/mono video services are supported (int 10h)
		ACPI is supported
		USB legacy is supported
		AGP is supported
		LS-120 boot is supported
		ATAPI Zip drive boot is supported
		BIOS boot specification is supported

Handle 0x0001, DMI type 1, 25 bytes
System Information
	Manufacturer: IBM
	Product Name: 266236G
	Version: Not Available
	Serial Number: 554088X
	UUID: 5EA81481-43E0-11CB-AB3E-B3BF42D72FC0
	Wake-up Type: Power Switch

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
	Manufacturer: IBM
	Product Name: 266236G
	Version: Not Available
	Serial Number: FXC020AE0WH

Handle 0x0003, DMI type 3, 17 bytes
Chassis Information
	Manufacturer: IBM
	Type: Notebook
	Lock: Not Present
	Version: Not Available
	Serial Number: Not Available
	Asset Tag: No Asset Information
	Boot-up State: Unknown
	Power Supply State: Unknown
	Thermal State: Unknown
	Security Status: Unknown
	OEM Information: 0x00000000

Handle 0x0004, DMI type 126, 17 bytes
Inactive

Handle 0x0005, DMI type 126, 17 bytes
Inactive

Handle 0x0006, DMI type 126, 17 bytes
Inactive

Handle 0x0007, DMI type 4, 32 bytes
Processor Information
	Socket Designation: None
	Type: Central Processor
	Family: Pentium III
	Manufacturer: GenuineIntel
	ID: 83 06 00 00 FF F9 83 03
	Signature: Type 0, Family 6, Model 8, Stepping 3
	Flags:
		FPU (Floating-point unit on-chip)
		VME (Virtual mode extension)
		DE (Debugging extension)
		PSE (Page size extension)
		TSC (Time stamp counter)
		MSR (Model specific registers)
		PAE (Physical address extension)
		MCE (Machine check exception)
		CX8 (CMPXCHG8 instruction supported)
		SEP (Fast system call)
		MTRR (Memory type range registers)
		PGE (Page global enable)
		MCA (Machine check architecture)
		CMOV (Conditional move instruction supported)
		PAT (Page attribute table)
		PSE-36 (36-bit page size extension)
		MMX (MMX technology supported)
		FXSR (Fast floating-point save and restore)
		SSE (Streaming SIMD extensions)
	Version: Pentium(R) III
	Voltage: 1.6 V
	External Clock: 100 MHz
	Max Speed: 600 MHz
	Current Speed: Unknown
	Status: Populated, Enabled
	Upgrade: None
	L1 Cache Handle: 0x000B
	L2 Cache Handle: 0x000C
	L3 Cache Handle: Not Provided

Handle 0x0008, DMI type 5, 20 bytes
Memory Controller Information
	Error Detecting Method: None
	Error Correcting Capabilities:
		None
	Supported Interleave: One-way Interleave
	Current Interleave: One-way Interleave
	Maximum Memory Module Size: 512 MB
	Maximum Total Memory Size: 1024 MB
	Supported Speeds:
		Other
	Supported Memory Types:
		DIMM
		SDRAM
	Memory Module Voltage: 3.3 V
	Associated Memory Slots: 2
		0x0008
		0x0009
	Enabled Error Correcting Capabilities:
		None

Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
	Socket Designation: DIMM Slot 1
	Bank Connections: 0 1
	Current Speed: 60 ns
	Type: DIMM SDRAM
	Installed Size: 64 MB (Single-bank Connection)
	Enabled Size: 64 MB (Single-bank Connection)
	Error Status: OK

Handle 0x000A, DMI type 6, 12 bytes
Memory Module Information
	Socket Designation: DIMM Slot 2
	Bank Connections: 2 3
	Current Speed: Unknown
	Type: DIMM SDRAM
	Installed Size: 256 MB (Double-bank Connection)
	Enabled Size: 256 MB (Double-bank Connection)
	Error Status: OK

Handle 0x000B, DMI type 7, 19 bytes
Cache Information
	Socket Designation: Internal L1 Cache
	Configuration: Enabled, Socketed, Level 1
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 32 KB
	Maximum Size: 32 KB
	Supported SRAM Types:
		Synchronous
	Installed SRAM Type: Synchronous
	Speed: Unknown
	Error Correction Type: Unknown
	System Type: Other
	Associativity: 4-way Set-associative

Handle 0x000C, DMI type 7, 19 bytes
Cache Information
	Socket Designation: Internal L2 Cache
	Configuration: Enabled, Socketed, Level 2
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 256 KB
	Maximum Size: 256 KB
	Supported SRAM Types:
		Synchronous
	Installed SRAM Type: Unknown
	Speed: Unknown
	Error Correction Type: Multi-bit ECC
	System Type: Unified
	Associativity: Other

Handle 0x000D, DMI type 126, 9 bytes
Inactive

Handle 0x000E, DMI type 126, 9 bytes
Inactive

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: Not Available
	Internal Connector Type: None
	External Reference Designator: External Monitor
	External Connector Type: DB-15 female
	Port Type: Video Port

Handle 0x0010, DMI type 126, 9 bytes
Inactive

Handle 0x0011, DMI type 126, 9 bytes
Inactive

Handle 0x0012, DMI type 126, 9 bytes
Inactive

Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: Not Available
	Internal Connector Type: None
	External Reference Designator: Line-In Jack
	External Connector Type: Mini Jack (headphones)
	Port Type: Audio Port

Handle 0x0014, DMI type 126, 9 bytes
Inactive

Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: Not Available
	Internal Connector Type: None
	External Reference Designator: Microphone Jack
	External Connector Type: Mini Jack (headphones)
	Port Type: Audio Port

Handle 0x0016, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: Not Available
	Internal Connector Type: None
	External Reference Designator: Headphone Jack
	External Connector Type: Mini Jack (headphones)
	Port Type: Audio Port

Handle 0x0017, DMI type 126, 9 bytes
Inactive

Handle 0x0018, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: Not Available
	Internal Connector Type: None
	External Reference Designator: Modem
	External Connector Type: RJ-11
	Port Type: Modem Port

Handle 0x0019, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: Not Available
	Internal Connector Type: None
	External Reference Designator: Ethernet
	External Connector Type: RJ-45
	Port Type: Network Port

Handle 0x001A, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: Not Available
	Internal Connector Type: None
	External Reference Designator: USB 1
	External Connector Type: Access Bus (USB)
	Port Type: USB

Handle 0x001B, DMI type 126, 9 bytes
Inactive

Handle 0x001C, DMI type 126, 9 bytes
Inactive

Handle 0x001D, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: Not Available
	Internal Connector Type: None
	External Reference Designator: UltraPort(TM)
	External Connector Type: Other
	Port Type: USB

Handle 0x001E, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: Not Available
	Internal Connector Type: None
	External Reference Designator: IEEE1394
	External Connector Type: IEEE 1394
	Port Type: Firewire (IEEE P1394)

Handle 0x001F, DMI type 9, 13 bytes
System Slot Information
	Designation: CardBus Slot 1
	Type: 32-bit PC Card (PCMCIA)
	Current Usage: Available
	Length: Other
	ID: Adapter 0, Socket 0
	Characteristics:
		5.0 V is provided
		3.3 V is provided
		PC Card-16 is supported
		Cardbus is supported
		Modem ring resume is supported
		PME signal is supported
		Hot-plug devices are supported

Handle 0x0020, DMI type 9, 13 bytes
System Slot Information
	Designation: CardBus Slot 2
	Type: 32-bit PC Card (PCMCIA)
	Current Usage: Available
	Length: Other
	ID: Adapter 1, Socket 0
	Characteristics:
		5.0 V is provided
		3.3 V is provided
		PC Card-16 is supported
		Cardbus is supported
		Hot-plug devices are supported

Handle 0x0021, DMI type 126, 13 bytes
Inactive

Handle 0x0022, DMI type 126, 13 bytes
Inactive

Handle 0x0023, DMI type 9, 13 bytes
System Slot Information
	Designation: Mini-PCI Slot 1
	Type: 32-bit PCI
	Current Usage: Available
	Length: Other
	ID: 1
	Characteristics:
		5.0 V is provided
		3.3 V is provided
		PME signal is supported
		SMBus signal is supported

Handle 0x0024, DMI type 126, 13 bytes
Inactive

Handle 0x0025, DMI type 16, 15 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: None
	Maximum Capacity: 1 GB
	Error Information Handle: Not Provided
	Number Of Devices: 2

Handle 0x0026, DMI type 17, 23 bytes
Memory Device
	Array Handle: 0x0025
	Error Information Handle: No Error
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 64 MB
	Form Factor: SODIMM
	Set: None
	Locator: U346, U347, U358, U359
	Bank Locator: Soldered SDRAM
	Type: DRAM
	Type Detail: Synchronous
	Speed: Unknown

Handle 0x0027, DMI type 17, 23 bytes
Memory Device
	Array Handle: 0x0025
	Error Information Handle: No Error
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 256 MB
	Form Factor: DIMM
	Set: None
	Locator: J303
	Bank Locator: DIMM
	Type: DRAM
	Type Detail: Synchronous
	Speed: Unknown

Handle 0x0028, DMI type 19, 15 bytes
Memory Array Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x00013FFFFFF
	Range Size: 320 MB
	Physical Array Handle: 0x0025
	Partition Width: 0

Handle 0x0029, DMI type 20, 19 bytes
Memory Device Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x00003FFFFFF
	Range Size: 64 MB
	Physical Device Handle: 0x0026
	Memory Array Mapped Address Handle: 0x0028
	Partition Row Position: 1

Handle 0x002A, DMI type 20, 19 bytes
Memory Device Mapped Address
	Starting Address: 0x00004000000
	Ending Address: 0x00013FFFFFF
	Range Size: 256 MB
	Physical Device Handle: 0x0027
	Memory Array Mapped Address Handle: 0x0028
	Partition Row Position: 1

Handle 0x002B, DMI type 21, 7 bytes
Built-in Pointing Device
	Type: Track Point
	Interface: PS/2
	Buttons: 3

Handle 0x002C, DMI type 32, 11 bytes
System Boot Information
	Status: No errors detected

Handle 0x002D, DMI type 128, 12 bytes
OEM-specific Type
	Header and Data:
		80 0C 2D 00 01 01 02 00 01 00 18 01
	Strings:
		Alert on LAN
		IBM 0020

Handle 0x002E, DMI type 127, 4 bytes
End Of Table

ibm_acpi

grep '' /proc/acpi/ibm/* | grep -v '/proc/acpi/ibm/ecdump'
/proc/acpi/ibm/bay:status:		unoccupied
/proc/acpi/ibm/beep:status:		supported
/proc/acpi/ibm/beep:commands:	<cmd> (<cmd> is 0-17)
/proc/acpi/ibm/bluetooth:status:		not supported
/proc/acpi/ibm/brightness:level:		0
/proc/acpi/ibm/brightness:commands:	up, down
/proc/acpi/ibm/brightness:commands:	level <level> (<level> is 0-7)
/proc/acpi/ibm/cmos:status:		not supported
/proc/acpi/ibm/driver:driver:		IBM ThinkPad ACPI Extras
/proc/acpi/ibm/driver:version:	0.12a
/proc/acpi/ibm/fan:status:		disabled
/proc/acpi/ibm/fan:speed:		0
/proc/acpi/ibm/fan:commands:	enable, disable
/proc/acpi/ibm/hotkey:status:		enabled
/proc/acpi/ibm/hotkey:mask:		not supported
/proc/acpi/ibm/hotkey:commands:	enable, disable, reset
/proc/acpi/ibm/led:status:		supported
/proc/acpi/ibm/led:commands:	<led> on, <led> off, <led> blink (<led> is 0-7)
/proc/acpi/ibm/light:status:		unknown
/proc/acpi/ibm/light:commands:	on, off
/proc/acpi/ibm/thermal:temperatures:	48 37 0 0 0 44 0 0
/proc/acpi/ibm/video:status:		supported
/proc/acpi/ibm/video:lcd:		disabled
/proc/acpi/ibm/video:crt:		enabled
/proc/acpi/ibm/video:dvi:		disabled
/proc/acpi/ibm/video:auto:		enabled
/proc/acpi/ibm/video:commands:	lcd_enable, lcd_disable
/proc/acpi/ibm/video:commands:	crt_enable, crt_disable
/proc/acpi/ibm/video:commands:	dvi_enable, dvi_disable
/proc/acpi/ibm/video:commands:	auto_enable, auto_disable
/proc/acpi/ibm/video:commands:	video_switch, expand_toggle
/proc/acpi/ibm/volume:level:		14
/proc/acpi/ibm/volume:mute:		off
/proc/acpi/ibm/volume:commands:	up, down, mute
/proc/acpi/ibm/volume:commands:	level <level> (<level> is 0-15)
/proc/acpi/ibm/wan:status:		not supported

Links / References

Think-Wiki

Thinkwiki has very usefull information Linux on ThinkPad X20... however it's not debian specific;)