[pkg-fso-maint] Bug#523911: xserver-xorg-input-tslib: please document that Device may not be specified with hal
Timo Juhani Lindfors
timo.lindfors at iki.fi
Mon Apr 13 14:03:16 UTC 2009
Package: xserver-xorg-input-tslib
Version: 0.0.5-8
Severity: wishlist
[ Cc added to pkg-fso-maint at lists.alioth.debian.org since their
install.sh configures tslib with Device option and thus does not work
with new Xorg that has hal as a dependency. ]
If I specify
Option "Device" "/dev/input/event1"
and I run hal I get very odd behavior (pointer moves but I can click
only once). Please consider documenting this in tslib(4). Details
follow:
Steps to reproduce:
0) make sure hald is running
1) cat > /etc/X11/xorg.conf <<EOF
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "tslib"
Option "Device" "/dev/input/event1"
Option "Width" "480"
Option "Height" "640"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
DisplaySize 200 200
EndSection
Section "Device"
Identifier "Videocard0"
Driver "glamo"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
EndSection
EOF
2) sudo Xorg
3) export DISPLAY=:0
4) icewm
5) xev
6) touch the screen briefly
Expected results:
6) xev sees ButtonPress, MotionNotify and ButtonRelease events
Actual results:
6) xev sees only ButtonPress and MotionNotify events:
EnterNotify event, serial 30, synthetic NO, window 0x400001,
root 0x41, subw 0x0, time 5355011, (124,124), root:(128,148),
mode NotifyNormal, detail NotifyAncestor, same_screen YES,
focus YES, state 0
KeymapNotify event, serial 30, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
MotionNotify event, serial 30, synthetic NO, window 0x400001,
root 0x41, subw 0x0, time 5355011, (124,124), root:(128,148),
state 0x0, is_hint 0, same_screen YES
ButtonPress event, serial 30, synthetic NO, window 0x400001,
root 0x41, subw 0x0, time 5355012, (124,124), root:(128,148),
state 0x0, button 1, same_screen YES
MotionNotify event, serial 30, synthetic NO, window 0x400001,
root 0x41, subw 0x0, time 5355013, (124,124), root:(128,148),
state 0x100, is_hint 0, same_screen YES
MotionNotify event, serial 30, synthetic NO, window 0x400001,
root 0x41, subw 0x0, time 5355054, (124,124), root:(128,148),
state 0x100, is_hint 0, same_screen YES
MotionNotify event, serial 30, synthetic NO, window 0x400001,
root 0x41, subw 0x0, time 5355055, (124,124), root:(128,148),
state 0x100, is_hint 0, same_screen YES
MotionNotify event, serial 30, synthetic NO, window 0x400001,
root 0x41, subw 0x0, time 5355111, (124,124), root:(128,148),
state 0x100, is_hint 0, same_screen YES
More info:
1) If screen is touched again xev only sees MotionNotify events.
2) If I /etc/init.d/hal stop and restart X then xev works fine.
3) This bug is not related to version 0.0.5-8 specifically since it also
occurs with older versions.
4) I am using openmoko neo freerunner and Milko Krachounov on
#openmoko-debian managed to reproduce this bug with openmoko neo1973.
5) I don't hit the bug if I comment out the
Option "Device" "/dev/input/event1"
line completely.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: armel (armv4tl)
Kernel: Linux 2.6.28-GTA02_lindi-andy-tracking_b8b36e5ec3db71d5-mokodev (PREEMPT)
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages xserver-xorg-input-tslib depends on:
ii libc6 2.9-7 GNU C Library: Shared libraries
ii libts-0.0-0 1.0-7 touch screen library
ii xserver-xorg-core 2:1.6.0-1 Xorg X server - core server
Versions of packages xserver-xorg-input-tslib recommends:
ii hal 0.5.12~git20090406.46dc48-1 Hardware Abstraction Layer
xserver-xorg-input-tslib suggests no packages.
-- no debconf information
More information about the pkg-fso-maint
mailing list