Package: server-xorg-input-tslib
Version: 0.0.4-5
Severity: important
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I’m working on getting Debian to support the Openmoko Freerunner. When
installing Xorg with the fbdev and tslib driver, I observed the
following problem: The curser only spans a part of the screen, although
it is correctly calibrated using ts_calibrate.
I tracked it down to these lines in tslib.c:
InitValuatorAxisStruct(device, 0, 0, /* min val */ 1023,
/* max val */
1024,/* resolution */
0, /* min_res */
1024); /* max_res */
InitValuatorAxisStruct(device, 1, 0, /* min val */ 1023,
/* max val */
1024,/* resolution */
0, /* min_res */
1024); /* max_res */
which basically tell the Xserver: I will give you absolute curser
positions between 0 and 1024, when in fact it just passes through the
values from tslib, which are in 0-480 and 0-640 respectively.
I assume that the proper fix would be to inquire the correct value range
from tslib somehow (if possible), and specify that.
Greetings,
Joachim
- -- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-486
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkiZFNwACgkQ9ijrk0dDIGzAdQCfWCzjqkK8AYSGTPNI1gFTLYPu
PNYAoKGe99XSfg1i012teVgiLgajTWvZ
=mf5M
-END PGP SIGNATURE-
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]