Qt-embedded-interest Archive, February 2007
caliberatiion file format for serial touch screen
Message 1 in thread
hi,
does any have the caliberation file for serial Microtouch touch screen. if so can you send me ? i could not caliberate my touch screen(3M serial touch screen). i tried tslib package.but when i run ts_caliberate program it says"device is not a touch screen."
thanks in advance,
saravanan
---------------------------------
Here?s a new way to find what you're looking for - Yahoo! Answers
Message 2 in thread
On Wed, 21 Feb 2007 06:00:52 +0000 (GMT)
saravanan sar <sar_van81@xxxxxxxxxxx> wrote:
> does any have the caliberation file for serial Microtouch touch
> screen. if so can you send me ?
The calibration file is used to calculate the correct touching position
from the resistive readings of the ts controller. So it isn't the same
for each installation, so my calibration file cannot work with your ts.
you must find a way to make ts_calibrate working with your tss or write
your own calibration program.
To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx
Message 3 in thread
saravanan sar wrote:
> hi,
>
> does any have the caliberation file for serial Microtouch touch screen.
> if so can you send me ? i could not caliberate my touch screen(3M serial
> touch screen). i tried tslib package.but when i run ts_caliberate
> program it says"device is not a touch screen."
Look at your etc/ts.conf, you might have to use different
module_raw
entry. Look at the ts plugins to see which plugins are available.
--
[ signature omitted ]
Message 4 in thread
hi ,
thanks for your suggestion.i compiled the tslib with the other modules (module_raw collie ,module_raw corgi, module_raw h3600). the touch screen is caliberated but. the following was the output when i run ./ts_caliberate
root:/bin> ./ts_calibrate
xres = 640, yres = 480
Took 1 samples...
Top left : X = -1072075665 Y = 1958746480
Took 1 samples...
Top right : X = -1072075665 Y = 1958746480
Took 1 samples...
Bot right : X = 310118972 Y = -1072529910
Took 1 samples...
Bot left : X = 310118972 Y = -1072529910
Took 1 samples...
Center : X = 1920495216 Y = -1066239890
-20.527618 1.601357 -0.899283
-6.919058 0.325904 -0.183019
Calibration constants: -1345298 104946 -58935 -453447 21358 -11994 65536.
.
it also prompts this error in addtion to the above:
munmap of non-mmaped memory by process 40 (ts_calibrate): 01840bf4
munmap of non-mmaped memory by process 40 (ts_calibrate): 0183cb8c
munmap of non-mmaped memory by process 40 (ts_calibrate): 01838a9c
munmap of non-mmaped memory by process 40 (ts_calibrate): 01833a00
munmap of non-mmaped memory by process 40 (ts_calibrate): 0182e854
.
now i'm confused by this. is this correctly caliberated values. when i run my qt application. i did not run and it also says me the following errors:
root ~>./cursor -qws
Application stack overflow
- Please increase the stack size of the application using elf2flt -s option,
and/or reduce the stack use of the application.
CURRENT PROCESS:
COMM=cursor PID=61
TEXT=00800040-00b2b720 DATA=00b2b724-00c42724 BSS=00c42724-00c4b0a4
USER-STACK=00fffe94
return address: 00ab9646; contents of [PC-16...PC+8[:
64a1 e3fc 0cc2 300f 64c1 e3fc 0cbe 300f
64e1 e3fc 0cba 300f 6501 e3fc 0cb6 00a3 X
3045 e3fb 9770 3008 e140 00c4 e100 0384
RETE: 00000000 RETN: 00324000 RETX: 00ab9646 RETS: 00ab9644
IPEND: 0030 SYSCFG: 0036
SEQSTAT: 00060003 SP: 00323f24
R0: 00fffac0 R1: 00000000 R2: 00000002 R3: 00000001
R4: 00fffba8 R5: 00fffbe4 R6: 00fffaf0 R7: 00452620
P0: 0000005b P1: 004b1ac0 P2: 00000000 P3: 01e6c000
P4: 01cc997c P5: 00fffac0 FP: 00fffb24
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
LB0: 00ae6b3d LT0: 00ae6b3a LC0: 00000000
LB1: 00830087 LT1: 00830086 LC1: 00000000
B0: 00000000 L0: 00000000 M0: 00000000 I0: 004b1b10
B1: 00000000 L1: 00000000 M1: 00000000 I1: 00c44428
B2: 00000000 L2: 00000000 M2: 00000000 I2: 00000000
B3: 00000000 L3: 00000000 M3: 00000000 I3: 00000000
USP: 00fffa9c ASTAT: 02000022
Hardware Trace:
0 Target : <000041a0>{_trap_c+0}<0>
Source : <00006cde>{exception_to_level5+146}<0>
1 Target : <00006c4c>{exception_to_level5+0}<0>
Source : <00006c48>{ex_trap_c+44}<0>
2 Target : <00006c1c>{ex_trap_c+0}<0>
Source : <00006d68>{_trap+40}<0>
3 Target : <00006d40>{_trap+0}<0>
Source : <00ab9644>{cursor+0x2b9604}<0>
4 Target : <00ab9644>{cursor+0x2b9604}<0>
Source : <00a3afe2>{cursor+0x23afa2}<0>
5 Target : <00a3afd8>{cursor+0x23af98}<0>
Source : <00a3ac74>{cursor+0x23ac34}<0>
6 Target : <00a3ac6c>{cursor+0x23ac2c}<0>
Source : <00a3ad06>{cursor+0x23acc6}<0>
7 Target : <00a3ad04>{cursor+0x23acc4}<0>
Source : <00a3aae2>{cursor+0x23aaa2}<0>
8 Target : <00a3aada>{cursor+0x23aa9a}<0>
Source : <00a3980e>{cursor+0x2397ce}<0>
9 Target : <00a3980a>{cursor+0x2397ca}<0>
Source : <00a2e7fc>{cursor+0x22e7bc}<0>
10 Target : <00a2e7f4>{cursor+0x22e7b4}<0>
Source : <00aee39c>{cursor+0x2ee35c}<0>
11 Target : <00aee398>{cursor+0x2ee358}<0>
Source : <00ae7aa6>{cursor+0x2e7a66}<0>
12 Target : <00ae7a9e>{cursor+0x2e7a5e}<0>
Source : <00ae7a90>{cursor+0x2e7a50}<0>
13 Target : <00ae7a88>{cursor+0x2e7a48}<0>
Source : <00007c9e>{_evt_system_call+198}<0>
14 Target : <00007c3c>{_evt_system_call+100}<0>
Source : <00006eec>{syscall_really_exit+4}<0>
15 Target : <00006ee8>{syscall_really_exit+0}<0>
Source : <00006ed6>{syscall_sigpending+2}<0>
Stack from 00323e74:<0>
<0> 0000000b<0> 00004380<0> 00ae6b1e<0> 00000002<0> 00000002<0> 0000000b<0> 00000000<0> 00030003<0>
<0> 00ab9646<0> 00000014<0> 00fff9ac<0> 0002a61c<0> 00133bec<0> 00fff9ac<0> 0002a69c<0> 004b1b40<0>
<0> 004b1b80<0> 0002a6c8<0> 00133bec<0> 00000000<0> 004b1ac0<0> 00000003<0> 00000021<0> 00fff9ac<0>
<0> 0002a778<0> 0002a744<0> 0000005b<0> 01e6c000<0> 00000000<0> 01e7e074<0> 004b1ac0<0> 00006e9e<0>
<0> 00003700<0> 0000005a<0> 00006e9e<0> 00000000<0> ffffe000<0> 00006ce2<0> 000073bc<0> 00452620<0>
<0> 0000ffff<0> 00000000<0> 00000001<0> 00ae7a88<0> 00ab9646<0> 00000030<0> 00060003<0> 00000000<0>
Call Trace:<0>
Device released............
SIGSEGV
root:~>
.
Am i going the correct way ? since i'm new to touch screen,i dont know whether this correct caluse or wrong values ...
saravanan
---------------------------------
Here?s a new way to find what you're looking for - Yahoo! Answers
Message 5 in thread
hi,
can anyone say me how to generate the caliberated values .i found in the following post about that:
http://lists.trolltech.com/qt-embedded-interest/2002-03/thread00058-0.html.
but i gto confused abouth the screen top left ,screen_bottomRight_x and device_topLeft_x and device_bottomRight_x. i have the touch screen of 640x480 and the LCD of the same dimension.i calculated the values and it comes as 8192 0 0 0 8192 0. when i run qt application, the mouse pointer runs somewhere and there is no action taking place when i press the touch screen.can anyone provide suggestion or solutions for this ?
trying to use this serial touch screen for the past two weeks. but still could not make it :( .can anyone please show me somesaravanan
thanks in advance,
saravanan.
---------------------------------
Here?s a new way to find what you're looking for - Yahoo! Answers
Message 6 in thread
Googling turned up the a bunch of listings for the following:
elf2flt -s Application stack overflow
Sounds like you need to take care of that error before anything else.
Also, are you sure that no other applications are running when you
attempt the calibration? What about defunct or zombie processes? Use
a process manager or 'ps ax' to check that.
sdjf
To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx
Message 7 in thread
On Friday 23 February 2007 12:22, saravanan sar wrote:
> hi,
>
> can anyone say me how to generate the caliberated values .i found in the
> following post about that:
>
> http://lists.trolltech.com/qt-embedded-interest/2002-03/thread00058-0.html.
>
> but i gto confused abouth the screen top left ,screen_bottomRight_x and
> device_topLeft_x and device_bottomRight_x. i have the touch screen of
> 640x480 and the LCD of the same dimension.i calculated the values and it
> comes as 8192 0 0 0 8192 0. when i run qt application, the mouse pointer
> runs somewhere and there is no action taking place when i press the touch
> screen.can anyone provide suggestion or solutions for this ?
>
> trying to use this serial touch screen for the past two weeks. but still
> could not make it :( .can anyone please show me somesaravanan
This might not be relevant to you, but:
In Qt embedded 4 (Qtopia Core) the algorithm for calculating the calibration
parameters has changed so the assumption made in the url above is not correct
anymore (but the file format is unchanged).
If you're really interested, you'll find an url in the source code which
points you to the article the algorithm is derived from:
src/gui/embedded/qmouse_qws.cpp, QWSCalibratedMouseHandler::calibrate().
--
[ signature omitted ]