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.
Debian Woody ist nicht mehr wirklich neu. Mittlerweile nutze ich nicht mehr Woody auf dem Laptop. Eine Anleitung für Lenny auf dem TP R51 habe ich auf die Schnelle zusammengeschrieben.
Tabelle mit den wichtigsten Komponenten und deren Unterstützung unter Debian Linux (Woody):
| Prozessor: | Pentium M 1500 | Voll 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-Schnittstelle | Tadellose Funktion mit Modem und Soundkarte. Ich besitze allerdings keine USB-2-Geräte zum Test, der ehcbi-Treiber wird jedoch unter dem Kernel 2.4.26 aus "proposed updates" geladen. Mit dem Default-Kernel wird offensichtlich noch kein USB-2 unterstützt. |
| Graphikkarte: | ATI Mobility Radeon 7500 32 MB | XFree mit VESA-Treiber. Bessere Unterstützung vermutlich ab XFree 4.3.x |
| Netzwerk: | Intel Corp. 82540EP Gigabit Ethernet Controller (Mobile) (rev 03) | keine Funktion mit dem Default-Kernel von Woody. 2.4.26 aus "proposed updates" bietet gute Unterstützung. |
| WLAN: | Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04) | Keine Unterstützung in Debian Woody. Linux-Treiber sind in Entwicklung. |
| internes Modem: | Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller | nicht getestet: wird vermutlich nicht nativ unter Debian Woody unterstützt. |
| Infrarot-Schnittstelle | Mangels IRDA-fähigen Geräten nicht getestet: Treiber wird geladen, irdadump zeigt die Eigenaktivität des Rechners. |
niehaus@crystalline:~$ lspci -v
00:00.0 Host bridge: Intel Corp. 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: <available only to root>
00:01.0 PCI bridge: Intel Corp. 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 Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM: Unknown device 052d
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1800 [size=32]
00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM: Unknown device 052d
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1820 [size=32]
00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller (rev 01) (prog-if 00 [UHCI])
Subsystem: IBM: Unknown device 052d
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1840 [size=32]
00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: IBM: Unknown device 052e
Flags: bus master, medium devsel, latency 0, IRQ 11
Memory at c0000000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <available only to root>
00:1e.0 PCI bridge: Intel Corp. 82801 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 Corp. 82801DBM LPC Interface Controller (rev 01)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: IBM: Unknown device 052d
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 20000000 (32-bit, non-prefetchable) [size=1K]
00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
Subsystem: IBM: Unknown device 052d
Flags: medium devsel, IRQ 11
I/O ports at 1880 [size=32]
00:1f.5 Multimedia audio controller: Intel Corp. 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: <available only to root>
00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01) (prog-if 00 [Generic])
Subsystem: IBM: Unknown device 0559
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 2400 [size=256]
I/O ports at 2000 [size=128]
Capabilities: <available only to root>
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]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>
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=05, sec-latency=176
Memory window 0: 20400000-207ff000 (prefetchable)
Memory window 1: 20800000-20bff000
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: <available only to root>
02:01.0 Ethernet controller: Intel Corp. 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]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: <available only to root>
02:02.0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
Subsystem: Intel Corp.: Unknown device 2551
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at c0214000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>
Als Instalationsquellen nutzte ich die Debian Woody-Installations-CDs, die Installation verlief erfreulich unkompliziert.
Im beigelieferten XFree ist ein ausreichend neuer Treiber für die verbaute Radeon Mobility nicht enthalten. Deshalb nutze ich den VESA-Treiber von XFree. Der hat zwar keine 3D-Beschleunigung, aber das benötige ich auch nicht wirklich.
Hier ist die Konfigurationsdatei:
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xie"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-50
VertRefresh 43-75
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
### END DEBCONF SECTION
Damit die Console in höhere Auflösung arbeitet, nutze ich den Framebuffer: der Kernel wird mit einer entsprechenden Startoption aufgerufen. Dies geht bei LILO nicht mit einem "append"-Eintrag. Der konkrete Eintrag in der /etc/lilo.conf lautet:
image=/vmlinuz
label=Linux
initrd=/initrd.img
append="hdc=ide-scsi"
vga=792
read-only
Nicht vergessen: um die Änderungen wirksam werden zu lassen muß das Programm lilo nocheinmal aufgerufen werden.
Ich benutze kein ACPI sondern APM zum Powermanagement. Beim Zuklappen des Deckels oder beim Drücken von Fn-F4 geht der Rechner in den Suspend-Modus. Meist wacht er auch wiederkorrekt auf, leider manchmal eben nicht. Mir ist nicht gelungen, das zuverlässig zu reproduzieren geschweige denn einzugrenzen. Die Regelung der Taktefrequenz des Centrino-Prozessors scheint mit APM leider nicht möglich zu sein.
Leider benötigt die eingebaute Gigabit-Netzwerkkarte den Linux-Treiber e1000 und der ist bei dem Woody-Kernel nicht enthalten. Unter debian-proposed-updates bekommt man einen neueren Kernel, der alles benötigte mitbringt. Ich habe den Rechner mit Knoppix gestartet, bin per chroot in das Woody-System gewechselt und habe die /etc/apt/sources.list um eine Zeile erweitert.
http://ftp.us.debian.org/debian proposed-updates main contrib non-free
Nach einem apt-get update ließ sich der Kernel mitsamt benötigten Abhängigkeiten herunterladen ...
crystalline:/home/niehaus# apt-get update crystalline:/home/niehaus# apt-get install kernel-image-2.4.26-2-686
... und (Neustart) unter Woody installieren. Nun klappt es auch mit dem Netzwerk. Und USB ist Dank USB2 auch fixer.
Alternativ kann man auch den Kernel und die benötigten Utilities auf CD-Brennen und aus dem laufenden System (ohne Knoppix und chroot) installieren.
Dazu müssen folgende zu aktualisierende Pakete heruntergeladen werden:
Die Installation läuft dann mit
crystalline:/cdrom# dpkg -i kernel-image-2.4.26-2-686.deb initrd-tools.deb modutils.deb
ab (wobei die Pfad- und Paketnamen natürlich auf die lokalen Gegebenheiten angepasst werden müssen).
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:~$
Ein paar Dinge sind nicht getestet, da ich sie nicht benötige:
Last modified: Thu Apr 3 20:24:50 CEST 2014
$Id: Debian-Woody-Linux-auf-dem-ThinkPad-R51.html,v 1.27 2014/04/03 18:25:00 niehaus Exp $