it should work on h1900 and h4000
http://www.dpeddi.com/h4100/h4000_ts.c
http://www.dpeddi.com/h4100/make-module-ts.sh
TODO: understand why with tslib pointer movment is slow
Clean code,
uncomment machine check,
move constants to appropriate header
based on old 2.4 h1900 module, and for the device handling on xda
himalaya porting team work. (many thanks to zap for irc help)
little howto:
http://cvs.arm.linux.org.uk/
and get tslib from cvs
./autogen.sh
CC=arm-linux-gcc ./configure --host=arm-linux --prefix=/opt/tslib
make
make install
move /opt/tslib into rootfs
insmod h4100_ts.ko
modprobe evdev
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CONSOLEDEVICE=/dev/tty
export TSLIB_TSDEVICE=/dev/input/event0
cd /opt/tslib/bin
./ts_calibrate
paste output into ../etc/pointercal (The number that output after
Calibrate ????: xx xx xx x x) (I turned off ipaq since is very late so
I don't remember the right word)
./ts_test to test it
It should be all...
Next step recompile Xfbdev and opie if michael or h2200 guys hasn't
already done it
Eddi
Ronf...Ronf....
PS:
http://lists.trolltech.com/qt-embedded-interest/2003-06/msg00049.html
this may be useful later...
Received on Thu Apr 15 2004 - 13:23:34 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 18:29:19 EDT