Location of TSLIB(libts.so) and QT PLUGIN(libqtslibplugin.so)
-
Didn't you succeed configuring tslib ?
-
How does the system see it ? /dev/ttyS0 or something like that ?
-
hexdump will give you a cleaner output.
Well, AFAIK, setting TSLIB_TSDEVICE to /dev/ttyS1 should get you started, no ?
-
I tried setting the same:
@
export QT_QPA_PLATFORM=linuxfb
export QT_PLUGIN_PATH=/home/Sid/plugins/generic
export QT_QPA_GENERIC_PLUGINS=tslib
export QT_QPA_FONTDIR=/home/Sid/fonts
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/Sid
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/ttyS1 -------->>SEE THIS
export TSLIB_PLUGINDIR=/home/Sid/tslib_plugins
export TSLIB_CONFFILE=/home/Sid/ts.conf@
But when i run ./ts_test, i get no output :(
The program keeps running without any output unit i give Ctrl+C -
Did you run ts_calibrate first ?
-
Which module are you using ?
-
Sorry I meant tslib plugin
-
I downloaded TSLIB (tslib-1.0) from sourceforgenet. And then crosscompiled it for powerpc. and then modified qmake.conf to include soure and libs. Also test lib test was successful.
I copied libqtslibplugin.so to plugins/generic folder.
-
Not the Qt tslib plugin, the plugin from tslib itself