Hi!

Add support Synaptics touchpad (includes rework pms)

Build:

cd /tmp
ftp http://koba.devio.us/distfiles/synaptics.diff
cd /usr/src/sys
patch -p0 </tmp/synaptics.diff
...
(build and install kernel, reboot)
...
cd /tmp
ftp http://koba.devio.us/distfiles/xf86-input-synaptics.tgz
cd /usr/src
make includes
cd /usr/xenocara/driver
tar zxf /tmp/xf86-input-synaptics.tgz
cd xf86-input-synaptics
env XENOCARA_RERUN_AUTOCONF=Yes make -f Makefile.bsd-wrapper build

xorg.conf:

If only touchpad:

Section "ServerLayout"
        ...
        InputDevice     "Mouse0" "CorePointer"
        ...
EndSection

# Touchpad
Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "synaptics"
        Option          "Protocol" "wsmouse"
        Option          "Device" "/dev/wsmouse0"
        ...
EndSection

If touchpad+trackpoint:

Section "ServerLayout"
        ...
        InputDevice     "Mouse0" "CorePointer"
        InputDevice     "Mouse1" "SendCoreEvents"
        ...
EndSection

# Touchpad
Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "synaptics"
        Option          "Protocol" "wsmouse"
        Option          "Device" "/dev/wsmouse0"
        ...
EndSection

# Trackpoint
Section "InputDevice"
        Identifier      "Mouse1"
        Driver          "mouse"
        Option          "Protocol" "wsmouse"
        Option          "Device" "/dev/wsmouse1"
        ...
EndSection

Test, comment ;-)
Who will test, send your dmesg (sufficient grep pms0)

-- 
Alexandr Shadchin

Reply via email to