Hi all,
I've got an issue with a touchscreen device. Specifically,
the Argonaut M7. It has an HDMI connection for the display, and a USB connection for the touch device. The PC is running Arch, kernel version 4.11.9.
The display itself works perfectly fine, only the touch device is troublesome. The problem is that the touch device does not work if the PC reboots. When I log in, I can use the laptop's touchpad and pointing stick, but the touch device doesn't work. I have found that, if I move the mouse using the touchpad or pointing stick, unplug the USB cable, then plug it back in, the touchscreen will start working normally. Once it starts working, it appears to keep working until the PC reboots. After a reboot, it doesn't work until you repeat the unplug/replug procedure.
As a side note, this has been very hard to test, but it seems that sometimes it DOESN'T work after unplug/replug, but generally DOES seem to work if you move the mouse around with the touchpad or pointing stick before/during/after unplug/replug.
When the device is plugged in, it always has the following entry in lsusb:
Code:
$ lsusb | grep Micro
Bus 004 Device 003: ID 04d8:f724 Microchip Technology, Inc.
There is only a small difference in lsmod when the device is plugged in or not:
Code:
$ lsmod | grep evdev
evdev 24576 18
$ lsmod | grep hid
hid_multitouch 20480 0
mac_hid 16384 0
usbhid 45056 0
hid 110592 2 usbhid,hid_multitouch
usbcore 208896 8 uvcvideo,usbhid,ehci_hcd,xhci_pci,btusb,i2400m_usb,xhci_hcd,ehci_pci
When plugged in, evdev is used by 18 things, as above, whereas when the device is unplugged, it is used by 17. None of the hid modules are used by a different number of things when plugged/unplugged. Note also that, when the device is plugged in, it is used by 18 regardless of whether it is in a working state or not.
When the system boots with the device plugged in, the following messages can be found in dmesg:
Code:
[ 3.373407] input: TOUCH as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.0/0003:04D8:F724.0001/input/input8
[ 3.373430] input: TOUCH Pen as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.0/0003:04D8:F724.0001/input/input10
[ 3.373492] hid-multitouch 0003:04D8:F724.0001: input,hiddev0,hidraw0: USB HID v1.11 Mouse [ TOUCH ] on usb-0000:00:1d.0-1.1/input0
When I unplug it, I get this:
Code:
[ 66.236372] usb 4-1.1: USB disconnect, device number 3
And then when I plug it back in, this:
Code:
[ 71.048007] usb 4-1.1: new full-speed USB device number 6 using ehci-pci
[ 71.155081] input: TOUCH as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.0/0003:04D8:F724.0002/input/input25
[ 71.155473] input: TOUCH Pen as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.0/0003:04D8:F724.0002/input/input27
[ 71.156130] hid-multitouch 0003:04D8:F724.0002: input,hiddev0,hidraw0: USB HID v1.11 Mouse [ TOUCH ] on usb-0000:00:1d.0-1.1/input0
So it appears that the device is correctly recognized prior to unplugging/replugging, but it gets enumerated differently. Nevertheless, it doesn't work on boot, and may not work after unplug/replug unless you manipulate the other pointing devices somehow.
Thoughts? Please let me know if I can provide more info that would help. Thanks!