Package: libts-0.0-0
Version: 1.0-8
Severity: important

Steps to reproduce:
0) get access to an openmoko freerunner
1) sudo sh -c 'TSLIB_TSDEVICE=/dev/input/event1 ts_test'

Expected results:
1) ts_test can read the touchscreen

Actual results:
1) ts_test prints

selected device is not a touchscreen I understand

and uses all available cpu time.

More info:
1) I am using openmoko freerunner

2) This bug occurs if I upgrade libts-0.0-0 1.0-7 to 1.0-8 and stops
occuring if I downgrade back to 1.0-7.

3) Discussion from #openmoko-debian:

< McKael> lindi-: I think my tslib is broken - your conf doesn't work here :/
< McKael> I can't see why.  It seems that in testing and unstable there are the 
same xorg packages
< lindi-> McKael: I think I just hit the bug after I rebooted :)
< McKael> lindi-: Sorry to say that but -- Yesss, I'm not alone :))
< lindi-> I don't reboot that often :)
< lindi-> dist-upgrade would remove gpsd-clients libsdl1.2debian-alsa 
python-gtk2
< lindi-> so this sounds like a bad day to do it
< lindi-> well hmm, after second boot the bug does not occur :)
< McKael> :o
< lindi-> aha, it only goes to that state if it timeouts
< lindi-> iiinteresting
< McKael> what state?
< lindi-> %CPU %MEM    TIME+  COMMAND
< lindi-> 97.8  4.6   0:11.02 Xorg
< lindi-> no, I need to touch the screen
< lindi-> then it goes to that state
< lindi-> my last boot was Apr 9
< lindi-> on Apr 13 I upgraded a bunch of packages: 
http://paste.debian.net/114294/
< lindi-> 1) "sudo X" 2) touch the screen    prints  "selected device is not a 
touchscreen I understand" and starts using 99% cpu
< lindi-> McKael: I'm downgrading to xserver-xorg 1:7.6+5 now
< lindi-> doesn't seem to help
< McKael> "selected device is not a touchscreen I understand" is the message 
ts_calibrate/ts_test give me
< lindi-> next I'll downgrade to libts-0.0-0 (1.0-7)
< lindi-> now I don't get that message anymore
< lindi-> so the bug occurs if you upgrade libts-0.0-0 (1.0-7) to libts-0.0-0 
(1.0-8)
< lindi-> McKael: can you downgrade to   
http://snapshot.debian.org/archive/debian/20110402T212619Z/pool/main/t/tslib/libts-0.0-0_1.0-7_armel.deb
   and see if it fixes the problem for you as well?
< McKael> I'm leaving but I don't think I can break it more so I'll give it a 
quick try
< lindi-> :)
< lindi-> McKael: "apt-get upgrade" will give you the old broken version back
< lindi-> McKael: so downgrading one package should not be a problem
< McKael> yep
< lindi-> I'll file a bug report
< lindi-> McKael: how did you use ts_test?
< McKael> From ssh, after exporting TSLIB_TSDEVICE=/dev/input/event1
< lindi-> thanks
< lindi-> McKael: can I include the above discussion in the bug report?
< McKael> lindi-: seems to work, with your conf file
< McKael> lindi-: sure
< McKael> lindi-: looks good, thanks, I'll be back later!
< lindi-> -8 changelog does not have anything suspicious

4) Just for the completeness the paste.debian.org url contained

