[Qt-interest] help with tslib

Chris Burke cburke at ics.com
Wed Oct 28 23:11:13 CET 2009


Hi Fabio,

I've recently had problems with tslib builds but I never saw the 
"ts_calibrated" error, only segfaults. I would suggest going into your 
filesys and removing ALL files having to do with tslib, recompiling, and 
reinstalling to the filesys. Some of our issues had to do with having 
tslib compiled for a different filesys.

If your ts_print is segfaulting right away, it sounds like the same type 
of issue.

Fabio Martins - Gmail wrote:
> My application in QT recognizes TSLib normally
> but I can not calibrate.
>
> And I am with the following problems:
>
>
> When I press the touch screen (once only), it seems that it reads various
> data and just going through steps that I did not realize the touch screen.
> At the end of the message ( "ts_calibrated: determinant is too small -
> 0.000000).
>
> I think I'm using the right device
>
> I'm using a touch of the link.
>
> My environment variables are options set like this:
> export TSLIB_CONSOLEDEVICE = none
> export TSLIB_FBDEVICE = / dev/fb0
> export TSLIB_TSDEVICE = / dev/mouse2
> export TSLIB_CALIBFILE = / opt / TSLib / etc / pointercal
> export TSLIB_CONFFILE = / opt / TSLib / etc / ts.conf
> export TSLIB_PLUGINDIR = / opt / TSLib / lib / ts
>
> When I run: cat / proc / bus / input / devices
> I: Bus = 0003 Vendor = 04e7 Product = 0020 Version = 0100
> N: Name = "Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch 
> (r) USB
> Touchmonitor Interface"
> P: Phys = usb-0000: 00:0 f.4-2/input0
> S: Sysfs = / class/input/input4
> U: Uniq = 20H52332
> H: Handlers = mouse2 event4
> B: EV = 1b
> B: KEY = 10000 0 0 0 0 0 0 0 0
> B: ABS = 100 3
> B: MSC = 10
>
> My ts.conf is set up like this:
>
> # Uncomment if you wish to use the linux input layer event interface
> # module_raw input
> # Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
> # module_raw collie
> # Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
> # module_raw corgi
> # Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
> # module_raw ucb1x00
> # Uncomment if you're using an HP iPaq h3600 or similar
> # module_raw h3600
> # Uncomment if you're using a Hitachi Webpad
> # module_raw mk712
> # Uncomment if you're using an IBM Arctic II
> module_raw arctic2
>
> module pthres pmin=1
> module variance delta=30
> module dejitter delta=100
> module linear
>
>
> When I use the "module_raw input" does not work. I press the touch screen
> (once only)
> and the program quits unexpectedly.
> Thank you...
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   


-- 
chris burke
phone: 617-621-0060 x195
email: cburke at ics.com
skype: chris.burke0




More information about the Qt-interest-old mailing list