Hi David,

david wrote:
> I'm having difficulty getting the 7" A70 touchscreen to detect touch. I've
> tried booting using the ADC as the method of getting the touch input
> recognised, and the 1wire method using the mini6410= boot argument. I tried
> doing 'cat /dev/input/event0' and tapping around on the touchscreen but
> there's nothing. There is an entry in /sys/devices/virtual/input/input0
> which is named Touchscreen Pipe. I also compiled the 2.6.38 kernel provided
> by FriendlyARM which gives me a /dev/touchscreen-1wire entry, I compiled
> the one-wire-ts-input.so module also provided for tslib and put that in
> /usr/lib/ts with the right /etc/ts.conf entry for module_raw. Now
> ts_calibrate is throwing the error 'ts_open: no such file or directory'.
> Any help is getting the touchscreen input working would be appreciated.

By just taking a look into the source I found in "ts_calibrate.c":

[...]
        if( (tsdevice = getenv("TSLIB_TSDEVICE")) != NULL ) {
                ts = ts_open(tsdevice,0);
        } else {
                ts = ts_open("/dev/input/event0", 0);
        }

        if (!ts) {
                perror("ts_open"); <----- this spits out your error message
                exit(1);
        }
[...]

Seems you didn't define the "TSLIB_TSDEVICE" environment variable or it points 
to nowhere.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

Reply via email to