Bug#493942: tslib reports wrong value range for the axises

2008-08-06 Thread Wen-Yen Chuang
severity 493942 normal
quit

Thank you for the bug report.

Sharp Zaurus is also 640x480.
I can use it normally on Zaurus, so I reset bug severity to "normal".

Severity "important" means that it completely unusable to everyone.

I will forward this bug to upstream author.

Wen-Yen Chuang (caleb)



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



Bug#493942: tslib reports wrong value range for the axises

2008-08-06 Thread Joachim Breitner
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]