oops, hit ctrl-enter in evolution. damn ;)

modprobe evdev
modprobe gpio_keys

creates a device /dev/input/event0

if you download evtest.c

http://www.gentooforum.de/redir.php?url=http%3A%2F%2Fcvs.sourceforge.net
%2Fviewcvs.py%2F%2Acheckout%2A%2Faiptektablet%2Fevtest%2Fevtest.c%3Frev%
3D1.3

and compile it with arm-linux-gcc -o evtest evtest.c you can get some
information about the device by calling evtest /dev/input/event0

it is the key device which is initialized by this struct in axim30.c:

static struct gpio_keys_button x30_button_table[] 

it reacted on touchscreen input because a wrong gpio value was set (well
maybe that was the intention for testing purposes...). if you change
those values to some known key gpios, the keys are recognized correctly.
btw. - we have 3 completely different gpio tables in use axim30_gpio.h,
axim50_gpio.h and the xml file on richard's page (which i trust most) -
we should clean that up a bit. 

ok, there are different touchscreen apis - the deprecated tsdev and the
newer tslib http://cvs.arm.linux.org.uk/cgi/viewcvs.cgi/tslib/

unfortunately it's not easy to find documentations about these. test
programms for tslib are available in the familiar distribution as ipkgs.
to use them you have to define an environment variable - something like:
export TSLIB_TSDEVICE=/dev/input/event0

this doesn't work with the device created by the gpio-keys driver
because that one is no touchscreen driver. 

other devices using the same touchscreen are 
a) the pocket loox 720
some info here:
http://www.firstloox.org/forums/showthread.php?t=3998&page=16

btw. - who is MaTTh - is he still on this list?

b) the ipaq 4100
thread here: 
http://www.handhelds.org/hypermail/h4100-port/1/0126.html

c) there is a ads4876 touchscreen driver in the kernel. it's referenced
in the file corgi.c 

if you have any further info, please share it. especially fisherss who
probably knows most about this :)

perhaps we should meet on irc at some time to bundle our efforts

Kai


-- 
_______________________________________________
Aximx50-port mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/aximx50-port

Reply via email to