Difference between revisions of "Installing Fedora Core 5 on a ThinkPad X41 Tablet"

From ThinkWiki
Jump to: navigation, search
m
m (X Server)
Line 47: Line 47:
 
=== X Server ===
 
=== X Server ===
  
The FC5 installer will pick the corrct driver out of the box.
+
==== Enabling the Stylus ====
 +
 
 +
Add the following lines to {{path|/etc/rc.d/rc.local}}:
 +
 
 +
# Map stylus to a serial port
 +
setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig
 +
 
 +
 
 +
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:
 +
 
 +
  Section "ServerLayout"
 +
        Identifier    "default"
 +
        Screen      0  "Screen0" 0 0
 +
        InputDevice    "Mouse0" "CorePointer"
 +
        InputDevice    "Keyboard0" "CoreKeyboard"
 +
        '''InputDevice    "cursor" "SendCoreEvents"'''
 +
        '''InputDevice    "stylus" "SendCoreEvents"'''
 +
EndSection
 +
 +
'''Section "InputDevice"'''
 +
      '''Driver        "wacom"'''
 +
      '''Identifier    "cursor"'''
 +
      '''Option        "Device"        "/dev/ttyS0"'''
 +
      '''Option        "Type"          "cursor"'''
 +
      '''Option        "ForceDevice"  "ISDV4"'''
 +
      '''Option        "Mode"          "Absolute"'''
 +
      '''Option        "TPCButton"    "on"'''
 +
'''EndSection'''
 +
 +
'''Section "InputDevice"'''
 +
      '''Driver        "wacom"'''
 +
      '''Identifier    "stylus"'''
 +
      '''Option        "Device"        "/dev/ttyS0"'''
 +
      '''Option        "Type"          "stylus"'''
 +
      '''Option        "ForceDevice"  "ISDV4"'''
 +
'''EndSection'''
 +
 
 +
 
 +
==== Enabling Screen Rotation ====
 +
 
 +
Add the following lines to {{path|/etc/X11/xorg.conf}}:
 +
 
 +
# Clockwise Rotation
 +
 +
Section "ServerLayout"
 +
        Identifier    "rotateCW"
 +
        Screen      0  "Screen0CW" 0 0
 +
        InputDevice    "Mouse0" "CorePointer"
 +
        InputDevice    "Keyboard0" "CoreKeyboard"
 +
        InputDevice    "cursorCW" "SendCoreEvents"
 +
        InputDevice    "stylusCW" "SendCoreEvents"
 +
EndSection
 +
 +
Section "Device"
 +
        Identifier  "Videocard0CW"
 +
        Driver      "i810"
 +
        VendorName  "Videocard vendor"
 +
        Option      "NoAccel"      "false"
 +
        Option      "DRI"          "true"
 +
        Option      "Rotate"        "CW"
 +
        BoardName  "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
 +
        Option      "XAANoOffscreenPixmaps"
 +
        Option      "SWCursor"      "On"
 +
EndSection
 +
 +
Section "InputDevice"
 +
      Driver        "wacom"
 +
      Identifier    "cursorCW"
 +
      Option        "Device"        "/dev/ttyS0"
 +
      Option        "Type"          "cursor"
 +
      Option        "ForceDevice"  "ISDV4"
 +
      Option        "Mode"          "Absolute"
 +
      Option        "TPCButton"    "on"
 +
      Option        "TopX"          "500"
 +
      Option        "BottomX"      "18000"
 +
      Option        "TopY"          "-6000"
 +
      Option        "BottomY"      "18500"
 +
EndSection
 +
 +
Section "InputDevice"
 +
      Driver        "wacom"
 +
      Identifier    "stylusCW"
 +
      Option        "Device"        "/dev/ttyS0"
 +
      Option        "Type"          "stylus"
 +
      Option        "ForceDevice"  "ISDV4"
 +
      Option        "Rotate"        "CW"
 +
EndSection
 +
 +
