I have a problem in mini2440. touch screen does not work when my app(Qt application i mean) run on it.
these are my output for " printenv" in mini2440 :
[root@FriendlyARM bin]# ./ts_calibrate
ts_open: No such file or directory
[root@FriendlyARM bin]# printenv
TSLIB_TSDEVICE=/usr/local/tslib/lib/ts
USER=root
LD_LIBRARY_PATH=/usr/local/Qt/lib:/usr/local/tslib/lib
TSLIB_TSEVENTTYPE=INPUT
OLDPWD=/usr/local/bin
HOME=/
QTDIR=/usr/local/Qt
TSLIB_FBDEVICE=/dev/fb0
PS1=[\u@\h \W]#
TSLIB_PLUGINDIR=/usr/local/tslib/lib/ts
TSLIB_CONSOLEDEVICE=none
LOGNAME=root
TERM=vt102
PATH=/sbin:/usr/sbin:/bin:/usr/bin
TSLIB_CONFFILE=/usr/local/tslib/etc/ts.conf
SHELL=/bin/sh
QWS_DISPLAY=LinuxFB:mmWidth=105:mmHeight=140
PWD=/usr/local/tslib/bin
QWS_MOUSE_PROTO=tslib:/dev/input/event0
TSLIB_CALIBFILE=/etc/pointercal
and in this directory : /dev/input => just i have two file : enevt0 and mice
in ts.conf : uncomment the first line.
i dont know what is ts_open. where is it? or why show me this error?
i confused :(
ts_open tries to open the file saved in the variable TSLIB_TSDEVICE.
TSLIB_TSDEVICE must be the device to open to read touch inputs. In your case, it should be /dev/input/event0.
Then, ts_calibrate reads the first line in ts.conf to get the module_raw xxx. Check that your plugin folder (/usr/local/tslib/lib/ts) contains the plugin you give to module_raw.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With