Difference between revisions of "Installing Mandriva Linux on a ThinkPad T20"

From ThinkWiki
Jump to: navigation, search
m (Installing Mandriva Linux on the ThinkPad T20 moved to Installing Mandriva Linux on a ThinkPad T20)
(Getting the modem to work)
Line 41: Line 41:
  
 
==Getting the modem to work==
 
==Getting the modem to work==
 +
The modem is not accessable through one of the default serial interfaces. It can, however, be queried through {{path|/dev/tty13}}.
  
See [[Installing_Ltmodem_driver_for_Mandriva]]
+
For further information, see [[Installing_Ltmodem_driver_for_Mandriva]].
  
 
=Mandriva 2005 LE=
 
=Mandriva 2005 LE=

Revision as of 04:52, 26 January 2006

Mandriva 2006

Upgrading from 2005 LE to 2006

Although the installer ran without incident, look out for several issues to address:

  • Several things quit working until I switched to the 2.6.11 kernel that was installed. Notably, sound didn't work and the trackpointer didn't work. You can use drakboot to change the default corner, or command line jockeys can edit /etc/lilo.conf
  • The DVD drive could not be located. It was being sought at /mnt/cdrom but really existed at /mnt/cdrom2. Rebooting seemed to fix this.
  • My Orinico wireless card quit working. It was being recognized at "eth0" now instead of "eth1". Copying my settings from the eth1 configuration to the eth0 configuration fixed that.
  • Using the TrackPoint in combination with the middle mouse button as a scroll wheel quit working. I got it working by using this bit in my /etc/X11/xorg.conf file.
Section "InputDevice"
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "ExplorerPS/2"
   Option "Device" "/dev/mouse"
   Option "Emulate3Buttons" "true"
   Option "ZAxisMapping" "4 5"
   Option "EmulateWheel" "true"
   Option "EmulateWheelButton" "2"
EndSection

If you haven't editted this file before, select "Run" from the start menu and then run a text editor (such as "kate") as root. Be sure to create an extra copy of the file before you change it in case there is a problem! To make the changes take effect you'll need to restart X. Rebooting is one way to do that.

  • The "Suspend" option had disappeared from the KLaptop menu. It was necessary to go into the "Configure KLaptop" dialog and re-setup the "helper applications".
  • Selecting "ondemand" as a Performance Profile seems to have no effect, through KLaptop or on the command line. It would be nice to solve this for better life.
  • While suspending worked great with Mandriva LE, trying to suspend with APM, now resulted in a reboot upon resuming. What finally worked me was:
    • Upgraded to 2.6.12 kernel (not sure if this mattered)
    • Make sure acpi and acpid are installed and apmd is not
    • Use the built-in suspend key to suspend (Fn-F4). (Using KLaptop instead resulted in no sound upon resume).
  • My USB card reader quit working. My fix was to make sure the USB service was started at boot time, and to explicitly load the USB mass storage module at boot time.
    • # ln -s /etc/init.d/usb /etc/rc5.d/S50usb
    • Edit /etc/sysconfig/usb and set STORAGE=yes

Getting the modem to work

The modem is not accessable through one of the default serial interfaces. It can, however, be queried through /dev/tty13.

For further information, see Installing_Ltmodem_driver_for_Mandriva.

Mandriva 2005 LE

Suspend/Resume

Mandriva controls suspend/resume preferences through the file /etc/sysconfig/suspend. It is a well-commented text file. Here are two options I set that seemed to help make sound continue working after a suspend on the T20:

RESTORE_SOUND="yes"
SOUND_MODULES="sb uart401 sound soundcore maestro cs4281 snd-cs46xx"

I'm not sure if all the sound modules in this list are necessary. I added snd-cs46xx to the list because I knew it was the one I was using.

From the Mandrake Control Center, I configured one specific Thinkpad-specific option for the sound driver. I entered the "Hardware" area and then selected the sound card and clicked "Configure Module". One of the options is labeled simply "thinkpad". I set it to "1".

Screen Locking after Suspend

My screen always came back locked after I suspended, and I couldn't figure out how to turn that off at first. That preference is also in /etc/sysconfig/suspend and is named LOCK_XFREE.

I set it to "no", but can still lock the screen if I want by using the Klaptop "Lock & Suspend..." option

External Sources