Date: Tue, 18 Feb 2020 07:06:55 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 244079] QEMU / KVM Q35 USB Tablet (EVTouch) input device not captured by evdev Message-ID: <bug-244079-27103-67Hz0j54hs@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-244079-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-244079-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244079 --- Comment #2 from John Hartley <drum@graphica.com.au> --- Hi Vladimir, thank you very much for response. I have done as suggested: <<DMESG WITH UTOUCH>> # dmesg | grep USB uhci0: <Intel 82801I (ICH9) USB controller> port 0xb0a0-0xb0bf irq 16 at de= vice 29.0 on pci0 uhci1: <Intel 82801I (ICH9) USB controller> port 0xb080-0xb09f irq 17 at de= vice 29.1 on pci0 uhci2: <Intel 82801I (ICH9) USB controller> port 0xb060-0xb07f irq 18 at de= vice 29.2 on pci0 ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xc8b83000-0xc8b83fff i= rq 19 at device 29.7 on pci0 usbus0: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus1: 12Mbps Full Speed USB v1.0 ugen3.2: <QEMU QEMU USB Keyboard> at usbus3 ukbd0: <QEMU QEMU USB Keyboard, class 0/0, rev 2.00/0.00, addr 2> on usbus3 ugen3.3: <QEMU QEMU USB Mouse> at usbus3 ugen3.4: <QEMU QEMU USB Tablet> at usbus3 utouch0: <QEMU QEMU USB Tablet, class 0/0, rev 2.00/0.00, addr 4> on usbus3 ums0: <QEMU QEMU USB Mouse, class 0/0, rev 2.00/0.00, addr 3> on usbus3 <<END DMESG WITH UTOUCH>> <<EVTEST>> # 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 Tablet, class 0/0, rev 2.00/0.00, ad= dr 4 utouch0 28754-0000:00:1d.7-5 6 /dev/input/event6 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-6]: 5 Listening for events (press ctrl-c to exit) ... time 1582007519.619301 --------- SYN_DROPPED -------- time 1582007519.619301 --------- SYN_REPORT -------- time 1582007519.638179 type 3 (EV_ABS), code 0 (ABS_X), value 22015 time 1582007519.638179 type 3 (EV_ABS), code 1 (ABS_Y), value 26495 time 1582007519.638179 --------- SYN_REPORT -------- time 1582007519.642895 type 3 (EV_ABS), code 0 (ABS_X), value 21663 time 1582007519.642895 type 3 (EV_ABS), code 1 (ABS_Y), value 27348 time 1582007519.642895 --------- SYN_REPORT -------- time 1582007519.65342 type 3 (EV_ABS), code 0 (ABS_X), value 21215 time 1582007519.65342 type 3 (EV_ABS), code 1 (ABS_Y), value 28585 time 1582007519.65342 --------- SYN_REPORT -------- time 1582007519.66421 type 3 (EV_ABS), code 0 (ABS_X), value 20863 time 1582007519.66421 type 3 (EV_ABS), code 1 (ABS_Y), value 29823 time 1582007519.66421 --------- SYN_REPORT -------- time 1582007519.677026 type 3 (EV_ABS), code 0 (ABS_X), value 20607 time 1582007519.677026 type 3 (EV_ABS), code 1 (ABS_Y), value 31060 time 1582007519.677026 --------- SYN_REPORT -------- time 1582007519.686741 type 3 (EV_ABS), code 0 (ABS_X), value 20415 time 1582007519.686741 type 3 (EV_ABS), code 1 (ABS_Y), value 32297 time 1582007519.686741 --------- SYN_REPORT -------- time 1582007536.383169 type 3 (EV_ABS), code 0 (ABS_X), value 12031 time 1582007536.383169 type 3 (EV_ABS), code 1 (ABS_Y), value 17108 time 1582007536.383169 --------- SYN_REPORT -------- time 1582007536.449228 type 3 (EV_ABS), code 0 (ABS_X), value 12063 time 1582007536.449228 --------- SYN_REPORT -------- time 1582007536.744538 type 3 (EV_ABS), code 1 (ABS_Y), value 17066 time 1582007536.744538 --------- SYN_REPORT -------- time 1582007536.754257 type 3 (EV_ABS), code 0 (ABS_X), value 12095 time 1582007536.754257 type 3 (EV_ABS), code 1 (ABS_Y), value 17023 time 1582007536.754257 --------- SYN_REPORT -------- time 1582007536.765432 type 3 (EV_ABS), code 0 (ABS_X), value 12127 time 1582007536.765432 type 3 (EV_ABS), code 1 (ABS_Y), value 16980 time 1582007536.765432 --------- SYN_REPORT -------- time 1582007536.779227 type 3 (EV_ABS), code 0 (ABS_X), value 12159 time 1582007536.779227 type 3 (EV_ABS), code 1 (ABS_Y), value 16938 time 1582007536.779227 --------- SYN_REPORT -------- time 1582007536.786433 type 3 (EV_ABS), code 0 (ABS_X), value 12223 time 1582007536.786433 type 3 (EV_ABS), code 1 (ABS_Y), value 16895 time 1582007536.786433 --------- SYN_REPORT -------- time 1582007536.805982 type 3 (EV_ABS), code 0 (ABS_X), value 12255 time 1582007536.805982 type 3 (EV_ABS), code 1 (ABS_Y), value 16852 time 1582007536.805982 --------- SYN_REPORT -------- time 1582007536.809289 type 3 (EV_ABS), code 0 (ABS_X), value 12319 time 1582007536.809289 type 3 (EV_ABS), code 1 (ABS_Y), value 16810 time 1582007536.809289 --------- SYN_REPORT -------- time 1582007536.822264 type 3 (EV_ABS), code 0 (ABS_X), value 12351 time 1582007536.822264 type 3 (EV_ABS), code 1 (ABS_Y), value 16767 time 1582007536.822264 --------- SYN_REPORT -------- time 1582007536.831691 type 3 (EV_ABS), code 0 (ABS_X), value 12383 time 1582007536.831691 type 3 (EV_ABS), code 1 (ABS_Y), value 16724 time 1582007536.831691 --------- SYN_REPORT -------- time 1582007536.854654 type 3 (EV_ABS), code 0 (ABS_X), value 12415 time 1582007536.854654 type 3 (EV_ABS), code 1 (ABS_Y), value 16682 time 1582007536.854654 --------- SYN_REPORT -------- time 1582007537.103654 type 1 (EV_KEY), code 272 (['BTN_LEFT', 'BTN_MOUSE'= ]), value 1 time 1582007537.103654 --------- SYN_REPORT -------- time 1582007537.236717 type 3 (EV_ABS), code 0 (ABS_X), value 12479 time 1582007537.236717 --------- SYN_REPORT -------- time 1582007537.2603 type 3 (EV_ABS), code 0 (ABS_X), value 12511 time 1582007537.2603 --------- SYN_REPORT -------- time 1582007537.279146 type 1 (EV_KEY), code 272 (['BTN_LEFT', 'BTN_MOUSE'= ]), value 0 time 1582007537.279146 --------- SYN_REPORT -------- time 1582007537.280155 type 3 (EV_ABS), code 0 (ABS_X), value 12543 time 1582007537.280155 type 3 (EV_ABS), code 1 (ABS_Y), value 16724 time 1582007537.280155 --------- SYN_REPORT -------- time 1582007537.282278 type 3 (EV_ABS), code 0 (ABS_X), value 12607 time 1582007537.282278 --------- SYN_REPORT -------- time 1582007537.292983 type 3 (EV_ABS), code 0 (ABS_X), value 12671 time 1582007537.292983 type 3 (EV_ABS), code 1 (ABS_Y), value 16767 time 1582007537.292983 --------- SYN_REPORT -------- time 1582007537.313748 type 3 (EV_ABS), code 0 (ABS_X), value 12735 time 1582007537.313748 --------- SYN_REPORT -------- time 1582007537.315358 type 3 (EV_ABS), code 0 (ABS_X), value 12895 ... ... ... time 1582007545.415462 --------- SYN_REPORT -------- <<END EVTEST>> So I am now getting Absolute X/Y (which is what I want) but when I do startx the mouse is not working correctly. NOTE: I have following enabled via /etc/rc.conf: dbus_enable=3D"YES" All other mouse/pointer related items are commented out (ie disabled): #moused_enable=3D"YES" #hald_enable=3D"YES" The xinput indicates that the evdev driver has not loaded and Xorg is defaulting to mouse_drv: <<XINPUT>> # cat xinput-01.txt=20 =E2=8E=A1 Virtual core pointer id=3D2 [master p= ointer (3)] =E2=8E=9C =E2=86=B3 Virtual core XTEST pointer id=3D4 [= slave pointer (2)] =E2=8E=9C =E2=86=B3 sysmouse id=3D7 [= slave pointer (2)] =E2=8E=9C =E2=86=B3 Mouse id=3D8 [= slave pointer (2)] =E2=8E=A3 Virtual core keyboard id=3D3 [master k= eyboard (2)] =E2=86=B3 Virtual core XTEST keyboard id=3D5 [slave k= eyboard (3)] =E2=86=B3 kbdmux id=3D6 [slave k= eyboard (3)] <<END XINPUT>> So issue is now how to get evdev input device connected to xorg... can you provide any tip / link on this ? Thank you. Cheers, John Hartley. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244079-27103-67Hz0j54hs>