[Qt-interest] help with tslib
Fabio Martins - Gmail
fmnovais at gmail.com
Wed Oct 28 22:01:20 CET 2009
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...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091028/20cbe52d/attachment.html
More information about the Qt-interest-old
mailing list