[okl4-developer] Touchscreen of Neo 1973 under Wombat + tslib/QT4

Damien Schulz damien.schulz at 4xtc.de
Fri Jan 11 01:26:34 EST 2008


Hi there,

I'm currently trying to get the touchscreen of the Neo-1973 to run under Wombat together with tslib and QT4. But unfortunately tslib always complains that the touchscreen device is unknown. Do I have to apply any patches to tslib in order to get it to work?

I also tried using the touchscreen with the linuxtp driver of QT4 - when using this driver the mouse can be moved in the top-left corner (with x and y flipped). The calibration tool of QT doesn't work since it doesn't get click events.

/etc/ts.conf:
module_raw input grab_events=1
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear

/etc/pointercal
-67 36365 -2733100 -48253 -310 45219816 65536

When using "export QWS_MOUSE_PROTO=linuxtp:/dev/touchscreen/0" I can move the mouse cursor in the top-left corner. I also tried tslib together with QT4:
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/lib/ts
export TSLIB_TSDEVICE=/dev/touchscreen/0raw
export TSLIB_CONSOLEDEVICE=/dev/console
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib/ts
export TSLIB_FBDEVICE=/dev/fb0
export QWS_MOUSE_PROTO=tslib
QTtest -qws

Furthermore I want to create a initrd that mounts the root filesystem from NAND. Do I need a special driver to access the NAND from Wombat?

Any help would be greatly appreciated. Thanks in advance.

Cheers,
 ~Damien



More information about the Developer mailing list