Turn USB HID drivers into event-session clients

Issue #3845
This commit is contained in:
Norman Feske
2020-08-13 16:03:59 +02:00
parent 974118acec
commit a2381c7e4c
26 changed files with 105 additions and 186 deletions

View File

@@ -39,12 +39,14 @@ Configuration snippet:
!<start name="usb_drv">
! <resource name="RAM" quantum="12M"/>
! <provides><service name="Input"/></provides>
! <config uhci="yes" ohci="yes" ehci="yes" xhci="yes">
! <hid/>
! </config>
!</start>
With '<hid>' config node in place, the USB driver requests an "Event" session
for reporting input events.
Note: It has been observed that certain 1.0 versions of Qemu do not generate
mouse interrupts. The mouse driver should work correctly on Qemu 1.0.93 and
above.
@@ -92,7 +94,6 @@ Configuration snippet:
! <resource name="RAM" quantum="12M"/>
! <provides>
! <service name="Nic"/>
! <service name="Input"/>
! </provides>
! <config ehci="yes" xhci="yes">
! <nic mac="2e:60:90:0c:4e:01" />