LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-19-2014, 08:30 PM   #1
peregin55
LQ Newbie
 
Registered: Nov 2014
Posts: 2

Rep: Reputation: Disabled
Touchpad Double Click Doesn't Work


I have a Lenovo Thinkpad and the touchpad works fine (movement, scrolling, single-click, etc.) - but the double-click doesn't work. I'm running Gentoo with the synaptics driver.

In the xev tool, the first click is registered but the subsequent clicks seem to get lost. For what it's worth, an external mouse works fine.

Here's the output of synclient -l:
Code:
Parameter settings:
    LeftEdge                = 1310
    RightEdge               = 4826
    TopEdge                 = 2220
    BottomEdge              = 4636
    FingerLow               = 25
    FingerHigh              = 30
    MaxTapTime              = 180
    MaxTapMove              = 218
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    EmulateMidButtonTime    = 0
    EmulateTwoFingerMinZ    = 282
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = 99
    HorizScrollDelta        = 99
    VertEdgeScroll          = 0
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 0
    MinSpeed                = 1
    MaxSpeed                = 1.75
    AccelFactor             = 0.0403307
    TouchpadOff             = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 0
    TapButton2              = 0
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 3
    ClickFinger3            = 2
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 200
    CoastingSpeed           = 20
    CoastingFriction        = 50
    PressureMotionMinZ      = 30
    PressureMotionMaxZ      = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 24
    VertHysteresis          = 24
    ClickPad                = 1
    RightButtonAreaLeft     = 3068
    RightButtonAreaRight    = 0
    RightButtonAreaTop      = 4326
    RightButtonAreaBottom   = 0
    MiddleButtonAreaLeft    = 0
    MiddleButtonAreaRight   = 0
    MiddleButtonAreaTop     = 0
    MiddleButtonAreaBottom  = 0
I don't see any driver-related errors in dmesg.
Code:
[  +0.055064] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x12
f800, board id: 2964, fw id: 2560
[  +0.000898] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
Has anyone else run into this?
Thanks for your help!
 
Old 11-21-2014, 05:10 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I did not into this because in my xorg.conf MaxDoubleTaptime is not specified. The manual is not completely clear about what it means, but I suppose MaxDoubleTapTime is the interval in which two taps must have been detected. 180 ms seems quite short to me. Can you try to increase to 500?

jlinkels
 
Old 11-29-2014, 11:39 PM   #3
xtknight
LQ Newbie
 
Registered: Jun 2004
Location: Michigan, United States
Distribution: Ubuntu 6.10
Posts: 25

Rep: Reputation: 16
I just came across something. I was having the exact same problem with an HP Envy x360 Clickpad, and lo and behold this fixed it. The ButtonRelease event wasn't being sent when the button was released: it was only sent when all fingers were off the touchpad, and this caused odd, irritating behavior.

http://permalink.gmane.org/gmane.lin...el.input/38497

Yes, it's in the kernel, but you can just recompile this one kernel module. ( Outline of how to do that: http://askubuntu.com/questions/16827...-kernel-module )

1. Download kernel source for your distro, do preparation steps like it says in guide above.
For me on Debian unstable:

Code:
# apt-get install linux-headers-`uname -r`
# apt-get install linux-source-3.16
# cd /usr/src
# tar xf linux-source*.xz
# cd linux-source-3.16*
# cp ../linux-headers-`uname -r`/Module.symvers .
# make oldconfig
and edit drivers/input/mouse/synaptics.c:

Comment out the entire clause "if (SYN_CAP_FORCEPAD(priv->ext_cap_0c)) {"
(Just put an #if 0 and #endif around the whole thing and the last else...patch shown below

Code:
--- old/linux-source-3.16/drivers/input/mouse/synaptics.c	2014-10-30 12:41:01.000000000 -0400
+++ linux-source-3.16/drivers/input/mouse/synaptics.c	2014-11-30 00:23:08.612060641 -0500
@@ -643,7 +643,7 @@
 
 		hw->left  = (buf[0] & 0x01) ? 1 : 0;
 		hw->right = (buf[0] & 0x02) ? 1 : 0;
-
+#if 0
 		if (SYN_CAP_FORCEPAD(priv->ext_cap_0c)) {
 			/*
 			 * ForcePads, like Clickpads, use middle button
@@ -680,7 +680,9 @@
 
 			hw->left = priv->report_press;
 
-		} else if (SYN_CAP_CLICKPAD(priv->ext_cap_0c)) {
+		} else
+#endif 
+		if (SYN_CAP_CLICKPAD(priv->ext_cap_0c)) {
 			/*
 			 * Clickpad's button is transmitted as middle button,
 			 * however, since it is primary button, we will report
2. Prepare and make modules
Code:
# make prepare
# make modules_prepare
# make SUBDIRS=scripts/mod
# make SUBDIRS=drivers/input/mouse modules
3. Overwrite current modules
Code:
# rmmod psmouse
(Removing the module will disable your mouse, but it will soon be reactivated)
(Also if you have any modules containing 'synaptics' loaded, just unload those...check lsmod)
# cp drivers/input/mouse/*.ko /lib/modules/`uname -r`/kernel/drivers/input/mouse
# depmod -a
# modprobe psmouse
4. Now, it should be fixed. If it isn't, try rebooting in case somehow all the modules didn't get unloaded.

Last edited by xtknight; 11-30-2014 at 01:08 PM.
 
1 members found this post helpful.
Old 12-20-2014, 02:59 PM   #4
peregin55
LQ Newbie
 
Registered: Nov 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you! That fixed the issue.
 
  


Reply



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
Remmina doesn't double-click prowla Linux - Software 2 07-12-2012 03:03 AM
[SOLVED] Gnome 3 touchpad click sometimes doesn't work Lumify Linux - Hardware 2 02-15-2012 02:46 AM
Touchpad (Alps, driver synaptics, Slackware 13): middle button click doesn't work giberg Slackware 10 11-06-2011 10:58 AM
Double click doesn't work in certain places voyciz Linux - Software 3 09-26-2009 07:38 PM
Double Click on Touchpad? ClayB Linux - Laptop and Netbook 6 05-24-2004 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:04 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration