LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-16-2008, 04:59 AM   #1
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 361

Rep: Reputation: 93
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/
 
Old 08-16-2008, 05:05 PM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
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?
 
Old 08-17-2008, 05:44 AM   #3
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 361

Original Poster
Rep: Reputation: 93
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.
 
Old 08-17-2008, 07:31 AM   #4
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 422

Rep: Reputation: 45
Although I don't like the Tap-to-Click feature, your code could fix the problem. Thx
 
Old 08-19-2008, 02:24 AM   #5
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 361

Original Poster
Rep: Reputation: 93
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.
 
Old 09-12-2008, 01:13 AM   #6
nikel
LQ Newbie
 
Registered: Aug 2007
Location: Dortmund, Germany
Distribution: gentoo
Posts: 2

Rep: Reputation: 0
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.
 
Old 09-12-2008, 01:31 AM   #7
nikel
LQ Newbie
 
Registered: Aug 2007
Location: Dortmund, Germany
Distribution: gentoo
Posts: 2

Rep: Reputation: 0
I found it!
MaxTapMove is to low. It's 25 now per default (earlier 220).
 
Old 09-17-2008, 05:55 AM   #8
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 361

Original Poster
Rep: Reputation: 93
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
 
Old 09-17-2008, 10:10 AM   #9
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

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


Reply

Tags
synaptic


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No double tap, custom kernel, synaptics touchpad Old_Fogie Slackware 13 07-21-2006 03:48 AM
Laptop tap to click prh Ubuntu 1 05-17-2006 08:03 PM
stop synaptics touchpad tap click easily Frank Leone Linux - Newbie 6 10-30-2005 05:44 PM
Touchpad won't tap-click Detour Linux - Laptop and Netbook 3 11-08-2004 08:57 PM
post kernel upgrade lost tap click geomatt Linux - Hardware 4 09-30-2004 02:06 PM


All times are GMT -5. The time now is 05:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration