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

gregor herrmann gregoa at debian.org
Sun Apr 18 00:40:50 UTC 2010


On Mon, 25 Jan 2010 14:00:53 +0100, Gilles Filippini wrote:

> > 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.

Good old times. It's this time of the year again: the touchscreen is
broken yet another time.

The culprit is xserver-xorg-input-evdev: with 1:2.3.2-5 (unstable)
the clicks go somewhere, downgrading to 1:2.3.2-4 (testing) helps.

The difference I've found so far is:

1) in testing:

$ cat /lib/udev/rules.d/65-xorg-evdev.rules
ACTION!="add|change", GOTO="xorg_evdev_end"

# By default, we use the -evdev driver for every mouse, keyboard, touchscreen
# or touchpad; later rules can then change the driver for specific input
# devices.
KERNEL!="event*", GOTO="xorg_evdev_end"
ENV{ID_INPUT}=="", GOTO="xorg_evdev_end"
ENV{ID_INPUT_MOUSE}=="?*", ENV{x11_driver}="evdev"
ENV{ID_INPUT_KEY}=="?*", ENV{x11_driver}="evdev"
ENV{ID_INPUT_TOUCHSCREEN}=="?*", ENV{x11_driver}="evdev"
ENV{ID_INPUT_TOUCHPAD}=="?*", ENV{x11_driver}="evdev"

LABEL="xorg_evdev_end"

2) in unstable this file is removed, and there's a new one:

$ cat /lib/udev/rules.d/05-evdev.conf
# Catchall classes for input devices
# 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


Now, does anyone know how to get this to work with tslib?
Or maybe it's not these files but some other changes in
xserver-xorg-input-evdev ...


Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Funny Van Dannen: Freunde der Realität
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20100418/348bd13e/attachment.pgp>


More information about the pkg-fso-maint mailing list