Author Topic: Pointercal File  (Read 8648 times)

Cy1clown

  • Newbie
  • *
  • Posts: 29
    • View Profile
Pointercal File
« on: February 15, 2007, 12:37:31 pm »
Does anyone know the format of the pointercal file?
The contents are like this
21596 0 173612 0 14745 978165 65536
If I manualy input this file I can get my 5500 to start by bypassing the calibration screen.

I have tried two different sets of numbers as above and both are far enough off that it makes the touch screen unusable.  If I knew what these numbers meant I might be able to adjust them so by digitizer works properly.

Jon

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Pointercal File
« Reply #1 on: February 16, 2007, 05:42:10 am »
AFAIK these values represent hardware-dependent parameters of your touchscreen, i.e. offset values for reference positions you tap in the calibration screen.

So, if you start the same system always on the same zaurus hardware, you should be well with always the same values.

If you need to copy a system to another zaurus hardware, you need different values, which are probably very hard to find except via running through the calibration screen.

daniel
« Last Edit: February 16, 2007, 05:42:32 am by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

howdouknow

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • http://www.nokiagate.com
Pointercal File
« Reply #2 on: June 28, 2007, 09:38:45 am »
Quote
Does anyone know the format of the pointercal file?
The contents are like this
21596 0 173612 0 14745 978165 65536
If I manualy input this file I can get my 5500 to start by bypassing the calibration screen.

I have tried two different sets of numbers as above and both are far enough off that it makes the touch screen unusable.  If I knew what these numbers meant I might be able to adjust them so by digitizer works properly.

Jon
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]


Ok, since I'm looking for the same information, here is an indirect refence: on[a href=\"http://doc.trolltech.com/4.3/qwscalibratedmousehandler.html#transform]The QWSCalibratedMouseHandler -Qt 4.3- Reference Page[/url] there's a couple of equations that use the seven numbers (a, b, c, d, e, f and s) in /etc/pointercal to translate from device coordinates (Xd, Yd) to screen coordinates (Xs, Ys). In case that page was to disappear, here are the equations:

s*Xs = a*Xd + b*Yd + c
s*Ys = d*Xd + e*Yd + f

I'll have to play a bit with it on my N800, and see what happens.
« Last Edit: February 20, 2010, 12:25:37 pm by InSearchOf »