FS#20830 - [xf86-input-synaptics] loads module twice
Attached to Project:
Arch Linux
Opened by Stefan Wilkens (stefanwilkens) - Sunday, 12 September 2010, 19:37 GMT
Last edited by Jan de Groot (JGC) - Monday, 17 January 2011, 22:09 GMT
Opened by Stefan Wilkens (stefanwilkens) - Sunday, 12 September 2010, 19:37 GMT
Last edited by Jan de Groot (JGC) - Monday, 17 January 2011, 22:09 GMT
|
Details
Description:
With the installation of xf86-input-synaptics, a file is installed to /etc/X11/xorg.conf.d/10-synaptics. The presence of this file seems to cause a double loading of the synaptics driver, sometime leading to a non-functional touchpad: https://bbs.archlinux.org/viewtopic.php?id=104769 Additional info: * package version(s): 1.2.2-2 * config and/or log files etc. /etc/X11/xorg.conf.d/10-synaptics.conf Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" EndSection Steps to reproduce: 1. install xf86-input-{evdev,synaptics} 2. start x |
This task depends upon
[ 9304.803] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 9304.803] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
full log attached
MatchDevicePath "/dev/input/event*"
to /etc/X11/xorg.conf.d/10-synaptics.conf seems to solve the double module loading issue.
suggested by anti-destin here:
https://bbs.archlinux.org/viewtopic.php?pid=825156#p825156
[ 6.367] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/event7)
[ 6.503] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/mouse1)
Both of these match the rule in 10-synaptics.conf, but the second one fails to load on my system. If I restrict the rule as described by Stefan then the second instance is ignored.
A consequence is to reduce the start time of X from to 3.8 to 1.1 seconds.
Is there any reason why a touchpad might want to match on /dev/input/mouse* rather than /dev/input/event*?
[root@kr ~]# grep -i inputclass /var/log/Xorg.0.log | grep SynPS
[ 130.198] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 130.198] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[ 1424.694] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 1424.694] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
Scrolling (right side of the touchbad) does not work anymore.
Two things you could try:
1) (probably the proper fix) rename 10-evdev.conf to 11-evdev.conf
2) comment out the "evdev touchpad catchall" section in 10-evdev.conf
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
[22:46] kr:internal%
After moving it to 11-evdev.conf my mouse jumps around heavily, when I use the touchpad.
The logfile is with rename 11-evdev.conf.
# Section "InputClass"
# Identifier "evdev touchpad catchall"
# MatchIsTouchpad "on"
# MatchDevicePath "/dev/input/event*"
# Driver "evdev"
# EndSection
makes it behave like the original case with 10-evdev.conf (commented it out in the renamed file now).
% synclient VertEdgeScroll=1
Though it's weired that this stopped being the default