2011-04-13 10:30:34 upgrade base-files 6.1 6.3
2011-04-13 10:31:21 upgrade dpkg 1.15.8.10 1.16.0.1
2011-04-13 10:32:30 upgrade ncurses-bin 5.8+20110307-1 5.9-1
2011-04-13 10:33:15 upgrade sysvinit 2.88dsf-13.1 2.88dsf-13.2
2011-04-13 10:34:02 upgrade ncurses-base 5.8+20110307-1 5.9-1
2011-04-13 10:34:26 upgrade sysvinit-utils 2.88dsf-13.1 2.88dsf-13.2
2011-04-13 10:35:11 upgrade libgomp1 4.6.0-1 4.6.0-2
2011-04-13 10:35:13 upgrade libgfortran3 4.6.0-1 4.6.0-2
2011-04-13 10:35:18 upgrade gcc-4.6-base 4.6.0-1 4.6.0-2
2011-04-13 10:35:34 upgrade libgcc1 1:4.6.0-1 1:4.6.0-2
2011-04-13 10:35:53 upgrade libstdc++6 4.6.0-1 4.6.0-2
2011-04-13 10:36:18 upgrade udev 166-1 167-2
2011-04-13 10:36:42 upgrade libudev0 166-1 167-2
2011-04-13 10:37:00 upgrade keyboard-configuration 1.72 1.73
2011-04-13 10:37:05 upgrade popularity-contest 1.51 1.52
2011-04-13 10:37:11 upgrade apt 0.8.13 0.8.13.2
2011-04-13 10:38:20 upgrade libslang2 2.2.2-4 2.2.4-1
2011-04-13 10:38:48 upgrade sysv-rc 2.88dsf-13.1 2.88dsf-13.2
2011-04-13 10:40:33 upgrade initscripts 2.88dsf-13.1 2.88dsf-13.2
2011-04-13 10:41:40 upgrade libncurses5 5.8+20110307-1 5.9-1
2011-04-13 10:41:58 upgrade apt-utils 0.8.13 0.8.13.2
2011-04-13 10:42:05 upgrade iproute 20110107-2 20110315-1
2011-04-13 10:42:30 upgrade iputils-ping 3:20101006-1 3:20101006-1+b1
2011-04-13 10:42:33 upgrade isc-dhcp-client 4.1.1-P1-16 4.1.1-P1-16.1
2011-04-13 10:42:40 upgrade isc-dhcp-common 4.1.1-P1-16 4.1.1-P1-16.1
2011-04-13 10:42:45 upgrade libncursesw5 5.8+20110307-1 5.9-1
2011-04-13 10:42:50 upgrade libssl-dev 0.9.8o-5 1.0.0d-1
2011-04-13 10:43:15 upgrade libssl0.9.8 0.9.8o-5 0.9.8o-7
2011-04-13 10:43:21 upgrade man-db 2.5.9-4 2.6.0.1-1
2011-04-13 10:43:34 upgrade libdb4.6 4.6.21-17 4.6.21-18
2011-04-13 10:43:55 upgrade libgpm2 1.20.4-3.3 1.20.4-3.4
2011-04-13 10:43:57 upgrade libk5crypto3 1.9+dfsg-1 1.9+dfsg-1+b1
2011-04-13 10:44:01 upgrade libgssapi-krb5-2 1.9+dfsg-1 1.9+dfsg-1+b1
2011-04-13 10:44:05 upgrade libkrb5-3 1.9+dfsg-1 1.9+dfsg-1+b1
2011-04-13 10:44:11 upgrade libkrb5support0 1.9+dfsg-1 1.9+dfsg-1+b1
2011-04-13 10:44:14 upgrade libldap-2.4-2 2.4.23-7 2.4.25-1
2011-04-13 10:44:19 upgrade m4 1.4.14-3 1.4.16-1
2011-04-13 10:44:31 upgrade openssh-server 1:5.8p1-3 1:5.8p1-4
2011-04-13 10:44:56 upgrade openssh-client 1:5.8p1-3 1:5.8p1-4
2011-04-13 10:45:17 upgrade autoconf 2.67-2 2.68-1
2011-04-13 10:45:28 upgrade binutils 2.21.0.20110327-2 2.21.0.20110327-3
2011-04-13 10:46:05 upgrade busybox 1:1.18.4-1 1:1.18.4-2
2011-04-13 10:46:09 upgrade cpp 4:4.5.2-4 4:4.5.2-5
2011-04-13 10:46:12 upgrade cython 0.14.1-4 0.14.1-5
2011-04-13 10:46:45 upgrade dpkg-dev 1.15.8.10 1.16.0.1
2011-04-13 10:46:54 upgrade libdpkg-perl 1.15.8.10 1.16.0.1
2011-04-13 10:47:03 upgrade make 3.81-8 3.81-8.1
2011-04-13 10:47:08 upgrade debhelper 8.1.2 8.1.3
2011-04-13 10:47:31 upgrade gcc 4:4.5.2-4 4:4.5.2-5
2011-04-13 10:47:34 upgrade libtool 2.2.6b-2 2.4-2
2011-04-13 10:47:42 upgrade dh-autoreconf 2 3
2011-04-13 10:47:46 upgrade emacs23-nox 23.2+1-7 23.3+1-1
2011-04-13 10:48:12 upgrade emacs23-bin-common 23.2+1-7 23.3+1-1
2011-04-13 10:48:17 upgrade emacs23-common 23.2+1-7 23.3+1-1
2011-04-13 10:50:08 upgrade g++ 4:4.5.2-4 4:4.5.2-5
2011-04-13 10:50:10 upgrade libtiff4 3.9.4-8 3.9.4-9
2011-04-13 10:50:15 upgrade libgs9-common 9.01~dfsg-2 9.02~dfsg-1
2011-04-13 10:50:41 upgrade ghostscript 9.01~dfsg-2 9.02~dfsg-1
2011-04-13 10:50:47 upgrade libgs9 9.01~dfsg-2 9.02~dfsg-1
2011-04-13 10:51:26 upgrade libhal-dev 0.5.14-5 0.5.14-6
2011-04-13 10:51:30 upgrade libhal1 0.5.14-5 0.5.14-6
2011-04-13 10:51:32 upgrade libhal-storage1 0.5.14-5 0.5.14-6
2011-04-13 10:51:35 upgrade hal 0.5.14-5 0.5.14-6
2011-04-13 10:51:46 upgrade iso-codes 3.24.2-1 3.25-1
2011-04-13 10:52:32 upgrade libroken18-heimdal 1.4.0-4 1.4.0-5
2011-04-13 10:52:35 upgrade libasn1-8-heimdal 1.4.0-4 1.4.0-5
2011-04-13 10:52:47 upgrade libatk1.0-0 1.32.0-3 2.0.0-1
2011-04-13 10:52:51 upgrade libatk1.0-data 1.32.0-3 2.0.0-1
2011-04-13 10:53:13 upgrade libavahi-common-data 0.6.29-1 0.6.30-2
2011-04-13 10:53:30 upgrade libavahi-common3 0.6.29-1 0.6.30-2
2011-04-13 10:53:33 upgrade libavahi-client3 0.6.29-1 0.6.30-2
2011-04-13 10:53:37 upgrade libavahi-glib1 0.6.29-1 0.6.30-2
2011-04-13 10:53:40 upgrade libbluetooth3 4.89-1 4.91-1
2011-04-13 10:53:44 upgrade libdrm2 2.4.23-3 2.4.24-2
2011-04-13 10:53:49 upgrade libx11-data 2:1.4.2-1 2:1.4.3-1
2011-04-13 10:54:01 upgrade x11proto-core-dev 7.0.20-1 7.0.21-2
2011-04-13 10:54:18 upgrade libx11-dev 2:1.4.2-1 2:1.4.3-1
2011-04-13 10:54:57 upgrade xkb-data 1.8-2 2.1-2
2011-04-13 10:55:38 upgrade libx11-6 2:1.4.2-1 2:1.4.3-1
2011-04-13 10:55:43 upgrade libgl1-mesa-glx 7.10-4 7.10.2-1
2011-04-13 10:55:47 upgrade libx11-xcb1 2:1.4.2-1 2:1.4.3-1
2011-04-13 10:55:51 upgrade libegl1-mesa 7.10-4 7.10.2-1
2011-04-13 10:55:59 upgrade libwww-perl 5.837-1 6.01-3
2011-04-13 10:56:36 upgrade libgdk-pixbuf2.0-0 2.22.1-1+sid1 2.23.3-3
2011-04-13 10:57:14 upgrade libpango1.0-0 1.28.3-5 1.28.3-6
2011-04-13 10:57:20 upgrade libgtk2.0-common 2.24.3-1~sid1 2.24.4-3
2011-04-13 10:58:16 upgrade libgail18 2.24.3-1~sid1 2.24.4-3
2011-04-13 10:58:21 upgrade libgtk2.0-0 2.24.3-1~sid1 2.24.4-3
2011-04-13 10:58:32 upgrade libgeoip1 1.4.7~beta12+dfsg-1 1.4.7~beta14+dfsg-1
2011-04-13 10:58:36 upgrade libglu1-mesa 7.10-4 7.10.2-1
2011-04-13 10:59:04 upgrade libgnome-keyring0 2.32.0-1 3.0.0-1
2011-04-13 10:59:10 upgrade libgtk2.0-bin 2.24.3-1~sid1 2.24.4-3
2011-04-13 10:59:13 upgrade libgudev-1.0-0 166-1 167-2
2011-04-13 10:59:17 upgrade libimlib2 1.4.2-8+b2 1.4.4-1
2011-04-13 10:59:25 upgrade libwind0-heimdal 1.4.0-4 1.4.0-5
2011-04-13 10:59:28 upgrade libhx509-5-heimdal 1.4.0-4 1.4.0-5
2011-04-13 10:59:42 upgrade libkrb5-26-heimdal 1.4.0-4 1.4.0-5
2011-04-13 10:59:46 upgrade libltdl7 2.2.6b-2 2.4-2
2011-04-13 10:59:53 upgrade libnm-util1 0.8.3.998-1 0.8.3.999-1
2011-04-13 10:59:58 upgrade libnm-glib2 0.8.3.998-1 0.8.3.999-1
2011-04-13 11:00:01 upgrade libpcap0.8-dev 1.1.1-2 1.1.1-3
2011-04-13 11:00:09 upgrade libpcap0.8 1.1.1-2 1.1.1-3
2011-04-13 11:00:23 upgrade libpcap-dev 1.1.1-2 1.1.1-3
2011-04-13 11:00:25 upgrade libphonon4 4:4.6.0really4.4.4-3 4:4.6.0really4.5.0-2
2011-04-13 11:00:28 upgrade libpixman-1-dev 0.21.4-2 0.21.6-2
2011-04-13 11:00:32 upgrade libpixman-1-0 0.21.4-2 0.21.6-2
2011-04-13 11:00:36 upgrade libpolkit-gobject-1-0 0.101-2 0.101-3
2011-04-13 11:00:39 upgrade libpolkit-backend-1-0 0.101-2 0.101-3
2011-04-13 11:00:43 upgrade libruby1.8 1.8.7.334-3 1.8.7.334-4
2011-04-13 11:01:32 upgrade libsensors4 1:3.2.0-1 1:3.3.0-1
2011-04-13 11:01:36 upgrade libsoup2.4-1 2.30.2-1 2.34.0-1
2011-04-13 11:01:40 upgrade libsoup-gnome2.4-1 2.30.2-1 2.34.0-1
2011-04-13 11:01:54 upgrade libssh2-1 1.2.7-1 1.2.8-1
2011-04-13 11:01:58 upgrade libtag1c2a 1.6.3-1 1.7-1
2011-04-13 11:01:59 upgrade libtag1-vanilla 1.6.3-1 1.7-1
2011-04-13 11:02:03 upgrade libtagc0 1.6.3-1 1.7-1
2011-04-13 11:02:09 upgrade libtotem-plparser17 2.30.3-2 2.32.4-3
2011-04-13 11:02:34 upgrade libts-dev 1.0-7 1.0-8
2011-04-13 11:02:37 upgrade tsconf 1.0-7 1.0-8
2011-04-13 11:02:39 upgrade libts-0.0-0 1.0-7 1.0-8
2011-04-13 11:02:43 upgrade libts-bin 1.0-7 1.0-8
2011-04-13 11:02:46 upgrade libva1 1.0.8-3 1.0.12-1
2011-04-13 11:02:50 upgrade linux-libc-dev 2.6.38-1 2.6.38-3
2011-04-13 11:03:31 upgrade magit 0.8.2+20110220-1 1.0.0-1
2011-04-13 11:03:37 upgrade mupdf 0.8-1 0.8.15-1
2011-04-13 11:04:04 upgrade openssl 0.9.8o-5 1.0.0d-1
2011-04-13 11:04:17 upgrade pm-utils 1.4.1-7 1.4.1-8
2011-04-13 11:04:24 upgrade python-gobject 2.21.4+is.2.21.3-1 2.28.3-2
2011-04-13 11:04:47 upgrade python-gtk2 2.17.0-4 2.17.0-4+b1
2011-04-13 11:05:01 upgrade python-numpy 1:1.4.1-5 1:1.5.1-2
2011-04-13 11:05:36 upgrade python-yaml 3.09-5 3.09-5+b1
2011-04-13 11:05:47 upgrade tcpdump 4.1.1-1 4.1.1-2
2011-04-13 11:05:51 upgrade u-boot-tools 2011.03-1 2011.03-3
2011-04-13 11:05:54 upgrade udhcpd 1:1.18.4-1 1:1.18.4-2
2011-04-13 11:06:15 upgrade wpasupplicant 0.6.10-2.1 0.7.3-2
2011-04-13 11:06:24 upgrade x11-common 1:7.6+5 1:7.6+6
2011-04-13 11:06:29 upgrade x11-xserver-utils 7.6+1 7.6+2
2011-04-13 11:06:35 upgrade xserver-xorg-video-glamo 
0.0.0+20100630.git16af3c00-1 0.0.0+20100630.git16af3c00-2
2011-04-13 11:06:38 upgrade xserver-xorg 1:7.6+5 1:7.6+6
2011-04-13 11:07:03 upgrade dhcp3-client 4.1.1-P1-16 4.1.1-P1-16.1
2011-04-13 11:07:05 upgrade libccid 1.4.2-2 1.4.3-1
2011-04-13 11:07:10 upgrade libgarmin0 0~svn320-1 0~svn320-3
2011-04-13 11:07:13 upgrade uboot-envtools 20081215-3+2011.03-1 
20081215-3+2011.03-3

