From owner-freebsd-bugs@freebsd.org Wed Feb 12 20:25:43 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 32A98242557 for ; Wed, 12 Feb 2020 20:25:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48HrkH0cN5z3xM2 for ; Wed, 12 Feb 2020 20:25:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 13261242556; Wed, 12 Feb 2020 20:25:43 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 12ED6242555 for ; Wed, 12 Feb 2020 20:25:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48HrkG6nTKz3xM1 for ; Wed, 12 Feb 2020 20:25:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E0B4227135 for ; Wed, 12 Feb 2020 20:25:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01CKPguB037278 for ; Wed, 12 Feb 2020 20:25:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01CKPgYX037277 for bugs@FreeBSD.org; Wed, 12 Feb 2020 20:25:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 244079] QEMU / KVM Q35 USB Tablet (EVTouch) input device not captured by evdev Date: Wed, 12 Feb 2020 20:25:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: drum@graphica.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2020 20:25:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244079 Bug ID: 244079 Summary: QEMU / KVM Q35 USB Tablet (EVTouch) input device not captured by evdev Product: Base System Version: 12.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: drum@graphica.com.au BUG: The QEMU EvTouch USB Graphics Tablet is not one of devices that is captured= and available via /dev/input/event* The impact of this is that you cannot get X11 evadev pointer device support= to work with FreeBSD 12.1 running on QEMU / KVM / Q35 . TESTING: Running FreeBSD 12.1 on: QEMU / KVM / OVMF / Q35 VM with EvTouch USB Graphics Tablet connected. Boot shows that devices is connected: <> # dmesg | grep USB uhci0: port 0xb0a0-0xb0bf irq 16 at de= vice 29.0 on pci0 uhci1: port 0xb080-0xb09f irq 17 at de= vice 29.1 on pci0 uhci2: port 0xb060-0xb07f irq 18 at de= vice 29.2 on pci0 ehci0: mem 0xc8b83000-0xc8b83fff i= rq 19 at device 29.7 on pci0 usbus0: 12Mbps Full Speed USB v1.0 usbus2: usbus1: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 480Mbps High Speed USB v2.0 ugen3.2: at usbus3 ukbd0: on usbus3 ugen3.3: at usbus3 ugen3.4: at usbus3 ums0: on usbus3 uhid0: on usbus3 <> So QEMU USB Tablet is found and connected to device /dev/uhid0 However it does not appear in set of evdev captured devices <> # python3.7 -m evdev.evtest ID Device Name Phys=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 Uniq ---------------------------------------------------------------------------= --------------------------------------------------------------- 0 /dev/input/event0 System keyboard multiplexer kbdmux0=20=20= =20=20=20=20=20=20=20=20=20=20 1 /dev/input/event1 System mouse sysmouse=20=20= =20=20=20=20=20=20=20=20=20 2 /dev/input/event2 AT keyboard atkbd0=20=20= =20=20=20=20=20=20=20=20=20=20=20 3 /dev/input/event3 IntelliMouse Explorer psm0=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 4 /dev/input/event4 QEMU QEMU USB Keyboard, class 0/0, rev 2.00/0.00, = addr 2 ukbd0 68284-0000:00:1d.7-1 5 /dev/input/event5 QEMU QEMU USB Mouse, class 0/0, rev 2.00/0.00, add= r 3 ums0 89126-0000:00:1d.7-4 Select devices [0-5]: <> NOTE: Kernel build with netmap disabled kernel due to this bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241774)=20 EXPECTED BEHAVIOUR: QEMU USB Tablet should also be one of devices captured with input data available via /dev/input/event* device Please let me know if you need additional testing to help with diagnosis. I am reporting this as effecting many people as flow through to lack of EvT= ouch USB support much discussed issues when doing web search. This bug reports potential root cause fix. --=20 You are receiving this mail because: You are the assignee for the bug.=