Hi Manjaro team,
I’ve recently bought an external touch monitor connected via an hdmi for the video signal and by an usbc for power and touch signal.
While the video part works without a problem the touch gives no signal at all and it’s a software issue since works fine on a windows machine.
I’ve tried to follow various online guide on how to solve the issue but I mostly found outdated resources or no solution at all: if someone would be able to help it would be great
command that I’ve tried:
$ sudo cat dev input event*
No such device
$ less proc/bus/input/devices:
I: Bus=0003 Vendor=2a94 Product=564d Version=0111 N: Name="G2Touch Multi-Touch by G2TSP" P: Phys=usb-0000:00:14.0-1/input0 S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:2A94:564D.000B/input/input28 U: Uniq= H: Handlers=event20 mouse2 B: PROP=2 B: EV=1b B: KEY=400 0 0 0 0 0 B: ABS=260800000000003 B: MSC=20
$ lsusb and xinput list
$ sudo libinput list-devices
Device: G2Touch Multi-Touch by G2TSP Kernel: /dev/input/event20 Group: 5 Seat: seat0, default Size: 320x180mm Capabilities: touch Tap-to-click: n/a Tap-and-drag: n/a Tap drag lock: n/a Left-handed: n/a Nat.scrolling: n/a Middle emulation: n/a Calibration: identity matrix Scroll methods: none Click methods: none Disable-w-typing: n/a Accel profiles: n/a Rotation: n/a
(G2Touch Multi-Touch by G2TSP)
Edit: additional info
$ inxi -Fxza
System: Kernel: 5.7.14-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 root=UUID=332fbe2a-5b0a-4ab4-ac78-0390163712ba rw quiet apparmor=1 security=apparmor resume=UUID=da553de5-64fa-4e7d-b41f-970e77568c26 udev.log_priority=3 Desktop: GNOME 3.36.4 tk: GTK 3.24.22 wm: gnome-shell dm: GDM 3.36.3 Distro: Manjaro Linux Machine: Type: Laptop System: LENOVO product: 80Q7 v: Lenovo ideapad 300-15ISK serial: <filter> Chassis: type: 10 v: Lenovo ideapad 300-15ISK serial: <filter> Mobo: LENOVO model: Paris 5A8 v: SDK0J40709 WIN serial: <filter> UEFI: LENOVO v: D5CN43WW date: 12/16/2015 Battery: ID-1: BAT0 charge: 17.0 Wh condition: 17.0/31.7 Wh (54%) volts: 16.1/14.4 model: SANYO L15S4A01 type: Li-poly serial: <filter> status: Full CPU: Topology: Dual Core model: Intel Core i7-6500U bits: 64 type: MT MCP arch: Skylake family: 6 model-id: 4E (78) stepping: 3 microcode: D6 L2 cache: 4096 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20810 Speed: 500 MHz min/max: 400/3100 MHz Core speeds (MHz): 1: 763 2: 560 3: 648 4: 500 Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable Type: mds mitigation: Clear CPU buffers; SMT vulnerable Type: meltdown mitigation: PTI Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling Type: srbds status: Vulnerable: No microcode Type: tsx_async_abort status: Not affected Graphics: Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:1916 Device-2: Syntek Lenovo EasyCamera type: USB driver: uvcvideo bus ID: 1-4:3 chip ID: 174f:14e9 serial: <filter> Display: wayland server: X.Org 1.20.8 compositor: gnome-shell driver: intel unloaded: modesetting alternate: fbdev,vesa display ID: :0 screens: 1 Screen-1: 0 s-res: 3286x1080 s-dpi: 96 s-size: 869x286mm (34.2x11.3") s-diag: 915mm (36") Monitor-1: XWAYLAND0 res: 1366x768 hz: 60 dpi: 102 size: 340x190mm (13.4x7.5") diag: 389mm (15.3") Monitor-2: XWAYLAND1 res: 1920x1080 hz: 60 dpi: 143 size: 340x190mm (13.4x7.5") diag: 389mm (15.3") OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 20.1.5 direct render: Yes Audio: Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus ID: 00:1f.3 chip ID: 8086:9d70 Sound Server: ALSA v: k5.7.14-1-MANJARO Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000 bus ID: 01:00.0 chip ID: 10ec:8168 IF: enp1s0 state: down mac: <filter> Device-2: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi v: kernel port: 3000 bus ID: 02:00.0 chip ID: 8086:3166 IF: wlp2s0 state: up mac: <filter> Drives: Local Storage: total: 1.02 TiB used: 309.72 GiB (29.7%) SMART Message: Unable to run smartctl. Root privileges required. ID-1: /dev/sda vendor: Western Digital model: WD10JPCX-24UE4T0 size: 931.51 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 1A01 scheme: GPT ID-2: /dev/sdb vendor: Samsung model: SSD 750 EVO 120GB size: 111.79 GiB block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 1B6Q scheme: GPT Partition: ID-1: / raw size: 55.88 GiB size: 54.75 GiB (97.98%) used: 11.61 GiB (21.2%) fs: ext4 dev: /dev/sdb2 ID-2: /home raw size: 93.13 GiB size: 91.17 GiB (97.89%) used: 16.63 GiB (18.2%) fs: ext4 dev: /dev/sda2 Swap: Kernel: swappiness: 60 (default) cache pressure: 100 (default) ID-1: swap-1 type: partition size: 18.63 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda1 Sensors: System Temperatures: cpu: 50.0 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 207 Uptime: 8m Memory: 11.57 GiB used: 1.79 GiB (15.4%) Init: systemd v: 245 Compilers: gcc: 10.1.0 Packages: 1245 apt: 1 pacman: 1240 lib: 312 flatpak: 0 snap: 4 Shell: Zsh v: 5.8 running in: gnome-terminal inxi: 3.1.05
$ sudo dmesg | grep usb
[ 238.607833] usb 1-1: new full-speed USB device number 18 using xhci_hcd [ 238.749885] usb 1-1: New USB device found, idVendor=2a94, idProduct=564d, bcdDevice= 2.00 [ 238.749895] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 238.749901] usb 1-1: Product: Multi-Touch by G2TSP [ 238.749906] usb 1-1: Manufacturer: G2Touch [ 238.762050] input: G2Touch Multi-Touch by G2TSP as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:2A94:564D.0013/input/input32 [ 238.762825] hid-multitouch 0003:2A94:564D.0013: input,hidraw2: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input0 [ 238.765552] hid-generic 0003:2A94:564D.0014: hiddev1,hidraw3: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input1 [ 238.820914] usb 1-1: USB disconnect, device number 18 [ 240.837887] usb 1-1: new full-speed USB device number 19 using xhci_hcd [ 240.979497] usb 1-1: New USB device found, idVendor=2a94, idProduct=564d, bcdDevice= 2.00 [ 240.979506] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 240.979512] usb 1-1: Product: Multi-Touch by G2TSP [ 240.979516] usb 1-1: Manufacturer: G2Touch [ 240.988800] input: G2Touch Multi-Touch by G2TSP as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:2A94:564D.0015/input/input33 [ 240.989239] hid-multitouch 0003:2A94:564D.0015: input,hidraw2: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input0 [ 240.992225] hid-generic 0003:2A94:564D.0016: hiddev1,hidraw3: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input1 [ 314.807170] usb 1-1: USB disconnect, device number 19 [ 315.351121] usb 1-1: new full-speed USB device number 20 using xhci_hcd [ 315.492427] usb 1-1: New USB device found, idVendor=2a94, idProduct=564d, bcdDevice= 2.00 [ 315.492428] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 315.492430] usb 1-1: Product: Multi-Touch by G2TSP [ 315.492430] usb 1-1: Manufacturer: G2Touch [ 315.497364] input: G2Touch Multi-Touch by G2TSP as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:2A94:564D.0017/input/input34 [ 315.497437] hid-multitouch 0003:2A94:564D.0017: input,hidraw2: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input0 [ 315.498185] hid-generic 0003:2A94:564D.0018: hiddev1,hidraw3: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input1 [ 317.679385] usb 1-1: USB disconnect, device number 20 [ 318.237978] usb 1-1: new full-speed USB device number 21 using xhci_hcd [ 318.379877] usb 1-1: New USB device found, idVendor=2a94, idProduct=564d, bcdDevice= 2.00 [ 318.379881] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 318.379883] usb 1-1: Product: Multi-Touch by G2TSP [ 318.379885] usb 1-1: Manufacturer: G2Touch [ 318.386631] input: G2Touch Multi-Touch by G2TSP as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:2A94:564D.0019/input/input35 [ 318.386839] hid-multitouch 0003:2A94:564D.0019: input,hidraw2: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input0 [ 318.388543] hid-generic 0003:2A94:564D.001A: hiddev1,hidraw3: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input1
Update 18/08:
Since I work under a wayland session it’s actually correct that the device doesn’t show up in $ xinput --list
since wayland mask the X server apparently.
I’ve found that the right way of working is by using $ sudo libinput debug-events
for which I obtain
-event20 DEVICE_REMOVED G2Touch Multi-Touch by G2TSP seat0 default group5 cap:t size 320x180mm ntouches 10 -event20 DEVICE_ADDED G2Touch Multi-Touch by G2TSP seat0 default group12 cap:t size 320x180mm ntouches 10 calib event20 DEVICE_REMOVED G2Touch Multi-Touch by G2TSP seat0 default group12 cap:t size 320x180mm ntouches 10 event20 DEVICE_ADDED G2Touch Multi-Touch by G2TSP seat0 default group13 cap:t size 320x180mm ntouches 10 calib event20 DEVICE_REMOVED G2Touch Multi-Touch by G2TSP seat0 default group13 cap:t size 320x180mm ntouches 10 event20 DEVICE_ADDED G2Touch Multi-Touch by G2TSP seat0 default group14 cap:t size 320x180mm ntouches 10 calib event20 DEVICE_REMOVED G2Touch Multi-Touch by G2TSP seat0 default group14 cap:t size 320x180mm ntouches 10 -event20 DEVICE_ADDED G2Touch Multi-Touch by G2TSP seat0 default group15 cap:t size 320x180mm ntouches 10 calib
The device after a few touches (around 10) gets removed and the next touch seems to add it back. By looking at the journal I notice that the device gets handled two times in succession
$ journalctl
ago 18 16:21:41 ■■■■■■■■■■■■■■ kernel: usb 1-1: new full-speed USB device number 24 using xhci_hcd ago 18 16:21:41 ■■■■■■■■■■■■■■ kernel: usb 1-1: New USB device found, idVendor=2a94, idProduct=564d, bcdDevice= 2.00 ago 18 16:21:41 ■■■■■■■■■■■■■■ kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 ago 18 16:21:41 ■■■■■■■■■■■■■■ kernel: usb 1-1: Product: Multi-Touch by G2TSP ago 18 16:21:41 ■■■■■■■■■■■■■■ kernel: usb 1-1: Manufacturer: G2Touch ago 18 16:21:41 ■■■■■■■■■■■■■■ kernel: input: G2Touch Multi-Touch by G2TSP as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:2A94:564D.0021/input/input39 ago 18 16:21:41 ■■■■■■■■■■■■■■ kernel: hid-multitouch 0003:2A94:564D.0021: input,hidraw2: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input0 ago 18 16:21:41 ■■■■■■■■■■■■■■ kernel: hid-generic 0003:2A94:564D.0022: hiddev1,hidraw3: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input1 ago 18 16:21:41 ■■■■■■■■■■■■■■ kernel: usb 1-1: USB disconnect, device number 24 ago 18 16:21:41 ■■■■■■■■■■■■■■ gnome-shell[1415]: Impossible to monitor trash: Gio.IOErrorEnum: Operation not supported ago 18 16:21:41 ■■■■■■■■■■■■■■ gnome-shell[1415]: Impossible to enumerate trash children: Gio.IOErrorEnum: Operation not supported ago 18 16:21:41 ■■■■■■■■■■■■■■ gnome-shell[1415]: Impossible to monitor trash: Gio.IOErrorEnum: Operation not supported ago 18 16:21:41 ■■■■■■■■■■■■■■ gnome-shell[1415]: Impossible to enumerate trash children: Gio.IOErrorEnum: Operation not supported ago 18 16:21:41 ■■■■■■■■■■■■■■ fido_id[5046]: usb1: Failed to open report descriptor at '/sys/devices/pci0000:00/0000:00:14.0/usb1/report_descriptor': No such file or directory ago 18 16:21:41 ■■■■■■■■■■■■■■ fido_id[5051]: usb1: Failed to open report descriptor at '/sys/devices/pci0000:00/0000:00:14.0/usb1/report_descriptor': No such file or directory ago 18 16:21:41 ■■■■■■■■■■■■■■ gnome-shell[1415]: Could not open device /dev/input/event20: Could not get device info for path /dev/input/event20: No such file or directory ago 18 16:21:42 ■■■■■■■■■■■■■■ gnome-shell[1415]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10). ago 18 16:21:42 ■■■■■■■■■■■■■■ gnome-shell[1415]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c). ago 18 16:21:42 ■■■■■■■■■■■■■■ gnome-shell[1415]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11). ago 18 16:21:42 ■■■■■■■■■■■■■■ gnome-shell[1415]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12). ago 18 16:21:42 ■■■■■■■■■■■■■■ gnome-shell[1415]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a). ago 18 16:21:42 ■■■■■■■■■■■■■■ gnome-shell[1415]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b). ago 18 16:21:42 ■■■■■■■■■■■■■■ gnome-shell[1415]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d). ago 18 16:21:42 ■■■■■■■■■■■■■■ gnome-shell[1415]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e). ago 18 16:21:42 ■■■■■■■■■■■■■■ gnome-shell[1415]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f). ago 18 16:21:43 ■■■■■■■■■■■■■■ kernel: usb 1-1: new full-speed USB device number 25 using xhci_hcd ago 18 16:21:43 ■■■■■■■■■■■■■■ dbus-daemon[621]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.891' (uid=974 pid=5040 commago 18 16:21:43 ■■■■■■■■■■■■■■ kernel: usb 1-1: new full-speed USB device number 25 using xhci_hcd ago 18 16:21:43 ■■■■■■■■■■■■■■ dbus-daemon[621]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.891' (uid=974 pid=5040 comm="/usr/lib/colord-sane " label="unconfined") ago 18 16:21:43 ■■■■■■■■■■■■■■ dbus-daemon[621]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found. ago 18 16:21:43 ■■■■■■■■■■■■■■ kernel: usb 1-1: New USB device found, idVendor=2a94, idProduct=564d, bcdDevice= 2.00 ago 18 16:21:43 ■■■■■■■■■■■■■■ kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 ago 18 16:21:43 ■■■■■■■■■■■■■■ kernel: usb 1-1: Product: Multi-Touch by G2TSP ago 18 16:21:43 ■■■■■■■■■■■■■■ kernel: usb 1-1: Manufacturer: G2Touch ago 18 16:21:43 ■■■■■■■■■■■■■■ kernel: input: G2Touch Multi-Touch by G2TSP as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:2A94:564D.0023/input/input40 ago 18 16:21:43 ■■■■■■■■■■■■■■ kernel: hid-multitouch 0003:2A94:564D.0023: input,hidraw2: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input0 ago 18 16:21:43 ■■■■■■■■■■■■■■ kernel: hid-generic 0003:2A94:564D.0024: hiddev1,hidraw3: USB HID v1.11 Device [G2Touch Multi-Touch by G2TSP] on usb-0000:00:14.0-1/input1 ago 18 16:21:44 ■■■■■■■■■■■■■■ dbus-daemon[621]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.892' (uid=974 pid=5040 comm="/usr/lib/colord-sane " label="unconfined") ago 18 16:21:44 ■■■■■■■■■■■■■■ dbus-daemon[621]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.