Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357477 - x11-drivers/xf86-input-synaptics-1.4.0: After update, touchpad not detected/configured properly
Summary: x11-drivers/xf86-input-synaptics-1.4.0: After update, touchpad not detected/c...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gilles Dartiguelongue (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-05 04:00 UTC by Jacob Church
Modified: 2015-03-30 12:15 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.0.log (Xorg.0.log,19.27 KB, text/plain)
2011-03-05 07:41 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Church 2011-03-05 04:00:06 UTC
After updating xorg-server and its drivers, I restarted X and now the vertical scrolling isn't limited to the right-edge of the touchpad. I can scroll vertically from ~90% of the touchpad surface, and this makes it difficult to move the mouse pointer around. My laptop is an HP G60.

Reproducible: Always

Steps to Reproduce:
1. Start X
2. Try to move mouse pointer.



From /var/log/Xorg.0.log

[    27.841] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event4)
[    27.841] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    27.841] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    27.841] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad"
[    27.841] (II) LoadModule: "synaptics"
[    27.841] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[    27.847] (II) Module synaptics: vendor="X.Org Foundation"
[    27.847] 	compiled for 1.9.4, module version = 1.3.0
[    27.847] 	Module class: X.Org XInput Driver
[    27.847] 	ABI class: X.Org XInput driver, version 11.0
[    27.847] (II) Synaptics touchpad driver version 1.3.0
[    27.847] (**) Option "Device" "/dev/input/event4"
[    27.885] (--) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5592
[    27.885] (--) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4916
[    27.885] (--) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    27.885] (--) SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    27.885] (--) SynPS/2 Synaptics TouchPad: buttons: left right
[    27.885] (**) Option "SHMConfig" "on"
[    27.885] (**) Option "EmulateTwoFingerMinZ" "0"
[    27.885] (**) Option "VertEdgeScroll" "on"
[    27.885] (**) Option "HorizEdgeScroll" "on"
[    27.885] (**) Option "VertTwoFingerScroll" "on"
[    27.885] (**) Option "HorizTwoFingerScroll" "on"
[    27.885] (**) Option "TapButton1" "1"
[    27.885] (**) Option "TapButton2" "2"
[    27.885] (**) Option "TapButton3" "3"
[    27.885] (**) Option "CircularScrolling" "on"
[    27.885] (**) Option "CircScrollTrigger" "2"
[    27.917] (--) SynPS/2 Synaptics TouchPad: touchpad found
[    27.917] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    27.933] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
[    27.933] (**) SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    27.933] (**) SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
[    27.933] (**) SynPS/2 Synaptics TouchPad: AccelFactor is now 0.037
[    27.933] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    27.933] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    27.933] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    27.933] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    27.957] (--) SynPS/2 Synaptics TouchPad: touchpad found
[    27.957] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    27.957] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    27.957] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad"
[    27.957] (II) Synaptics touchpad driver version 1.3.0
[    28.261] (EE) SynPS/2 Synaptics TouchPad no synaptics event device found
[    28.261] (**) Option "Device" "/dev/input/mouse0"
[    28.269] (--) SynPS/2 Synaptics TouchPad: invalid x-axis range.  defaulting to 1615 - 5685
[    28.269] (--) SynPS/2 Synaptics TouchPad: invalid y-axis range.  defaulting to 1729 - 4171
[    28.269] (--) SynPS/2 Synaptics TouchPad: invalid pressure range.  defaulting to 0 - 256
[    28.269] (--) SynPS/2 Synaptics TouchPad: invalid finger width range.  defaulting to 0 - 16
[    28.269] (**) Option "SHMConfig" "on"
[    28.269] (**) Option "EmulateTwoFingerMinZ" "0"
[    28.269] (**) Option "VertEdgeScroll" "on"
[    28.269] (**) Option "HorizEdgeScroll" "on"
[    28.269] (**) Option "VertTwoFingerScroll" "on"
[    28.269] (**) Option "HorizTwoFingerScroll" "on"
[    28.269] (**) Option "TapButton1" "1"
[    28.269] (**) Option "TapButton2" "2"
[    28.269] (**) Option "TapButton3" "3"
[    28.269] (**) Option "CircularScrolling" "on"
[    28.269] (**) Option "CircScrollTrigger" "2"
[    28.289] (EE) Query no Synaptics: 6003C8
[    28.289] (--) SynPS/2 Synaptics TouchPad: no supported touchpad found
[    28.289] (EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
[    28.302] (EE) PreInit failed for input device "SynPS/2 Synaptics TouchPad"
[    28.302] (II) UnloadModule: "synaptics"
Comment 1 Rafał Mużyło 2011-03-05 05:29:39 UTC
This kind of question should be asked on the forum.

But, among other:
- SHMConfig is unneeded for 1.9 server
- you should restrict the snippet installed with the driver to '/dev/input/event*' paths
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-03-05 07:41:25 UTC
Created attachment 264805 [details]
Xorg.0.log

Same problem here. As soon as I upgrade to xf86-input-synaptics-1.4.0 driver xorg won't find my touchpad anymore.
I have the following touchpad settings in my xorg.conf file:

Section "InputClass"
        Driver          "synaptics"
        Identifier      "TouchPad"
        Option          "SendCoreEvents"
        Option          "Protocol"      "auto-dev"
        Option          "Device"        "/dev/touchpad"
        Option          "TapButton1"    "1"
        Option          "TapButton2"    "2"
        Option          "TapButton3"    "3"
        Option          "RTCornerButton" "2"
        Option          "RBCornerButton" "3"
        Option          "VertEdgeScroll"    "1"
        Option          "VertScrollDelta"  "45"
        Option          "HorizEdgeScroll"   "1"
        Option          "HorizScrollDelta" "45"
        Option          "MaxTapTime"    "300"
        MatchIsTouchpad "on"
EndSection


/dev/touchpad is a symlink created by a self-written udev-rule:

KERNEL=="event[0-9]", SUBSYSTEMS=="input", ATTRS{name}=="SynPS/2 Synaptics TouchPad", SYMLINK="touchpad"

The symlink points to the /dev/input/event? device associated with the touchpad. Even changing the udev-rule to make the symlionk pointing to the /dev/input/mouse? device that belongs to the touchpad doesn't fix the problem.
Comment 3 Rafał Mużyło 2011-03-05 14:41:39 UTC
Well, you should read bug 345981 and blog post it references first.
I don't think 'Device' is a valid option for InputClass.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-03-05 18:35:43 UTC
(In reply to comment #3)
> Well, you should read bug 345981 and blog post it references first.
> I don't think 'Device' is a valid option for InputClass.
> 

It worked up to xf86-input-synaptics-1.3.0
But you're right, replacing the "Device" Option by "MatchDevicePath" like written in the blog post you mentioned solved the problem on my system.

So maybe a dupe of bug #345981 or at least very similar to that bug.
Comment 5 Jacob Church 2011-03-05 18:43:28 UTC
Adding the line


MatchDevicePath "/dev/input/event*"

as in bug 345981 gets rid of the error messages in Xorg.0.log, but the movement behavior is still the same. My workaround was to download xf86-input-synaptics-1.2.0 and use this for my /etc/X11/xorg.conf.d/50-synaptics.conf:


Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "SHMConfig" "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection
Comment 6 Martin Wegner 2011-04-06 12:23:33 UTC
Since my previous solution of downgrading xf86-input-synaptics to version 1.3.0 does not work any more with x11-base/xorg-server-1.10.0.901 since xf86-input-synaptics-1.3.0 does not compile against this server, I am now in the situation that I'd have to downgrade xorg-server, too, or I'd have to accept the device not being detected correctly.

So I'd like to ask if there is any progress on this to make the synaptics driver detect the touchpad again? Of course, I'm willing to assist with any needed information, etc. ...
Comment 7 Piotr Karbowski (RETIRED) gentoo-dev 2011-04-06 12:31:10 UTC
All what I had to do was hashout one line in my synaptic config:

#Option         "Device"        "/dev/input/mouse0"

That's all, try it.
Comment 8 Robin Bankhead 2011-04-07 03:08:18 UTC
I've hit a similar problem on upgrade to synaptics-1.4.0; sort of opposite in fact, as I now have *no* vertical-scroll area. I have tried using synclient to set various RightEdge values higher and lower than the default (it's the only perhaps-relevant setting listed), to no avail.

Platform is a Samsung NC10 netbook. I have the following in /etc/X11/xorg.conf.d/96-synaptics.conf

Section "InputClass"
        Identifier "touchpad"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "AutoServerLayout" "on"

        Option "Protocol" "Auto"
        Option "SHMConfig" "true"
        Option "Emulate3Buttons" "true"
        Option "UpDownScrolling" "1"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
EndSection

I also commented-out the "touchpad catchall" section in /etc/X11/xorg.conf.d/10-evdev.conf, but my Xorg.0.log output is still similar to the above posts.
Comment 9 Martin Wegner 2011-04-07 15:48:02 UTC
I also commented out evdev catchall rules for pointer and touchpad devices in /etc/X11/xorg.conf.d/10-evdev.conf.

Especially after disabling the touchpad catch-all, it seems that the touchpad can be configured by Gnome again: The vertical scrolling and tapping started to work again.

But still I see the synaptics driver failing to initialize the touchpad in /var/log/Xorg.0.log :

[   171.392] (EE) Query no Synaptics: 6003C8
[   171.392] (--) SynPS/2 Synaptics TouchPad: no supported touchpad found
[   171.392] (EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
[   171.404] (EE) PreInit returned 11 for "SynPS/2 Synaptics TouchPad"
[   171.404] (II) UnloadModule: "synaptics"
[   171.404] (II) Unloading synaptics

Synaptics config looks like this in /etc/X11/xorg.conf.d/05-synaptics.conf :

Section "InputClass"
        Identifier "touchpad"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "SHMConfig" "on"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
EndSection

As you can see, there is no "Device" option line, but the error is still there.
Comment 10 Dennis Nezic 2011-04-07 20:32:54 UTC
Piotr's suggestion from comment #7 did it for me.

(This was/is a terribly annoying bug.)
Comment 11 Robin Bankhead 2011-04-14 11:41:05 UTC
I identified the cause of my no-scroll issue, thanks to installing the kcm_touchpad package and enabling vertical scrolling in the GUI.

A diff of synclient -l output before and after saving the changes in GUI showed the following:

6,7c6,7
<     FingerLow               = 24
<     FingerHigh              = 29
---
>     FingerLow               = 21
>     FingerHigh              = 26
20c20
<     VertEdgeScroll          = 0
---
>     VertEdgeScroll          = 1
48c48
<     CircScrollDelta         = 0.1
---
>     CircScrollDelta         = 30
54c54
<     CoastingSpeed           = 20
---
>     CoastingSpeed           = 0.4

The obvious change is VertEdgeScroll 0 > 1. As you see above my config only had the parameter "UpDownScrolling" which I see isn't listed any more so I assume is defunct now. So likely my issue is not shared with most others here, but it may be worth checking whether the config parameters you use are still supported in case this answers your issues too.
Comment 12 Jacob Church 2011-05-04 06:04:27 UTC
Found this workaround for version 1.3.99.901-2 on Fedora 15

xinput --set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure"
280

https://bugs.freedesktop.org/show_bug.cgi?id=32538#c7

The property was set at 29. I haven't tried any values other than 29 (bad) and 280 (which seems to work fine).
Comment 13 Bibär.ch 2011-07-01 19:13:31 UTC
Hi all


I think i found another way to fix this bug (works for me with kde-4.6.4):

I edited in this file: /etc/X11/xorg.conf.d/10-evdev.conf 

The InputSection like this:
Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        #Driver "evdev" <--- Driver replaced
        Driver "synaptics"
EndSection


Regards
Comment 14 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-03-30 12:15:39 UTC
older xf86-input-synaptics versions will be removed due to bug 544094. If you are still seeing this problem, please work with upstream to get it resolved in newer versions.