/dev/null the other side of life

Thinkpad

IBM/Lenovo Thinkpad R61 - Debian Lenny

CPU: Intel Core 2 Duo T7500 (2.2 Ghz)
Grafik: Intel GMA X3100 (15" mit 1400x1050)
Audio: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Festplatte: HITACHI HTS541616J9SA00 160GB (APS)
WLAN: Intel PRO/Wireless 3945ABG
LAN: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)

lspci Ausgabe:

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #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:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) 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 PRO/Wireless 3945ABG Network Connection (rev 02)
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b6)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 02)

Video
Läuft mit dem "intel" Treiber aus dem Xorg super. Der VGA-Ausgang wird mit XrandR an gesteuert.

Clone: xrandr --output VGA --auto
DualHead: xrandr --output VGA --auto; xrandr --output VGA --rigth-of LVDS

Audio
Geht unter Lenny mit dem "snd-hda-intel" Modul out-of-the-box.

Bluetooth
Geht out-of-the-box.

LAN:
Geht mit dem "tg3" Modul out-of-the-box.

WLAN:
Mit dem Lenny Kernel (2.6.24-1) weiß ich es nicht,sollte aber laufen. Mit meinem 2.6.25.5 Kernel geht es auch. WPA-PSK und WPA2 funktionieren. Evt. muss noch die Firmware geladen werden -> aptitiude firmware-ipw3945

Fingerprint Reader
Geht super, nur leider nicht wirklich mit KDE und xscreensaver :( Getestet hab ich ihn mit Thinkfinger.
Hier noch zwei Links zum einrichten [1] und [2].

Thinkpad Sondertasten
Nur mit Handarbeit. Bluetooth, Touchpad und die Displayhelligkeit kann ich nun via Tasten steuern.

Wenn tp_smapi installiert ist, "ibm_acpi tp_smapi hdaps" (pro Zeile, ein Modul) in /etc/modules einfügen. Und dann noch echo "enable,0xffffffff" > /proc/acpi/ibm/hotkey in die /etc/rc.local eintragen.

Für Bluetooth die Datei /etc/acpi/events/fnf5 erstellen mit folgendem Inhalt:

event=ibm/hotkey HKEY 00000080 00001005
action=/etc/acpi/ibm_bluetooth

Die Datei /etc/acpi/ibm_bluetooth enthält:

#!/bin/bash
bluetooth=`head -n 1 /proc/acpi/ibm/bluetooth | awk '{print $2}'`
case "$bluetooth" in
    disabled)
        sh -c "echo "enable" > /proc/acpi/ibm/bluetooth"
        ;;
    enabled)
        sh -c "echo "disable" > /proc/acpi/ibm/bluetooth"
        ;;
esac
exit 0

Zum Sperren des Touchpads die Datei /etc/acpi/events/fnf8 mit folgendem Inhalt anlegen:

event=ibm/hotkey HKEY 00000080 00001008
action=/etc/acpi/lock_touchpad

und dann die Datei /etc/acpi/lock_touchpad erstellen:

#!/bin/sh
touchpad=`synclient -l | grep TouchpadOff | awk '{print $3}'`
case "$touchpad" in
    1)
        synclient TouchpadOff=0;
                                #echo "Touchpad Enabled" | osd_cat -d 1 -c cyan -A center -p bottom
                                ;;
    0)
        synclient TouchpadOff=1;
                                #echo "Touchpad Disabled" | osd_cat -d 1 -c cyan -A center -p bottom
                ;;
esac
exit 0

Für die Helligkeit habe ich zwei Dateien angelegt:

root@sedna ~ [1] # cat /etc/acpi/ibm_brightness-up
#!/bin/bash
su -c "xbacklight -d :0 -dec -15" rmichel
root@sedna ~ [0] # cat /etc/acpi/ibm_brightness-down
#!/bin/bash
su -c "xbacklight -d :0 -inc -15" rmichel
root@sedna ~ [0] #

und dann noch diese zwei

root@sedna ~ [0] # cat /etc/acpi/events/fnbright_down
event=ibm/hotkey HKEY 00000080 00001011
action=/etc/acpi/ibm_brightness-down
root@sedna ~ [0] # cat /etc/acpi/events/fnbright_up
event=ibm/hotkey HKEY 00000080 00001010
action=/etc/acpi/ibm_brightness-up

Nun sollte nach einem restart des acpid alles gehen.

HDAPS
Der Kerneltreiber ist fürn Ar*** - geht aber super mit tp_smapi.

Modem und FireWire hab ich nicht getestet.

Benchmark

root@sedna ~ [0] # hdparm -T /dev/sda
 
/dev/sda:
 Timing cached reads:   4562 MB in  1.99 seconds = 2292.12 MB/sec
root@sedna ~ [0] # hdparm -t /dev/sda
 
/dev/sda:
 Timing buffered disk reads:  138 MB in  3.01 seconds =  45.81 MB/sec

Was vergessen ? Ich hoffe nicht, sonst einfach Fragen.....

Generell ist www.thinkwiki.org immer eine gute Anlaufstelle für Thinkpads.

[Files]
config-2.6.25.5
xorg.conf

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.