Tool/software: Linux
Hi,
I have a strange issue with my touchscreen's input. We have a custom i2c touch screen interface which is working well when tested using the matrix-gui's touch screen demos. It also works fine when just using the weston desktop (e.g. I can launch a weston-terminal and drag the window around). However, if I launch chromium, the touch input is no longer registered UNLESS I plug in a USB mouse. Also, once the touch input starts working in chrome, I can unplug the mouse and it will continue to work. I have added the device's modalias to /etc/udev/rules.d/touchscreen.rules but I see the systemd-udevd modprobe failing. As for it working with the mouse... it seems the touchscreen piggy-backs onto the mouse's device driver registration. Any suggestions to help debug would be appreciated, thanks.
This is a custom board, Linux 4.9.69, Processor SDK 4.03.00 and I modeled my touchscreen i2c driver after the EVM's pixcir driver.
root@am57xx-evm:/sys/class/input/input0# cat name
hy461x_ts
root@am57xx-evm:/sys/class/input/input0# cat modalias
input:b0018v0000p0000e0000-e0,1,3,k14A,ra0,1,2F,35,36,39,mlsfw
root@am57xx-evm:/sys/class/input/input0# journalctl | grep input
Apr 19 04:53:32 am57xx-evm kernel: input: hy461x_ts as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-0038/input/input0
Apr 19 04:53:33 am57xx-evm kernel[327]: [ 10.047659] input: hy461x_ts as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-0038/input/input0
Apr 19 04:53:35 am57xx-evm systemd-udevd[191]: Process '/sbin/modprobe input:b0018v0000p0000e0000-e0,1,3,k14A,ra0,1,2F,35,36,39,mlsfw' failed with exit code 1.
Apr 19 04:56:51 am57xx-evm kernel: input: Logitech USB Optical Mouse as /devices/platform/44000000.ocp/488c0000.omap_dwc3_2/488d0000.usb/xhci-hcd.2.auto/usb3/3-1/3-1:1.0/0003:046D:C077.0001/input/input1
Apr 19 04:56:51 am57xx-evm kernel: hid-generic 0003:046D:C077.0001: input: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-xhci-hcd.2.auto-1/input0
Apr 19 04:56:51 am57xx-evm kernel[327]: [ 209.540869] input: Logitech USB Optical Mouse as /devices/platform/44000000.ocp/488c0000.omap_dwc3_2/488d0000.usb/xhci-hcd.2.auto/usb3/3-1/3-1:1.0/0003:046D:C077.0001/input/input1
Apr 19 04:56:51 am57xx-evm kernel[327]: [ 209.557520] hid-generic 0003:046D:C077.0001: input: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-xhci-hcd.2.auto-1/input0
Apr 19 04:56:51 am57xx-evm systemd-udevd[989]: Process '/sbin/modprobe input:b0003v046DpC077e0111-e0,1,2,4,k110,111,112,113,114,115,116,117,r0,1,8,am4,lsfw' failed with exit code 1.