nanogui: ADS 7843 Touchscreen Solved ! Touchscreen issues and queries
Subject:
Re: [nanogui] ADS 7843 Touchscreen Solved ! Touchscreen issues and
queries
From:
nafiton ####@####.####
Date:
29 May 2007 17:40:41 +0100
Message-Id: <465C5780.8080502@geocities.com>
Hi
I will throw in what I saw in my board and perhaps somebody will
enlighten us :o)
Here it is a sentec cobra 5329 with an emlix uclinux. It has a different
touchscreen controller, a TSC2200. Here is how it is working:
- The touchscreen driver is integrated into the linux kernel input
subsystem:
uclinux/linux-2.6.x/drivers/input/touchscreen/tsc2200.c
- The driver register itself as an input device on probe function
- To report position or actions, this driver call functions from the
input subsystem like:
input_report_abs(input_dev, ABS_X, x)
or
input_report_key(input_dev, BTN_TOUCH, 1);
- The microwindows has a serial mouse defined
- I don´t know how exactly it is done, but these events are passed
from the kernel to the microwindows program
Good luck,
nafiton
William IN escribió:
> Hello,
>
> I'm working on an evaluation board that is M5329EVB from Freescale. I have connected a LCD SHARP display on it and I would like to use the touchscreen function. There is an ADS7843 controler on the board. I'm working with µCLinux, the LTIB version is ltib-m532xevb-20061117 and I have installed microwindows-0.90
> I don't understand how the touchscreen could work if there is only the ADS7846 touchscreen driver in the microwindows config file. I tried to enable it but when I run a demo such as nxkbd, there is no response. What I understand from your previous message is that the touchscreen acts like a mouse. Please, could you be more explicit ?
> Besides, I can enable the ADS7843 driver in the ltib menu configuration and I saw that if I enable SERMOUSE in the microwindows config file, I can see the cursor moving but without following where I touch the screen. That is kind of weird, because I don't see the link between the drivers in the kernel and those in microwindows.
>
> Best regards,
> William
>