Touchscreen with Angstrom

Hi,

I have this touchscreen: http://cgi.ebay.com/7-TFT-LCD-Frame-Touch-TI-Cortex-
A8-BeagleBoard-/120733208811?pt=LH_DefaultDomain_0&hash=item1c1c4290eb

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)
- mice
- mouse0
- uinput
I tried to use 'event0': starting 'ts_test' prints this message:
selected device is not a touchscreen I understand

Thanx in advance
Gyorgy Kovesdi

http://cgi.ebay.com/7-TFT-LCD-Frame-Touch-TI-Cortex-
A8-BeagleBoard-/120733208811?pt=LH_DefaultDomain_0&hash=item1c1c4290eb

Sorry, my stupid mailer splits the link as a long line, please append these
two lines. :slight_smile:

Dear Gyorgy,

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?

Greetings,

Han

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 :slight_smile: time to continue your work.

Regards
Gyorgy