[pkg-fso-maint] tslib and X 1.7 [Fwd: [Fwd: Re: [debian] Latest xserver 1.7 and touch screen problems]]

Gilles Filippini pini at debian.org
Mon Jan 25 13:00:53 UTC 2010


Gilles Filippini a écrit , Le 25/01/2010 11:29:
> Well, I'm not sure whether it's a tslib/udev or X problem. I've tried
> adding a udev rules file for tslib:
> 
>  pini at debian-gta02:~$ cat /lib/udev/rules.d/66-xorg-tslib.rules
>  ACTION!="add|change", GOTO="xorg_tslib_end"
>  KERNEL!="event*", GOTO="xorg_tslib_end"
> 
>  ENV{ID_INPUT_TOUCHSCREEN}=="?*", ENV{x11_driver}="tslib"
> 
>  LABEL="xorg_tslib_end"
> 
> It prevents the evdev driver to handle the touchscreen, but
> unfortunately it renders the FR unusable since mouse button events
> aren't correctly detected.

I've given another try, setting the above udev rule and removing the
whole tslib InputDevice section from my xorg.conf file. It works so far.

It seems that whatever InputDevice is defined in xorg.conf for the
touchscreen, X.org defines another one from udev inputs if any, leading
to two X InputDevices competing to handle the touchscreen events. I
don't know X enough to characterize this as a bug or not.

To workaround this problem, disabling either the udev[1] or the
configured[2] device works.

[1] setting the above udev rule with 'ENV{x11_driver}=""'
[2] setting the above udev rule with 'ENV{x11_driver}="tslib"' and
removing the related InputDevice section from xorg.conf

Thanks,

_g.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20100125/8a241d0b/attachment.pgp>


More information about the pkg-fso-maint mailing list