5) diff -ur between the unpacked source tree shows

        if (! ((ioctl(ts->fd, EVIOCGVERSION, &version) >= 0) &&
                (version == EV_VERSION) &&
-               (ioctl(ts->fd, EVIOCGBIT(0, sizeof(bit) * 8), &bit) >= 0) &&
-               (bit & (1 << EV_ABS)) &&
-               (ioctl(ts->fd, EVIOCGBIT(EV_ABS, sizeof(absbit) * 8), &absbit) 
>= 0) &&
-               (absbit & (1 << ABS_X)) &&
-               (absbit & (1 << ABS_Y)) && (absbit & (1 << ABS_PRESSURE)))) {
+               (ioctl(ts->fd, EVIOCGBIT(0, sizeof(bit)), bit) >= 0) &&
+               (bit[0] & (1 << EV_ABS)) &&
+               (ioctl(ts->fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit) >= 0) 
&&
+               (absbit[0] & (1 << ABS_X)) &&
+               (absbit[0] & (1 << ABS_Y)) && (absbit[0] & (1 << 
ABS_PRESSURE)))) {
                fprintf(stderr, "selected device is not a touchscreen I 
understand\n");
                return -1;
 

but this is probably only because quilt applies patches on unpack but
source format 1.0 did not?

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv4tl)

Kernel: Linux 2.6.29-3f4c7e4fa3d937a8
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages libts-0.0-0 depends on:
ii  libc6                         2.11.2-13  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.6.0-2  GCC support library
ii  tsconf                        1.0-8      touch screen library common files

libts-0.0-0 recommends no packages.

libts-0.0-0 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to