ts_calibrate可以成功效验,可是点击qpe却没反应
qpe上显示的是
Tab anywhere on the screen to continue
笔都触断了还是没反应
我用的是光盘自带的fs_qtopia.tar.bz2解压修改的,难道qtopia还要重新编译?
我用的是tslib1.4
autogen.sh
./configure --host=arm-linux --target=arm-linux --prefix=$PWD/build --enable-inputapi=no
cp build/ /work/nfs/fs_qtopia/usr/share
在/etc/profile设置了环境变量
export TSLIB_HOME=/usr/share/build
export TSLIB_CONFFILE=$TSLIB_HOME/etc/ts.conf
export TSLIB_PLUGINDIR=$TSLIB_HOME/lib/ts
export TSLIB_TSDEVICE=/dev/event0
export TSLIB_CALIBFILE=/etc/pointercal
export PATH=$TSLIB_HOME/bin

PATH
export HOME=/root
export QTDIR=/opt/Qtopia
export QPEDIR=/opt/Qtopia
export QWS_DISPLAY=LinuxFb:/dev/fb0
export QWS_KEYBOARD="TTY:/dev/tty1"
export QWS_MOUSE_PROTO="TPanel:/dev/event0 USB:/dev/mouse0"
export PATH=$QPEDIR/bin

PATH
export LD_LIBRARY_PATH=$QPEDIR/lib

TSLIB_HOME/lib
# env
TSLIB_TSDEVICE=/dev/event0
USER=root
LD_LIBRARY_PATH=/opt/Qtopia/lib:/usr/share/build/lib
HOME=/root
QTDIR=/opt/Qtopia
TSLIB_PLUGINDIR=/usr/share/build/lib/ts
QWS_KEYBOARD=TTY:/dev/tty1
TSLIB_HOME=/usr/share/build
TERM=vt102
PATH=/opt/Qtopia/bin:/usr/share/build/bin:/sbin:/usr/sbin:/bin:/usr/bin
TSLIB_CONFFILE=/usr/share/build/etc/ts.conf
SHELL=/bin/sh
QWS_DISPLAY=LinuxFb:/dev/fb0
QPEDIR=/opt/Qtopia
PWD=/
QWS_MOUSE_PROTO=USB:/dev/mouse0
TSLIB_CALIBFILE=/etc/pointercal
# ts_calibrate //可以效验
xres = 320, yres = 240
Took 31 samples...
Top left : X = 197 Y = 282
Took 77 samples...
Top right : X = 816 Y = 276
Took 50 samples...
Bot right : X = 815 Y = 755
Took 90 samples...
Bot left : X = 197 Y = 759
Took 45 samples...
Center : X = 507 Y = 520
-20.320007 0.355702 0.000371
-33.030212 0.002367 0.292884
Calibration constants: -1331692 23311 24 -2164668 155 19194 65536
# qpe
[9;0] [9;0]Cannot open /dev/mouse0 (No such file or directory)
Warning: TimeZone:

Warning: Need to run firstuse
Warning: language message - en_US
Warning: and its not null
Warning: loading /opt/Qtopia/i18n/en_US/qt.qm
Warning: loading /opt/Qtopia/i18n/en_US/qpe.qm
Warning: loading /opt/Qtopia/i18n/en_US/libqpe.qm
Warning: loading /opt/Qtopia/i18n/en_US/libqtopia.qm
Warning: loading /opt/Qtopia/i18n/en_US/language.qm
Warning: loading /opt/Qtopia/i18n/en_US/timezone.qm
Warning: loading /opt/Qtopia/i18n/en_US/systemtime.qm