I have this touchscreen: http://cgi.ebay.com/7-TFT-LCD-Frame-Touch-TI-Cortex-
The screen works, but i would like to use its touchscreen capability too. I
tried to follow the instructions on the net, but i have problems with the
first step: the kernel driver (ads7846) does not work for me. The driver
itself is loaded, but does not create any device file nor system message
(dmesg). I have kernel 2.6.39, but i tried it with other versions (2.6.32,
3.0.12) with the same result.
I have the followings enabled in the kernel:
- McSPI driver for OMAP
- User mode SPI device driver support
- GPIO-Based bitbanging SPI master
I have the following device files in /dev/input:
- event0 (gpio-keys-event)
- event1 (twl4030_pwrbutton-event)
- event2 (keyboard)
- event3 (keyboard)
- event4 (mouse)
I tried to use 'event0': starting 'ts_test' prints this message:
selected device is not a touchscreen I understand
Thanx in advance
Sorry, my stupid mailer splits the link as a long line, please append these
I have the same display and I am also struggling / working to get the touch screen working on Angstrom.
I am quite far with patching u-boot for the right pin-mux and the board file to add the ads7846 on the spi interface.
But the kernel driver does not work yet.
This must be solvable from where I am now, but I just hadn’t time to work on it recently.
You didn’t mention in your email if you modified the board " description" file to tell the kernel that the touch screen is connected to the right spi interface. Did you do this step?
You didn't mention in your email if you modified the board " description"
file to tell the kernel that the touch screen is connected to the right spi
interface. Did you do this step?
No, i have not changed the bootloader nor the description file.
Is it necessary to change the bootloader? Or is it possible to set the pin
configuration in the kernel?
I now have some (not too much time to continue your work.