Mandrake Linux 9.2 on the Toshiba Portegé M200 Tablet PC

I used the Toshiba Port Noteworthy PCMCIA CD drive to install the system. Mandrake 9.2 was the only version of Linux that seemed to recognize this drive "out of the box". Installation was straightforward using the Mandrake GUI and I configured the system to dual-boot Windows XP. The install automatically recognized the XP partition and mounted it under /mnt. I set up the system to run X windows on boot and use gdm as the session manager.

After the install, I wanted to get the Tablet and stylus working. This required:

  1. Downloading the current wacom_drv.o driver from the Linuxwacom project: Linux Wacom Project Downloads and I copied it to /usr/X11R6/lib/modules/input, replacing the driver that was already there.
  2. I created the ttyS0 device via
    mknod -m 666 /dev/ttyS0 c 4 64
  3. This device must be configured to point to the wacom serial port. This requires the setserial command. Since this is not included with Mandrake 9.2, it is necessary to download and install it from A Mandrake RPM archive
  4. Mandrake 9.2 uses devfs, which means all devices will be automatically reconfigured on boot. It is necessary to reconfigure them each time one boots by inserting the following three lines at the end of /etc/rc.local
    /bin/chmod 666 /dev/ttyS0
    /bin/setserial /dev/ttyS0 port 0x338 autoconfig
    /sbin/hdparm -d1 -u1 -m16 -c3 /dev/discs/disc0/disc
  5. Now it is necessary to configure the system to run gdm last (i.e., after rc.local and devfsd). Furthermore devfsd must be run before rc.local (so it doesn't overwrite the change of configuration for /dev/ttyS0). This was done by renaming some files in /etc/rc5.d: S99devfsd -> S97devfsd, S99local -> S98local, and S60dm -> S99dm (this last file runs gdm).
  6. The file /etc/X11/XF86Config-4 must be changed to accomodate the wacom tablet by adding the lines
    Section "InputDevice"
    Driver "wacom"
    Identifier "cursor"
    Option "Device" "/dev/ttyS0"
    Option "ForceDevice" "ISDV4"
    Option "Type" "cursor"
    Option "Mode" "absolute"
    Option "Speed" "3.0"
    Option "Threshold" "2"
    Option "Tilt" "on"
    #Option "DebugLevel" "10"
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/ttyS0"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4"
    Option "Mode" "absolute"
    Option "Tilt" "on"
    #Option "TiltInvert" "on"
    Option "Threshold" "2"
    #Option "DebugLevel" "10"
    EndSection


    Section "InputDevice"
    Driver "wacom"
    Identifier "eraser"
    Option "Device" "/dev/ttyS0"
    Option "ForceDevice" "ISDV4"
    Option "Type" "eraser"
    Option "Mode" "absolute"
    Option "Tilt" "on"
    #Option "TiltInvert" "on"
    Option "Threshold" "2"
    #Option "DebugLevel" "10"
    EndSection

    (I never use the rotated feature, so I didn't try to figure out how to do this)
  7. At the end of the XFree86-4 config file, I altered the ServerLayout section to
    Section "ServerLayout"
    Identifier   "Default Layout"
    Screen       "DefaultScreen"
    InputDevice  "Generic Keyboard"
    InputDevice  "Generic Mouse"
    InputDevice "cursor" "SendCoreEvents"
    InputDevice "stylus" "SendCoreEvents"
    InputDevice "eraser" "SendCoreEvents"
    EndSection
    

I still have to figure out how to get wireless communication working. The built-in ethernet card was recognized by Mandrake, so it works.

Some of this material was adapted from the page Debian Linux on a Toshiba M200 tablet PC

Valid XHTML 1.0!