Re: [PATCH] new driver for ITM Touch touchscreen

Vojtech Pavlik
2005-03-04T20:45:52Z

On Fri, Mar 04, 2005 at 07:51:47PM +0100, Hans-Christian Egtvedt wrote:

> OK, I'll try to find some better documentation about input devices, any
> tips/pointers would be nice. I'm completly new to kernel drivers, I'm used to
> writing drivers in embedded systems.
>
> The driver is made in the way it is today because there is also a driver for
> X which read raw events from /dev/input/eventX. It's called lictouch, I have
> the source for it too, but I'm not (yet) part of any developing there.

Please take a look at 'evtouch' by Kenan Esau, which may fit your bill
as an X driver, too. [http://www.conan.de/lifebook]

> It would be a really nice feature if one could use the touchscreen as a
> legacy interface, but then I would need to be able to calibrate the screen in
> the driver and not frontend. At least preferable.

It's possible to do that to a certain degree using the EVIOCSABS
ioctl(). Only trivial linear calibration is supported, though.

--
Vojtech Pavlik
SuSE Labs, SuSE CR