Home

ThinkPad R51 und Debian Etch GNU/Linux

Leider ist mein erstes Notebook gestorben. Als Ersatz habe ich mir ein IBM ThinkPad R51 gekauft, kaufentscheidend war der gute Ruf der IBM Hardware. Nun, wenn man vorher ein Gericom-Produkt sein eigen nannte, ist das neue Notebook eine Offenbarung. Die Typenbezeichnung lautet 1829-DRG.

Auf dem Rechner lief zunächst Debian Woody und Sarge, mittlerweile aber nun auf Lenny Insofern ist diese Beschreibung etwas veraltet. Dennoch: hier ein kurzer Überblick über die Installation.

Ausstattung

Tabelle mit den wichtigsten Komponenten und deren Unterstützung unter Debian Linux Etch, Kernel 2.6.18-4-686:

Prozessor:Pentium M 1500Voll unterstützt.
PCMCIA:Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)Soweit getestet keinerlei Probeme.
Sound:Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)mit dem Modul i810_audio gute Funktion.
USB:USB 2-SchnittstelleTadellose Funktion mit Modem, Festplatte, USB-Stick und externer Soundkarte.
Graphikkarte:ATI Mobility Radeon 7500 32 MBXorg mit radeon-Treiber einschließlich der Open Source 3D-Beschleunigung.
Netzwerk:Intel Corp. 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)volle Unterstützung
WLAN: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)Wird vom Kernel unterstützt.
internes Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controllernicht getestet. Möglicherweise mit dem modul sl_modem.
Infrarot-Schnittstelle Funktioniert mit meinem Mobiltelefon.

Output von "lspci":

niehaus@crystalline:~$ lspci -v
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
        Subsystem: IBM Unknown device 0529
        Flags: bus master, fast devsel, latency 0
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Capabilities: [e4] Vendor Specific Information
        Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, fast devsel, latency 96
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: c0100000-c01fffff
        Prefetchable memory behind bridge: e0000000-e7ffffff

00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
        Subsystem: IBM Thinkpad R50e model 1634
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 1800 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
        Subsystem: IBM Thinkpad R50e model 1634
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 1820 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
        Subsystem: IBM Thinkpad R50e model 1634
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 1840 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
        Subsystem: IBM Thinkpad R50e model 1634
        Flags: bus master, medium devsel, latency 0, IRQ 11
        Memory at c0000000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=08, sec-latency=64
        I/O behind bridge: 00004000-00008fff
        Memory behind bridge: c0200000-cfffffff
        Prefetchable memory behind bridge: e8000000-efffffff

00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
        Subsystem: IBM Thinkpad R50e model 1634
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at 1860 [size=16]
        Memory at 30000000 (32-bit, non-prefetchable) [size=1K]

00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
        Subsystem: IBM Thinkpad R50e model 1634
        Flags: medium devsel, IRQ 11
        I/O ports at 1880 [size=32]

00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
        Subsystem: IBM Unknown device 0554
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 1c00 [size=256]
        I/O ports at 18c0 [size=64]
        Memory at c0000c00 (32-bit, non-prefetchable) [size=512]
        Memory at c0000800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01) (prog-if 00 [Generic])
        Subsystem: IBM Thinkpad R50e model 1634
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 2400 [size=256]
        I/O ports at 2000 [size=128]
        Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] (prog-if 00 [VGA])
        Subsystem: IBM Unknown device 0530
        Flags: bus master, stepping, fast Back2Back, 66MHz, medium devsel, latency 66, IRQ 11
        Memory at e0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at 3000 [size=256]
        Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at c0120000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
        Capabilities: [50] Power Management version 2

02:00.0 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)
        Subsystem: IBM Unknown device 0552
        Flags: bus master, medium devsel, latency 168, IRQ 11
        Memory at b0000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
        Memory window 0: e8000000-e9fff000 (prefetchable)
        Memory window 1: c2000000-c3fff000
        I/O window 0: 00004000-000040ff
        I/O window 1: 00004400-000044ff
        16-bit legacy interface ports at 0001

02:00.2 FireWire (IEEE 1394): Texas Instruments Unknown device 802a (rev 01) (prog-if 10 [OHCI])
        Subsystem: IBM Unknown device 0553
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at c0215000 (32-bit, non-prefetchable) [size=2K]
        Memory at c0210000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2

