https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244079

            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: b...@freebsd.org
          Reporter: d...@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 USB REPORT>>

# dmesg | grep USB
uhci0: <Intel 82801I (ICH9) USB controller> port 0xb0a0-0xb0bf irq 16 at device
29.0 on pci0
uhci1: <Intel 82801I (ICH9) USB controller> port 0xb080-0xb09f irq 17 at device
29.1 on pci0
uhci2: <Intel 82801I (ICH9) USB controller> port 0xb060-0xb07f irq 18 at device
29.2 on pci0
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xc8b83000-0xc8b83fff irq
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: <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
ums0: <QEMU QEMU USB Mouse, class 0/0, rev 2.00/0.00, addr 3> on usbus3
uhid0: <QEMU QEMU USB Tablet, class 0/0, rev 2.00/0.00, addr 4> on usbus3
<<DMESG USB REPORT>>


So QEMU USB Tablet is found and connected to device /dev/uhid0

However it does not appear in set of evdev captured devices


<<EVDEV DEVICE INFO>>

# python3.7 -m evdev.evtest
ID  Device               Name                                Phys              
                 Uniq
------------------------------------------------------------------------------------------------------------------------------------------
0   /dev/input/event0    System keyboard multiplexer         kbdmux0            
1   /dev/input/event1    System mouse                        sysmouse           
2   /dev/input/event2    AT keyboard                         atkbd0             
3   /dev/input/event3    IntelliMouse Explorer               psm0               
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, addr 3
ums0                                89126-0000:00:1d.7-4

Select devices [0-5]:

<<END EVDEV DEVICE INFO>>

NOTE: Kernel build with netmap disabled kernel due to this bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241774) 


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 EvTouch
USB support much discussed issues when doing web search. This bug reports
potential root cause fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to