Section "Screen"
 +
        Identifier "Screen0CW"
 +
        Device    "Videocard0CW"
 +
        Monitor    "Monitor0"
 +
        DefaultDepth    24
 +
        SubSection "Display"
 +
                Viewport  0 0
 +
                Depth    16
 +
                Modes    "800x600" "640x480"
 +
        EndSubSection
 +
        SubSection "Display"
 +
                Viewport  0 0
 +
                Depth    24
 +
                Modes    "1024x768" "800x600" "640x480"
 +
        EndSubSection
 +
EndSection
 +
 
 +
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}

Revision as of 18:43, 2 April 2006

Success Chart

Item Working Notes
Installation Network Installation Yes
USB Installation Not Tested
Display Laptop Screen Yes Xorg i810 driver
CRT / Projector Yes
Screen Rotation Yes Separate X server (not on-the-fly)
Stylus Yes wacom serial driver.
Power Management Software Suspend (hibernate) Yes Software Suspend 2
Suspend to Memory (ACPI sleep) Yes (mostly) Software Suspend 2, occasional crash
Audio Yes ALSA intel8x0 driver
Wireless 802.11b/g Yes ipw2200/madwifi drivers
Bluetooth Not Tested Should work. See Installing Fedora Core 4 on a ThinkPad X41 Tablet
Extra Buttons Keyboard Section Yes ibm-acpi driver
Tablet buttons Yes setkeycodes
Fingerprint Scanner Not Tested See Integrated Fingerprint Reader.
Harddisk Active Protection Not Tested See Active Protection System.

Installation

Installation is straight forward and no different from the process mentioned in Installing Fedora Core 4 on a ThinkPad X41 Tablet.

Configuration

X Server

Enabling the Stylus

Add the following lines to /etc/rc.d/rc.local:

# Map stylus to a serial port
setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig


Add the lines in bold font to /etc/X11/xorg.conf:

 Section "ServerLayout"
        Identifier     "default"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "stylus" "SendCoreEvents"
EndSection

Section "InputDevice"
      Driver        "wacom"
      Identifier    "cursor"
      Option        "Device"        "/dev/ttyS0"
      Option        "Type"          "cursor"
      Option        "ForceDevice"   "ISDV4"
      Option        "Mode"          "Absolute"
      Option        "TPCButton"     "on"
EndSection

Section "InputDevice"
      Driver        "wacom"
      Identifier    "stylus"
      Option        "Device"        "/dev/ttyS0"
      Option        "Type"          "stylus"
      Option        "ForceDevice"   "ISDV4"
EndSection


Enabling Screen Rotation

Add the following lines to /etc/X11/xorg.conf:

# Clockwise Rotation

Section "ServerLayout"
        Identifier     "rotateCW"
        Screen      0  "Screen0CW" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "cursorCW" "SendCoreEvents"
        InputDevice    "stylusCW" "SendCoreEvents"
EndSection

Section "Device"
        Identifier  "Videocard0CW"
        Driver      "i810"
        VendorName  "Videocard vendor"
        Option      "NoAccel"       "false"
        Option      "DRI"           "true"
        Option      "Rotate"        "CW"
        BoardName   "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
        Option      "XAANoOffscreenPixmaps"
        Option      "SWCursor"      "On"
EndSection 

Section "InputDevice"
      Driver        "wacom"
      Identifier    "cursorCW"
      Option        "Device"        "/dev/ttyS0"
      Option        "Type"          "cursor"
      Option        "ForceDevice"   "ISDV4"
      Option        "Mode"          "Absolute"
      Option        "TPCButton"     "on"
      Option        "TopX"          "500"
      Option        "BottomX"       "18000"
      Option        "TopY"          "-6000"
      Option        "BottomY"       "18500"
EndSection

Section "InputDevice"
      Driver        "wacom"
      Identifier    "stylusCW"
      Option        "Device"        "/dev/ttyS0"
      Option        "Type"          "stylus"
      Option        "ForceDevice"   "ISDV4"
      Option        "Rotate"        "CW"
EndSection 

Section "Screen"
        Identifier "Screen0CW"
        Device     "Videocard0CW"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

To activate the rotated layout, start X with $ startx -- :1 -layout rotateCW