nanogui: Interfacing problem: How do I connect my touchscreen driver to nano-X?
Subject:
Re: [nanogui] Interfacing problem: How do I connect my touchscreen driver to nano-X?
From:
Laine Walker-Avina ####@####.####
Date:
3 Jul 2007 17:35:51 +0100
Message-Id: <3F152D50-533A-46FC-A872-448701EF0E4B@chem.ucdavis.edu>
On Jul 02, 2007, at 06:02, Wein, Peter ((ext)) wrote:
> Hi all,
>
> I am new here and I need your help! I have recently written my SPI
> driver for connecting my touch panel controller ADS7846n to the
> kernel on my ARM9-Board (NS 9360). Because printing of x and y
> coordinates on my debug screen is very boring and does not help
> on, I am now looking for the interface to connect it to the (nano)-
> X-Server. Actually I did not find enough useful info on the www.
> Can anybody of you give me a hint where to look? In which form do I
> have to present my open, read and write functionality for the
> server? Which are the arguments? And in which way do I have to
> modify what config file...
>
> I appreciate any hints.
>
>
> Mit freundlichen Grüßen
>
> Peter Wein
The generic touch screen driver in drivers/mou_touchscreen.c will
probably work for you. If your kernel driver uses the /dev/ts device
file, then you may just be able to use one of the available
touchscreen modes. Look at the headers in devices/touchscreen_*.h to
see how they work.
-Laine