02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)
        Subsystem: IBM PRO/1000 MT Mobile Connection
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
        Memory at c0220000 (32-bit, non-prefetchable) [size=128K]
        Memory at c0200000 (32-bit, non-prefetchable) [size=64K]
        I/O ports at 8000 [size=64]
        [virtual] Expansion ROM at ea000000 [disabled] [size=64K]
        Capabilities: [dc] Power Management version 2

02:02.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
        Subsystem: Intel Corporation Unknown device 2551
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at c0214000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [dc] Power Management version 2

Die Installation

xorg

Das ein Etch enthaltene Xorg bringt Unterstützung für die Karte Grafikkarte mit. Viel Zeit habe ich benötigt um herauszufinden, wie ich das Touchpad aktiviert bekomme. Hier sind die Schritte:

Der Synaptic-Treiber erzeugt in der Konfigutaion eine Art unsichtbares Scrollrad am rechten Rand des Touchpads. Einfach dort mit dem Finger hoch und hinunterstreichen.

Hier ist die Konfigurationsdatei:


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"v4l"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	"ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
	Driver		"radeon"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"Standardbildschirm"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
	Monitor		"Standardbildschirm"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection


Consolen Framebuffer

Damit die Console in höhere Auflösung arbeitet, nutze ich den Framebuffer: der Kernel wird mit einer entsprechenden Startoption aufgerufen. In der /boot/grub/menu.lst füge man folgende Zeile ein:



# kopt=root=/dev/hda2 ro vga=791 splash=silent

Netzwerk

Seit Sarge vollkommen unkomplizierte Unterstützung - unter Etc sowieso.

PCMCIA

Um die PCMCIA Orinoco Gold wireless LAN Karte nutzen zu können, mußte der Eintrag PCIC="yenta_socket" in der Datei /etc/default/pcmcia gesetzt werden. Sie sieht nun folgendermaßen aus:

niehaus@crystalline:~$ cat  /etc/default/pcmcia 
# Defaults for pcmcia (sourced by /etc/init.d/pcmcia)
PCMCIA=yes
PCIC="yenta_socket"
#PCIC=i82365
PCIC_OPTS=
CORE_OPTS=
CARDMGR_OPTS=
niehaus@crystalline:~$ 

WLAN

Der benötigte Treiber ipw2100 ist im Kernel enthalten, ich habe noch eine Anleitung zur Einrichtung eines WLAN mit WPA2 erstellt.

Infrarot-Schnittstelle (IRDA)

Über die Infrarot-Schnittstelle klappt die Kommunikation mit dem Mobiltelefon recht unproblematisch. Beteiligte Dateien: /etc/serial.conf


/dev/ttyS1 uart none

/etc/default/irda-utils/

# Set your startup settings for irattach, the IrDA-daemon, here.

# Set this to 'false' if you do not need to start irattach. Otherwise set it
# to 'true'.
ENABLE="true"

# Set discovery mode which usually is a good idea for finding other devices.
DISCOVERY="true"

# Set IRDA device to access (e.g. /dev/ttyS1 or irda0).
# In case of irda0, the proper module for FIR-mode has to be set in
# /etc/modutils/irda-utils (2.4) or /etc/modprobe.d/irda-utils (2.6)
#DEVICE="/dev/ttyS0"
DEVICE="irda0"


# Set dongle type, e.g. none, tekram, esi, actisys, actisys+, ep7211, girbil,
# litelink, airport, old_belkin, mcp2120, act200l, ma600). You do not need
# a dongle for FIR mode.
DONGLE="none"

# Set the serial device to quiet with setserial. This is only useful on some
# machines in FIR-mode, so most people should leave it blank. See
# README.Debian for more information.
SETSERIAL=""

In der Datei /etc/modules existieren folgende Einträge:

## IRDA modules
nsc-ircc
ircomm-tty


### disk 
ide-cd
ide-detect
ide-disk


psmouse
ibm_acpi

Ungetestet

Ein paar Dinge sind nicht getestet, da ich sie nicht benötige:

Links


Home
Sebastian Niehaus

Sebastian Niehaus

Last modified: Thu Apr 3 20:21:31 CEST 2014
$Id: Debian-Etch-Linux-auf-dem-ThinkPad-R51.html,v 1.7 2014/04/03 18:21:41 niehaus Exp $