[Qt-interest] help with tslib
Chris Burke
cburke at ics.com
Thu Oct 29 05:16:08 CET 2009
I'm getting a little confused as to what your problem is now.
Are you capable of running the test binaries on your target (embedded
pc), such as "ts_print", "ts_calibrate", etc.? If not, what kind of
errors do you get?
You said that Qt recognizes your tslib. Do you get any warnings on the
console when starting up your Qt application pertaining to tslib? If so,
what do they say?
Do you have QWS_MOUSE_PROTO set in your environment to something like
"tslib:/dev/input/mouse2" ?
If you run "cat /dev/input/mouse2" and touch the screen, do you see
garbage being printed to the console?
Just trying to get on the same page here :)
Fabio Martins - Gmail wrote:
> /Thank you/ for your quick /reply /Chris Burke
>
> So,
>
> I separated the installation of TSLib in the / opt. As I am compiling
> for another platform (even x86) but with another processor, I compile
> on my machine and put onto the embedded PC.
>
> The filesys I made for my embedded application.
>
> I do not know when I press the "touch" what data do I get?
>
> Are they the coordinates that I'm getting are more data than the TSLib
> is waiting? then so it does not recognize the data?
>
> Thank you...
>
> 2009/10/28 Fabio Martins - Gmail <fmnovais at gmail.com
> <mailto:fmnovais at gmail.com>>
>
> 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...
>
>
>
>
> --
> Att.
> Fabio Martins
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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