Kernel using,
# uname -r
5.10.153
#
#
# uname -a
Linux Beaglebone 5.10.153 #1 SMP PREEMPT Tue Nov 22 14:35:07 IST 2022 armv7l GNU/Linux
I have one waveshare 4 inch LCD cape, cap dts and lcd as below
https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-BONE-LCD4-01-00A1.dts
I have done its enumeration in kernel and I can see linux penguin logo, as well as X11 screen using twm.
But the touch doesn’t work. From kernel log,
# dmesg | grep -i input
[ 1.703210] input: ti-tsc as /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0d000.target-module/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input0
[ 3.606268] input: tps65217_pwr_but as /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0b000.target-module/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input1
[ 3.927631] input: gpio-keys as /devices/platform/gpio-keys/input/input2
and from /proc
# cat /proc/bus/input/devices
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="ti-tsc"
P: Phys=
S: Sysfs=/devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0d000.target-module/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input0
U: Uniq=
H: Handlers=
B: PROP=2
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003
here ti-tsc is my touch screen. There is no /dev/input directory created. Tried checking if I am getting interrupts,
watch -n1 "cat /proc/interrupts"
16: 8523 INTC 68 Level clockevent
17: 0 INTC 3 Level arm-pmu
18: 1 INTC 96 Level 44e07000.gpio
19: 443 INTC 72 Level 44e09000.serial
20: 186 INTC 70 Level 44e0b000.i2c
21: 2150 INTC 16 Level TI-am335x-tsc, TI-am335x-adc.1.auto
24: 0 INTC 75 Level rtc0
25: 0 INTC 76 Level rtc0
31: 0 INTC 98 Level 4804c000.gpio
32: 3450 INTC 64 Level mmc0
34: 114 INTC 30 Level 4819c000.i2c
35: 0 INTC 32 Level 481ac000.gpio
36: 0 INTC 62 Level 481ae000.gpio
37: 2736 INTC 36 Level tilcdc
I see interrupts registered for TI-am335x-tsc count to increase if I touch the screen. The problem is I can’t see any touch event reported by udevadm monitor, no /dev/input
Below is output of
udevadm info -a -p /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0d000.target-module/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input0
and udevadm test command,
udevadm test --action="add /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0d000.target-module/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input0
dmesg log,
What to do next so that I can get touch events over /dev/input/input0