OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: Cy1clown on February 15, 2007, 12:37:31 pm

Title: Pointercal File
Post by: Cy1clown 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
Title: Pointercal File
Post by: daniel3000 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
Title: Pointercal File
Post by: howdouknow 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] (http://index.php?act=findpost&pid=154266\")


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.