Hi,
I successfully build Qt embedded on my iMX 53 QSB with qt-mouse-tslib support and installed tslib.
Using Tslib from debian repository (version libts0.0-0) I can run Qt demo applications but I can't calibrate my MCIMX LVDS capacitive touchscreen and the pointer doesn't work inside the applications.
After the installation of libts1.0 from https://github.com/kergoth/tslib I can successfully calibrate the touchscreen but when I run any demo application I get a "Segmentation Fault" error.
Any idea about the reason?
Thanks
Giovanni
Can i use tslib for non x11 systems. I am running qt-embedded built from ltib.I want to enable touch support for my application. Can i use tslib fo this purpose?There is no x11 server running on my system
Hey Giovani,
You need to disable Multi touch support in IMX53 BSP.
open ltib/rpm/BUILD/linux/drivers/input/touchscreen/egalax_ts.c file
and add the following line : #define FORCE_SINGLE_POINTER_SUPPORT
then recompile the kernel and make the SD card.... root it..
then go to /usr/bin
run ./ts_calibrate
follow the onscreen instructions.... done.
Regards,
Winston.
This is my .bashrc configuration:
export TSLIB_TSEVENTTYPE=INPUT
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/local/lib/ts
export LD_LIBRARY_PATH=/usr/local/Qt/lib:/usr/local/lib
export QTDIR=/usr/local/Qt
export QWS_MOUSE_PROTO=Tslib:/dev/input/event0
export QWS_DISPLAY=LinuxFB:mmWidth=310:mmHeight=190