[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[xserver-xorg-input-synaptics] Add MatchDevicePath to 50-synaptics.conf



Hi,

while digging trough upstream xf86-input-synaptics I fell over [1]
with a hint to Peters Hutterer's blog-article in [2].

Following the recommendation...

# diff -uprN /usr/share/X11/xorg.conf.d/50-synaptics.conf.dist
/usr/share/X11/xorg.conf.d/50-synaptics.conf
--- /usr/share/X11/xorg.conf.d/50-synaptics.conf.dist   2011-02-21
05:00:06.000000000 +0100
+++ /usr/share/X11/xorg.conf.d/50-synaptics.conf        2011-03-12
16:58:32.961025242 +0100
@@ -2,4 +2,5 @@ Section "InputClass"
         Identifier "touchpad catchall"
         Driver "synaptics"
         MatchIsTouchpad "on"
+       MatchDevicePath "/dev/input/event*"
 EndSection

...drops "mis-configuration(s)":

# egrep -i 'mouse|evdev|synaptic'
Xorg.0.log.BEFORE_50-synaptics.conf_changed | grep EE
[    43.278] (EE) Query no Synaptics: 6003C8
[    43.278] (EE) SynPS/2 Synaptics TouchPad Unable to
query/initialize Synaptics hardware.
[    43.278] (EE) PreInit returned 11 for "SynPS/2 Synaptics TouchPad"

# egrep -i 'mouse|evdev|synaptic'
Xorg.0.log.AFTER_50-synaptics.conf_changed | grep EE
[ No output ]

Tested with xserver-1.10-rc3, xserver-xorg-input-synaptics
(1.3.99.901-1+exp1) and a linux-next (next-20110311) kernel.

So, it might be good to add MatchDevicePath together with the comments
like in [1] to the Debian package.

Regards,
- Sedat -

P.S.: Attached are my Xorg.logs before and after the change to
50-synaptics.conf file.

[1] http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/commit/?id=0662e1c18122768549e51baf9ce3649c57ff0528
[2] http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html

Attachment: Xorg.0.log.BEFORE_50-synaptics.conf_changed
Description: Binary data

Attachment: Xorg.0.log.AFTER_50-synaptics.conf_changed
Description: Binary data


Reply to: