1.触摸屏
http://read.newbooks.com.cn/info/209996.html
cat /proc/bus/input/devices
看看哪个是你的 ts 设备。/dev/input/event?
如果这些没有的话,可能你的触摸平驱动并不完整。
OMAP353X为event1
环境变量改为event1 即可用触摸屏
export QTDIR=/home/nzm/qt/arm-qt4
export T_ROOT=/tslib
export PATH=$QTDIR/bin:$PATH
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/event1
export TSLIB_PLUGINDIR=$T_ROOT/lib/ts
export TSLIB_CONFFILE=$T_ROOT/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
export QWS_MOUSE_PROTO=tslib:/dev/input/event1
export LD_LIBRARY_PATH=$T_ROOT/lib:$QTDIR/lib
2.鼠标
http://www.linuxforum.net/forum/showthreaded.php?Cat=&Board=TI&Number=728763&page=&view=&sb=&o=
插入有源usb鼠标后
cat /proc/bus/input/devices 查看鼠标为event2
输入
cat /dev/input/event2 | hexdump
移动鼠标有数据说明鼠标驱动正常
但是在qt上行