WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: synaptics  (Read 3241 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
synaptics
« on: October 28, 2009, 03:50:26 AM »
synaptics xorg driver posted - as yet untested:
Code: [Select]
Title:          synaptics.tcz
Description:    synaptics xorg touchpad driver
Version:        1.0.0
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 32KB
Extension_by:   juanito
Comments:       alps & synaptics touchpad driver for Xorg
                ----------
                requires the Xorg-7.4 extension and its deps
                ----------
                *** not tested as yet ***
                ----------
                This extension contains:
                xf86-input-synaptics-1.0.0 - MIT - ftp://ftp.x.org/pub/individual/driver/xf86-input-synaptics-1.0.0.tar.bz2
                ----------
                first version
Current:        2009/10/28

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: synaptics
« Reply #1 on: October 28, 2009, 07:34:16 AM »
I got this working with the Xorg-7.4 extension and an alps touchpad/pointing stick combo.

Several versions ago of xorg/synaptics, the default settings were basically unusable on an alps touchpad, but they seem quite reasonable now.

Here's an example of the relevant sections of xorg.conf that worked for me:
Code: [Select]
Section "ServerLayout"
Identifier "X.org Configured"
Screen      0  "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
InputDevice "Alps Touchpad"  "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

#Section "InputDevice"
# Identifier  "Mouse0"
# Driver      "mouse"
# Option     "Protocol" "auto"
# Option     "Device" "/dev/input/mice"
# Option     "ZAxisMapping" "4 5 6 7"
#EndSection

Section "InputDevice"
Identifier "Alps Touchpad"
Driver  "synaptics"
Option "Device"  "/dev/psaux"
Option "Protocol" "auto-dev"
Option "SHMConfig" "true"
EndSection
the lines starting with "#" indicate what was changed from the standard mouse setup I used previously.

Once xorg starts, entering "synclient -l" in a terminal window will bring up a list of the many settings that can be used in xorg.conf to alter the touchpad behaviour.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: synaptics
« Reply #2 on: October 30, 2009, 05:23:52 AM »
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: synaptics
« Reply #3 on: October 30, 2009, 06:27:10 AM »
I downloaded that, but it seemed to needed more recent xlibs than those in the base/xorg-7.4?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: synaptics
« Reply #4 on: October 30, 2009, 06:59:25 AM »
Ah, okay. How about 1.1.3?
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: synaptics
« Reply #5 on: October 30, 2009, 07:23:03 AM »
I'll have a look  :)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: synaptics
« Reply #6 on: October 30, 2009, 08:34:43 AM »
..nope, with both xf86-input-synaptics-1.1.3/1.2 I get this:
Code: [Select]
/bin/sh ../libtool --tag=CC   --mode=link gcc  -march=i486 -mtune=i686 -Os -pipe -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include    -I../src -lm -lX11   -lXi    -o synclient synclient.o 
libtool: link: gcc -march=i486 -mtune=i686 -Os -pipe -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -I../src -o synclient synclient.o  -lm /usr/lib/libXi.so /usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libXdmcp.so -ldl /usr/lib/libXau.so
synclient.o: In function `main':
synclient.c:(.text+0xa99): undefined reference to `XListDeviceProperties'
synclient.c:(.text+0xc28): undefined reference to `XGetDeviceProperty'
synclient.c:(.text+0xd3c): undefined reference to `XChangeDeviceProperty'
synclient.c:(.text+0xe44): undefined reference to `XGetDeviceProperty'
collect2: ld returned 1 exit status
make[2]: *** [synclient] Error 1
make[2]: Leaving directory `/usr/src/xf86-input-synaptics-1.1.3/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xf86-input-synaptics-1.1.3'
make: *** [all] Error 2