[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
Mon Jan 25 18:30:10 UTC 2010


On Mon, 25 Jan 2010 15:03:21 +0100, Gilles Filippini wrote:

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

Something's different on my freerunner:
 
> Hypothesis verified using "xinput list":
> pini at debian-gta02:~$ xinput list
> ⎡ Virtual core pointer                    id=2	[master pointer  (3)]
> ⎜   ↳ Virtual core XTEST pointer          id=4	[slave  pointer  (2)]
> ⎜   ↳ s3c2410 TouchScreen                 id=6	[slave  pointer  (2)]
> ⎜   ↳ "s3c2410 TouchScreen"               id=8	[slave  pointer  (2)]
> ⎣ Virtual core keyboard                   id=3	[master keyboard (2)]
>     ↳ Virtual core XTEST keyboard         id=5	[slave  keyboard (3)]
>     ↳ "PCF50633 PMU events"               id=7	[slave  keyboard (3)]
>     ↳ "Neo1973 Buttons"                   id=9	[slave  keyboard (3)]

deanna:~# xinput list
�Virtual core pointer                         id=2    [master pointer  (3)]
�  �Virtual core XTEST pointer               id=4    [slave  pointer  (2)]
�  �"PS2++ Logitech MX Mouse"                id=9    [slave  pointer  (2)]
�Virtual core keyboard                        id=3    [master keyboard (2)]
    �Virtual core XTEST keyboard              id=5    [slave  keyboard (3)]
    �"Power Button"                           id=6    [slave  keyboard (3)]
    �"Sleep Button"                           id=7    [slave  keyboard (3)]
    �"AT Translated Set 2 keyboard"           id=8    [slave  keyboard (3)]

lsinput shows the "missing" devices:
deanna:~# lsinput 
/dev/input/event0
   bustype : BUS_I2C
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "PCF50633 PMU events"
   bits ev : EV_SYN EV_KEY EV_PWR

/dev/input/event1
   bustype : BUS_RS232
   vendor  : 0xdead
   product : 0xbeef
   version : 257
   name    : "s3c2410 TouchScreen"
   bits ev : EV_SYN EV_KEY EV_ABS

/dev/input/event2
   bustype : BUS_I2C
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "lis302-1 (top)"
   bits ev : EV_SYN EV_ABS

/dev/input/event3
   bustype : BUS_HOST
   vendor  : 0x1
   product : 0x1
   version : 256
   name    : "Neo1973 Buttons"
   phys    : "neo1973kbd/input0"
   bits ev : EV_SYN EV_KEY EV_SW

> See the two "TouchScreen"?
> Double quoted devices are those originating from udev.

Don't tell my touchscreen it doesn't exist :)

JFTR: I'm not running hal, which might change something ...

My /etc/X11/xorg.conf contains:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "tslib"
        Option      "Device" "/dev/input/event1"
        Option      "Width" "480"
        Option      "Height" "640"
EndSection

My xserver-* packages:

deanna:~# dpkg -l xserver-* | grep ^ii
ii  xserver-common             2:1.7.4-2                    common files used by various X servers
ii  xserver-xorg               1:7.5+2                      the X.Org X server
ii  xserver-xorg-core          2:1.7.4-2                    Xorg X server - core server
ii  xserver-xorg-input-evdev   1:2.3.2-3                    X.Org X server -- evdev input driver
ii  xserver-xorg-input-kbd     1:1.4.0-1                    X.Org X server -- keyboard input driver
ii  xserver-xorg-input-tslib   0.0.6-1+b1                   tslib touchscreen driver for X.Org/XFree86 s
ii  xserver-xorg-video-fbdev   1:0.4.1-1                    X.Org X server -- fbdev display driver
ii  xserver-xorg-video-glamo   0.0.0+20091108.git9918e082-1 X.Org X server -- SMedia Glamo display drive

Or is the "old" udev responsible? With the Debian kernel the newest
one can't be installed:

deanna:~# dpkg -l udev
ii  udev                  149-2                 /dev/ and hotplug management daemon

Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Alanis Morissette: I Was Hoping
-------------- 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/20100125/c2100154/attachment.pgp>


More information about the pkg-fso-maint mailing list