2024-06-24 02:13 AM
Dear All,
We have been using LCD module which supports touch screen.
Currently image can be displayed properly.
I just started debugging touch screen.
we use SPI2 to interface to touch screen ic, TSC2046.
This is setting spi2 in dts.
1. configure ADS7846 as 'M' by menuconfig
2. build kernel
3. update dtb and uimage
4. cp ads7846.ko to /lib/
I'm considering getting event through reading "/dev/input/event"
Could you advise how to make touch screen work?
Best wishes,
KIM
2024-06-26 09:35 PM
I change dts for spi2 as below.
2024-06-27 07:44 PM
I checked input device by /proc/bus/input/devices.
Touchscreen is event2 handler, spi0.0/input0.
So I tried to check event by evtest but nothing happens.
What shall I need to check?