FS#41589 - [xf86-input-synaptics] 1.8.0-3 breaks functionality
Attached to Project:
Arch Linux
Opened by Charles Bos (Chazza) - Sunday, 17 August 2014, 15:19 GMT
Last edited by Laurent Carlier (lordheavy) - Friday, 22 August 2014, 21:17 GMT
Opened by Charles Bos (Chazza) - Sunday, 17 August 2014, 15:19 GMT
Last edited by Laurent Carlier (lordheavy) - Friday, 22 August 2014, 21:17 GMT
|
Details
Description:
After updating to xf86-input-synaptics 1.8.0-3 touchpad functionality on my laptop is broken. The mouse cursor shows up on the centre of the screen but it cannot be moved with the touchpad. For the touchpad to work I have to downgrade to 1.8.0-2 My touchpad is an ETPS/2 Elantech Touchpad Additional info: * package version(s) xf86-input-synaptics 1.8.0-3 Steps to reproduce: Upgrade to xf86-input-synaptics 1.8.0-3 |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Friday, 22 August 2014, 21:17 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Friday, 22 August 2014, 21:17 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Please note that in case of modified synaptics config file in /etc/X11/xorg.conf.d/ , you'll probably have to rename it and remove .backup suffix
@Laurent here's my Xorg.0.log: http://pastebin.com/raw.php?i=4pKa28Cm
@Doug No I've never had to customise 50-synaptics.conf to get the touchpad to work before. It was as simple as 'install and it works.'
Xorg.0.log: http://pastebin.com/hYAn0Gs7
The problem is this section in /usr/share/X11/xorg.conf.d/50-synaptics.conf:
Section "InputClass"
Identifier "Default clickpad buttons"
MatchDriver "synaptics"
Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
Option "SecondarySoftButtonAreas" "58% 0 0 8% 42% 58% 0 8%"
EndSection
Just comment this section and all will be fine! In /etc/X11/xorg.conf.d/ I left only 50-synaptics.conf.pacsave.
Here's the beginning of my Xorg log file: http://pastebin.com/raw.php?i=1CkE2Fha
Here is the partial output of my Xorg log file showing the backtraces: http://pastebin.com/raw.php?i=sEgmckki
The first part (about being "unable to find touch point 0") was repeated a couple hundred times so I removed most of it, and there were probably 20 backtraces that all appeared identical.
I will try copying 50-synaptics.conf to /etc/X11/xorg.conf.d/ and report back.
EDIT: Copying /usr/share/X11/xorg.conf.d/50-synaptics.conf to /etc/X11/xorg.conf.d/50-synaptics.conf fixed my touchpad. Thanks kurych!
@the package maintainer: Should we symlink /etc/X11/xorg.conf.d/50-synaptics.conf to /usr/share/X11/xorg.conf.d/50-synaptics.conf instead of copying the file?
the warning about "unable to find touch point 0" should probably be fixed with http://cgit.freedesktop.org/xorg/driver/xf86-input-evdev/commit/?id=8ce06c96e469139bb12065d80fe4abb6173e2855
Can you test xf86-input-evdev package here: http://pkgbuild.com/~lcarlier/test/ ?
Only relocation file 50-synaptics.conf into /etc/X11/xorg.conf.d/ solves the problem for me.
I also had the same problem and temporarily downgraded to 1.8.0-2, but copying this file fixed the problem. I previously only had the 10-evdev.conf file in /etc/X11/xorg.conf.d, but now have them both. I don't know exactly why the touchpad doesn't work automagically without this 50-synaptics.conf file. Just hope it works like that again in future versions.
https://bbs.archlinux.org/viewtopic.php?id=186009
xorg-server currently puts that file in /usr/share/X11/xorg.conf.d/, so you're overriding it by having one in /etc/X11/xorg.conf.d
There are Just some, but important for me, strings:
$ diff /usr/share/X11/xorg.conf.d/10-evdev.conf /etc/X11/xorg.conf.d/10-evdev.conf
1,2c1
< #
< # Catch-all evdev loader for udev-based systems
---
> # Catchall classes for input devices
18a18,24
> # Keyboard layouts
> Option "XkbLayout" "us, ru"
> Option "XkbVariant" ", winkeys"
> # Option "XkbOptions" "grp:alt_shift_toggle, grp_led:scroll, terminate:ctrl_alt_bksp"
> # Option "XkbOptions" "grp:lwin_toggle,grp_led:caps"
> Option "XkbOptions" "grp:toggle,grp_led:caps"
> Option "XkbModel" "thinkpad60"
With this text:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "gb"
EndSection
Obviously, changing "gb" to the correct code for the Russian layout and adding any extra options necessary.
See the following for more info: https://wiki.archlinux.org/index.php/Keyboard_Configuration_in_Xorg#Using_X_configuration_files
Hope this helps.
files from /usr/share/X11/xorg.conf.d/ are always loaded to provide default settings and
files from /etc/X11/xorg.conf.d/ are also always loaded, to override default settings if necessary?
It seems like the problem is that 50-synaptics.conf is failing to be loaded from /usr/share/X11/xorg.conf.d/.
I don't see why a 10-evdev.conf under /etc should cause problems if it's the same as the /usr/share one, or why varying config in /etc/X11/xorg.conf.d/10-evdev.conf would be different to doing it in /etc/X11/xorg.conf.d/10-keyboard.conf.
But the question posed by Chris Berkhout, requires a response too.
It's not a packaging bug, but the result of old configuration files.
I have 10-evdev.conf in both dirs, but the only difference is keyboard config.
Is the problematic old config file the /usr/share/X11/xorg.conf.d/10-evdev.conf? If so, shouldn't the package remove, rename or at least warn about it?
With the 10-evdev.conf in /etc deleted, the 10-evdev.conf and 50-synaptics.conf in /usr/share will be loaded.
@kurych Glad that's working for you.
When you copy 10-evdev.conf file into /etc/X11 you completly override previous system configuration. It's the reason copying synaptics configuration file into /etc/X11 fixes the issue
Defining default system configuration in /etc/X11 with previous xorg was a mistake, now it's fixed.
Wiki should be fixed. It's not a packaging bug, but a configuration bug.