LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   synaptics-0.15.0 - Howto reenable Tap-to-Click after upgrade (https://www.linuxquestions.org/questions/slackware-14/synaptics-0-15-0-howto-reenable-tap-to-click-after-upgrade-663177/)

ppr:kut 08-16-2008 04:59 AM

synaptics-0.15.0 - Howto reenable Tap-to-Click after upgrade
 
There has been an update to the xorg-driver for the synaptics touchpad device. Version 0.15.0 is renamed to "xf86-input-synaptics", is now licensed under the MIT License and can be downloaded from freedesktop.org.
I upgraded yesterday and experienced today that Tap-to-Click isn't working anymore. To solve this issue I added the following line to the configuration part of the synaptics driver in xorg.conf:

Code:

    Option          "TapButton1" "1"
This explicitly tells the synaptics driver to send a left-button event when tapping with one finger.

As this is not noted in neither INSTALL nor README I thought it best to note it here.
I've modified Robby's synaptics.SlackBuild to work with the new version, it is available together with a Slackware 12.1 package from my site:
http://www.liwjatan.at/

rworkman 08-16-2008 05:05 PM

Heinz,

I got your mail about this - thanks for looking into (and more importantly, fixing) it. I've not had a chance to actually look at the new stuff yet, but I'm sure it's nice :-)

I am curious though - does the new code still require the psmouse module to be loaded with kernel defaults?

ppr:kut 08-17-2008 05:44 AM

I don't know, and it will probably take some time until I can test it. But I will post the results here once I have them.

grissiom 08-17-2008 07:31 AM

Although I don't like the Tap-to-Click feature, your code could fix the problem. Thx ;)

ppr:kut 08-19-2008 02:24 AM

So, I had a look at the psmouse problems and found the following:

If loaded with kernel defaults, the kernel reports a "SynPS/2 Synaptics TouchPad", compared to a "PS/2 Synaptics TouchPad" when loaded with proto=imps.
Also some files /sys/class/input/input* change. For example uevent:

Code:

PHYSDEVPATH=/devices/platform/i8042/serio4
PHYSDEVBUS=serio
PHYSDEVDRIVER=psmouse
PRODUCT=11/2/7/25b1
NAME="SynPS/2 Synaptics TouchPad"
PHYS="isa0060/serio4/input0"
EV==b
KEY==6420 0 70000 0 0 0 0 0 0 0 0
ABS==11000003
MODALIAS=input:b0011v0002p0007e25B1-e0,1,3,k110,111,112,145,14A,14D,14E,ra0,1,18,1C,mlsfw

with kernel defaults, compared to

Code:

PHYSDEVPATH=/devices/platform/i8042/serio4
PHYSDEVBUS=serio
PHYSDEVDRIVER=psmouse
PRODUCT=11/2/1/0
NAME="PS/2 Synaptics TouchPad"
PHYS="isa0060/serio4/input0"
EV==7
KEY==70000 0 0 0 0 0 0 0 0
REL==3
MODALIAS=input:b0011v0002p0001e0000-e0,1,2,k110,111,112,r0,1,amlsfw

with proto=imps

If loaded with proto=imps, xorg logs the following:

Code:

(II) Synaptics touchpad driver version 0.15.0
Mouse0 no synaptics event device found (checked 17 nodes)
(**) Option "Device" "/dev/psaux"
(**) 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 "CornerCoasting" "1"
(**) Option "TapButton1" "1"
(**) Option "TapButton2" "3"
(**) Option "CircularScrolling" "true"
(**) Option "CircScrollTrigger" "8"
Query no Synaptics: 6003C8
(EE) Mouse0 no synaptics touchpad detected and no repeater device
(EE) Mouse0 Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Mouse0"
(II) UnloadModule: "synaptics"

From what I see there, this is not at all a problem of the synaptics-xorg module. It's the kernel module which does report it's not a suitable device. From my point of view there would be a change in the kernel module necessary to make it still report a "SynPS/2 Synaptics TouchPad" even when loaded with proto=imps.

Nevertheless, the mouse does work. Even Tap-to-Click is working with Slackware's default. There's however no chance to get neither Linear- no Circular Scrolling to work that way. If one wants this, there's no other way than loading psmouse with kernel-defaults.

nikel 09-12-2008 01:13 AM

The problem is, that pressure by tap must be not too hight. And i can't find, how can i set the right value for that.

nikel 09-12-2008 01:31 AM

I found it! :D
MaxTapMove is to low. It's 25 now per default (earlier 220).

ppr:kut 09-17-2008 05:55 AM

Tested again with xf86-input-synaptics-0.15.2. Tap-To-Click behavior has been restored and the fix described in this thread is no longer needed.
The issue with proto=imps remains. I opened a bug report on freedesktop.org: http://bugs.freedesktop.org/show_bug.cgi?id=17624

rworkman 09-17-2008 10:10 AM

The bug was marked invalid. I've set mail to Daniel (CC'd you, Heinz) to explain the situation.


All times are GMT -5. The time now is 12:43 AM.