Difference between revisions of "Thinkpad R31"
From Blue-IT.org Wiki
(→Bios) |
(→Bios) |
||
Line 55: | Line 55: | ||
===Bios=== | ===Bios=== | ||
The bios is buggy. I use the latest '''Version 3.110 1FETF1WW''' of ''2004-11-16''. | The bios is buggy. I use the latest '''Version 3.110 1FETF1WW''' of ''2004-11-16''. | ||
− | * Use this ''[https://wiki.blue-it.org/images/DSDT.zip DSDT.zip (contains DSDT.aml)]'', '''unzip it''' and put it into the ''/etc/initramfs-tools'' directory. Afterwards you have to recreate your ''initramfs'' (later in this section you have to do this again because of removing ''usplash'', so to safe time you can skip this for now). | + | * Use this ''[https://wiki.blue-it.org/images/DSDT.zip DSDT.zip (contains the fixed DSDT.aml for the above BIOS)]'', '''unzip it''' and put it into the ''/etc/initramfs-tools'' directory. Afterwards you have to recreate your ''initramfs'' (later in this section you have to do this again because of removing ''usplash'', so to safe time you can skip this for now). |
sudo unzip /wherever/DSDT.zip -d /etc/initramfs-tools | sudo unzip /wherever/DSDT.zip -d /etc/initramfs-tools | ||
sudo update-initramfs -c -k all | sudo update-initramfs -c -k all |
Revision as of 16:05, 25 December 2007
Contents
General Info
The article is for linux operation system only.
This is a Thinkpad R31 2656-56G with
- PIII M(obile) Intel Prozessor
- 1024MB Ram (max)
- (not very powerful) Intel i830 Grafics prozessor
- 100 Mbs Network
- USB 1.1
- No wlan
- Trackpoint, no tochpad
- Bios Version 3.110 1FETF1WW (2004-11-16, Embedded Controller Version 02.29.12)
lspci
00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (rev 04) 00:02.0 VGA compatible controller: Intel Corporation 82830 CGC [Chipset Graphics Controller] (rev 04) 00:02.1 Display controller: Intel Corporation 82830 CGC [Chipset Graphics Controller] 00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42) 00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02) 00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02) 00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02) 01:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42) 01:09.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02) 02:00.0 USB Controller: NEC Corporation USB (rev 43) 02:00.1 USB Controller: NEC Corporation USB (rev 43) 02:00.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
Kernel boot parameter
There are some problems running this laptop with a modern linux kernel.
This leads into the following /boot/grub/menu.lst additions
## ## Start Default Options ## ## default kernel options # [...] # kopt=root=UUID=YOUR_UID ro irqpoll i8042.nomux=1
Trackpoint
The trackpoint does erratic mouse movements out of the sudden
- Solution: add i8042.nomux=1 as kernel parameter
Kernel-oops IRQ 11
Heavy using of the usb or graphics bus (3D rendering) leaves this pci subsystems unusable (kernel-oops). The dmesg message is
dmesg | grep nobody # irq 11: nobody cared (try booting with the "irqpoll" option)
- Solution: add irqpoll as kernel parameter
Usplash
Direct rendering is broken, if you use usplash.
- Uninstall usplash
Bios
The bios is buggy. I use the latest Version 3.110 1FETF1WW of 2004-11-16.
- Use this DSDT.zip (contains the fixed DSDT.aml for the above BIOS), unzip it and put it into the /etc/initramfs-tools directory. Afterwards you have to recreate your initramfs (later in this section you have to do this again because of removing usplash, so to safe time you can skip this for now).
sudo unzip /wherever/DSDT.zip -d /etc/initramfs-tools sudo update-initramfs -c -k all
Ubuntu Gutsy
/etc/network/interfaces
With support for tuntap, used by virtualbox.
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet manual # The primary network interface auto tap0 iface tap0 inet manual tunctl_user a_username uml_proxy_arp ibmr31 uml_proxy_ether eth0 # - install more if necessary # - don't forget to add them to br0 # auto tap1 # iface tap1 inet manual # tunctl_user a_username # uml_proxy_arp this_server # uml_proxy_ether eth0 # bridge auto br0 iface br0 inet dhcp address 192.168.0.11 netmask 255.255.255.0 gateway 192.168.0.254 bridge_ports eth0 tap0 bridge_maxwait 0
Video
GLX and DRI works, but it is a little buggy and not very performant. So don't use (!) compiz - it's no fun.
Additionally you HAVE TO boot into save graphics mode and fix the xserver like described as followed.
Troubleshooting
I had some real trouble getting X11 with direct rendering to work after a system upgrade occured. X11 hung and the whole system froze.
Then booted in safe mode and use the following option in your xorg.conf
Section "Device" Option "noaccel" "true"
for starting the xserver. Change it back, when X was up and restart X.
Heres what I did:
1. I removed usplash and run update-initramfs for ALL (!) kernel flavours on the machine.
apt-get remove usplash usplash-theme-ubuntu update-initramfs -c -k all
2. I removed the xserver-xorg-video-intel driver package. It hinders the xserver to start and reinstall xorg-video-i810.
apt-get remove xserver-xorg-video-intel apt-get install --reinstall xserver-xorg-video-i810
3. I rebooted the machine
Now the Xserver worked with direct rendering.
modules
root@ibmr31:~# lsmod | grep agp intel_agp 25620 1 agpgart 35016 3 drm,intel_agp
X11
Trackpoint
The trackpoint can be configured specially for scrolling in conjunction with the middle mouse button. See the xorg.conf in one of the following sections.
Please read the following article for more informations about using the trackpoint: Thinkwiki - Configure the TrackPoint
xorg.conf
# /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 xorg.conf(5) manual page. # (Type "man 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/share/fonts/X11/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/usr/share/fonts/X11/encodings" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "vbe" Load "dri" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "de" Option "XkbOptions" "lv3:ralt_switch" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" EndSection Section "Device" Identifier "Intel Corporation 82830 CGC [Chipset Graphics Controller]" Driver "i810" #VideoRam 65536 #Option "DRI" "true" # Change, when X won't start with BLACK SCREEN #Option "noaccel" "true" BusID "PCI:0:2:0" EndSection Section "Monitor" Identifier "Standardbildschirm" Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "Intel Corporation 82830 CGC [Chipset Graphics Controller]" Monitor "Standardbildschirm" DefaultDepth 16 SubSection "Display" Depth 1 Modes "1024x768" "1024x600" "800x600" "768x576" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "1024x600" "800x600" "768x576" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "1024x600" "800x600" "768x576" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "1024x600" "800x600" "768x576" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "1024x600" "800x600" "768x576" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768""1024x600" "800x600" "768x576" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" EndSection Section "DRI" Mode 0666 EndSection