1.I want to run a qte in OMAP3530.but I need the touchscreen function. I act as the steps below to compile the tslib,but the tslib doesn't work at all.
tar xzvf tslib-1.4.tar.gz
cd tslib/
export CC=arm-none-linux-gnueabi-gcc
export CXX=arm-none-linux-gnueabi-g++
./autogen.sh
./configure --prefix=/home/user/tslib --host=arm-linux-gnu
make
make install
sucessful!
2、copy the file of tslib to the filesyatem of OMAP3530
cp /home/user/tslib/lib -> to the /lib of OMAP3530evm filesystem
cp /home/user/tslib/etc/ts.conf -> to the /etc of the filesystem
cp /home/user/tslib/bin/ ts_calibrate ,ts_harvest,ts_test,ts_print...... ->to /bin
gedit the /etc/profile of the OMAP3530EVM filesystem:
export TSLIB_TSDEVICE=/dev/input/event1
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/lib/ts
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
in “/etc/ts.conf open the module_raw input(abolish the comment of module_raw input)
3.when run the OMAP:erro:
[root@OMAP3EVM /bin]# ./ts_calibrate it occurs the cross and some words,
xres = 480, yres = 640 , It suspended here!!!!!then I click the touchscreen ,there is no response!!!
and then I fond there is no /etc/pointercal .....
[root@OMAP3EVM /bin]# ./ts_test or ./ts_harvest,ts_print,ts_print_raw,whatever I click the touchscreen ,there is no response!!!
2.and I also do as follows:
[root@OMAP3EVM input]# cat /proc/bus/input/devices
I: Bus=0019 Vendor=0001 Product=0001 Version=0003
N: Name="omap_twl4030keypad"
P: Phys=omap_twl4030keypad/input0
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=100003
B: KEY=1680 0 70032 53840000
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="ADS784x Touchscreen"
P: Phys=spi1.0/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=event1
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003
Questions:
ask:what's wrong with me?why my touchsreen doesn't work at all?Is there need some touchscreen driver to enable the touchscreen of OMAP3530EVM?If it needs the driver,where do I find it and how can I install it?