Home‎ > ‎Tom's Ideas And Notes‎ > ‎

Fedora 10, EeePC Synaptics Touchpad

posted Feb 18, 2009, 7:06 PM by Tom Gutwin   [ updated Feb 20, 2009, 7:38 PM ]
Getting the touchpad fully working with the synaptics driver

It was working out of the box BUT not with full functionality
Things I tried:
Vanilla F10 with the stock kernel 2.6.27.9-159.fc10.i686
  - Pretty much everything works including the touchpad with double finger scrolling
  - Things that don't work - suspend hangs gsynaptics configuration fails with the missing SHMConfig message.
 - adding an xorg.conf file  with the synaptics driver specifically spec'd has no effect, infact X does not
   find the device (see the /var/log/Xorg.0.log)

             (II) Synaptics touchpad driver version 0.15.2
            synaptics no synaptics event device found
            (**) Option "Device" "/dev/psaux"
            (EE) xf86OpenSerial: Cannot open device /dev/psaux
                No such file or directory.
            Synaptics driver unable to open device
            (EE) PreInit failed for input device "synaptics"
            (II) UnloadModule: "synaptics"

    This is what is was finding and configuring...
            (II) config/hal: Adding input device ImPS/2 Logitech Wheel Mouse
            (**) ImPS/2 Logitech Wheel Mouse: always reports core events
            (**) ImPS/2 Logitech Wheel Mouse: Device: "/dev/input/event6"
            (II) ImPS/2 Logitech Wheel Mouse: Found 3 mouse buttons
            (II) ImPS/2 Logitech Wheel Mouse: Found x and y relative axes
            (II) ImPS/2 Logitech Wheel Mouse: Configuring as mouse
            (**) ImPS/2 Logitech Wheel Mouse: YAxisMapping: buttons 4 and 5
            (**) ImPS/2 Logitech Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
            (II) XINPUT: Adding extended input device "ImPS/2 Logitech Wheel Mouse" (type: MOUSE)
            (II) config/hal: Adding input device Macintosh mouse button emulation
            (**) Macintosh mouse button emulation: always reports core events
            (**) Macintosh mouse button emulation: Device: "/dev/input/event4"
            (II) Macintosh mouse button emulation: Found 3 mouse buttons
            (II) Macintosh mouse button emulation: Found x and y relative axes
            (II) Macintosh mouse button emulation: Configuring as mouse
            (**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
            (**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
            (II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)

    What the ?*%!?  The EeePC has no Logitech mouse.
    The touchpad is getting config'd as a plain Logitech mouse.

Helpful Packages to figure out what hal is seeing
    yum install gnome-device-manager
then use gnome-device-manager to see what the hal properties are for the pointing device it finds.
or use the 'lshal' command from the hal package

 - creating and adding an entry in the /etc/hal/fdi/poilicy/99-elantech.fdi file
   DID NOT Help because (as seen above) hal was not finding a touchpad. It thought it found a Logitech mouse.
 - Now I see/read (http://forums.fedoraforum.org/showthread.php?t=206114) that the x11 synaptics driver has to be the latest.

Grab the latest x11 synaptics driver from...  http://rapidshare.com/files/191129044/2.6.28.1-19.eeepc.tar.gz
un tgz it, there is a xorg-x11-drv-synaptics-0.99.2-1.fc10.i386.rpm inside.
Thanks go to the Quasar8000 at  http://forums.fedoraforum.org/showthread.php?t=206114&highlight=eeepc
or you can grab and build from source ... http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics

install it with
  sudo rpm --nosignature -i xorg-x11-drv-synaptics-0.99.2-1.fc10.i386.rpm

I also added the following file to my /etc/hal/fdi/policy directory

99-elantech.fdi

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- this should live in /etc/hal/fdi/poilicy dir -->
<deviceinfo version="0.2">
<device>
  <match key="info.product" contains="Touchpad">
      <merge key="input.x11_options.SHMConfig" type="string">On</merge>
      <merge key="input.x11_driver" type="string">synaptics</merge>
    <!--/match-->
  </match>
</device>
</deviceinfo>


Notice that it is matching
 <match key="info.product" contains="Touchpad">
Many other web pages discussing this don't match this

restart hal
  /etc/init.d/haldaemon restart

Log Out..
At the gdm login screen, restart X by doing a Ctrl-Alt-Backspace

Log back in
and gsynaptics should work without error!!  Mine does.

You can use gnome-device-manager to find the device and all its properties that can be used for a match

Before I added the hal fdi file, it was showing as a Logitech mouse,

This is the command that I run when I login to X/Gnome
    synclient MaxTapTime=180 EmulateMidButtonTime=75 TapButton1=1 TapButton2=3 TapButton3=2 ClickFinger1=1 ClickFinger2=3 ClickFinger3=2

I put it into a sh file and added it to
  System > Preferences > Personal Sessions
so it runs every login.
Comments