LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Synaptics touchpad scroll (https://www.linuxquestions.org/questions/slackware-14/synaptics-touchpad-scroll-654738/)

asquante 07-09-2008 09:48 PM

Synaptics touchpad scroll
 
Hello!

I've a Lenovo 3000 n200 laptop and decided to go for Slackware 12.1 on it. The only problem I have with it is that the vertical scrolling on it's synaptics touchpad doesn't work.
I tried downloading the latest (0.14.6) synaptics package from linuxpackages.net and installing it, then editing xorg.conf and added the line
Quote:

Load "synaptics"
to the "Module" section and edited the core pointer section to look like this:
Quote:

Section "InputDevice"

# Identifier and driver

Identifier "touchpad"
Driver "synaptics"
Option "Protocol" "auto-dev"
Option "Device" "/dev/psaux"

# Synaptics touchpad options
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
EndSection
But when I run startx I get the error "(EE) Failed to load module "synaptics" (module does not exist, 0)"

I checked in the /usr/X11R6/lib/modules/input/ - there's a file there called synaptics_drv.o

I also tried downloading the sources for the synaptics driver from http://web.telia.com/~u89404340/touchpad/ , but it won't compile - make fails with the following error:

Quote:

gcc -c -O2 -pedantic -Wall -Wpointer-arith -fno-merge-constants -fPIC -I. -I/usr/include/X11 -I/usr/include/X11/extensions -I/usr/include/xorg -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.14.6\"" -DVERSION_ID="(0*10000+14*100+6)" synaptics.c
In file included from /usr/include/xorg/misc.h:111,
from synaptics.c:64:
/usr/include/xorg/os.h:502:19: warning: anonymous variadic macros were introduced in C99
synaptics.c: In function ‘SynapticsPreInit’:
synaptics.c:324: error: ‘struct _LocalDeviceRec’ has no member named ‘motion_history_proc’
synaptics.c:435: warning: implicit declaration of function ‘DBG’
synaptics.c:435: error: invalid use of void expression
synaptics.c: In function ‘SynapticsCtrl’:
synaptics.c:495: error: invalid use of void expression
synaptics.c: In function ‘DeviceOn’:
synaptics.c:537: error: invalid use of void expression
synaptics.c: In function ‘DeviceOff’:
synaptics.c:571: error: invalid use of void expression
synaptics.c: In function ‘DeviceInit’:
synaptics.c:607: error: invalid use of void expression
synaptics.c:617: warning: ‘miPointerGetMotionBufferSize’ is deprecated (declared at /usr/include/xorg/mipointer.h:99)
synaptics.c:617: error: too few arguments to function ‘InitPointerDeviceStruct’
synaptics.c: In function ‘SelectTapButton’:
synaptics.c:955: error: invalid use of void expression
synaptics.c:959: error: invalid use of void expression
synaptics.c:963: error: invalid use of void expression
synaptics.c:967: error: invalid use of void expression
synaptics.c:971: error: invalid use of void expression
synaptics.c:977: error: invalid use of void expression
synaptics.c:981: error: invalid use of void expression
synaptics.c: In function ‘SetTapState’:
synaptics.c:994: error: invalid use of void expression
synaptics.c: In function ‘HandleScrolling’:
synaptics.c:1388: error: invalid use of void expression
synaptics.c:1396: error: invalid use of void expression
synaptics.c:1401: error: invalid use of void expression
synaptics.c:1409: error: invalid use of void expression
synaptics.c:1415: error: invalid use of void expression
synaptics.c:1425: error: invalid use of void expression
synaptics.c:1431: error: invalid use of void expression
synaptics.c:1435: error: invalid use of void expression
synaptics.c:1441: error: invalid use of void expression
synaptics.c:1445: error: invalid use of void expression
synaptics.c:1464: error: invalid use of void expression
synaptics.c:1475: error: invalid use of void expression
synaptics.c: In function ‘ControlProc’:
synaptics.c:1782: error: invalid use of void expression
synaptics.c: In function ‘CloseProc’:
synaptics.c:1790: error: invalid use of void expression
make: *** [synaptics.o] Error 1
It happens even after I tried following the instructions from the post Synaptics driver on Xorg 7.3.

Don't know what else I can try to make the scrolling work. It's the last bit I've left before I've a perfect system, so I'd very much like to fix this :) So any help will be appreciated.

gbonvehi 07-10-2008 03:37 PM

That package is made for Slackware 11.0. Get the slackbuild and source from here and try again: http://slackbuilds.org/repository/12...tem/synaptics/

asquante 07-10-2008 03:49 PM

Thanks! I didn't find the 12.1 package then, but I installed the rpm package with the driver instead. After that everything was ok :)


All times are GMT -5. The time now is 03:37 PM.