[ELDK] Touchscreen interface in TAO-3530 not working.

Joaquim Duran jduran.gm at gmail.com
Mon Sep 19 13:20:05 CEST 2011


Dear all,

Currently, I've booted the qte rootfs on a TAO-3530 module. Once
booted, I started the qtdemoE (it is the demo application from Qt
Embedded), however the touchscreen interface was not working.

After some investigation I've reached the conclusion that tslib
doesn't recognize the touch screen device file as a touch screen
device:

- The linux, at boot time detects the touch screen interface (from dmesg)
ads7846 spi1.0: touchscreen, irq 296
input: ADS7846 Touchscreen as
/devices/platform/omap2_mcspi.1/spi1.0/input/input0
rtc-s35390a 3-0030: rtc core: registered rtc-s35390a as rtc0

- In /dev/input, the touch screen device file is present:
$ls -lisa /dev/input
total 0
1396 0 drwxr-xr-x  3 root root    100 Sep 19 09:35 .
1255 0 drwxr-xr-x 12 root root   3300 Sep 19 10:58 ..
1398 0 drwxr-xr-x  2 root root     60 Sep 19 09:35 by-path
1400 0 crw-r-----  1 root root 13, 64 Sep 19 09:35 event0
1397 0 lrwxrwxrwx  1 root root      6 Sep 19 09:35 touchscreen0 -> event0

- The device is properly configured:
TSLIB_TSDEVICE=/dev/input/touchscreen0

- The tslib configuration: raw input is enabled (/etc/ts.conf):
# Uncomment if you wish to use the linux input layer event interface
module_raw input

- The test is not working:
$ ts_calibrate
xres = 800, yres = 480
selected device is not a touchscreen I understand
Took 2 samples...
Top left : X = -545486606 Y = 93166242
Took 2 samples...
Top right : X = -545486606 Y = 93166242
Took 2 samples...
Bot right : X = -545486606 Y = 93166242
Took 2 samples...
Bot left : X = -545486606 Y = 93166242
Took 2 samples...
Center : X = -545486606 Y = 93166242
2.339958 0.038626 0.226159
4.038589 0.175830 1.029487
Calibration constants: 153351 2531 14821 264672 11523 67468 65536

$ ts_test
selected device is not a touchscreen I understand

The mouse cursor could not be moved on screen.

Any suggestion to fix the problem?

Thanks and Best Regards,
Joaquim Duran


More information about the eldk mailing list