On 02/16/15 13:14, Alexander Graf wrote: > > > On 16.02.15 13:07, Laszlo Ersek wrote: >> On 02/15/15 22:13, Alexander Graf wrote: >>> >>> >>> On 14.02.15 23:02, Laszlo Ersek wrote: >>>> Similarly to the previous patch, we can now multiplex input from the USB >>>> keyboard. >>>> >>>> Contributed-under: TianoCore Contribution Agreement 1.0 >>>> Signed-off-by: Laszlo Ersek <[email protected]> >>> >>> I would like to make -usb on -M virt spawn an xHCI controller rather >>> than uhci/ehci, as the xhci protocol is by far more virtualization friendly. >>> >>> Does TianoCore support xHCI? >> >> Yes, there's >> >> MdeModulePkg/Bus/Pci/XhciDxe/ >> >> but we've never used it in OVMF, so I have no experience how well it >> works. I can try it out of course for armvirt -- what qemu command line >> switches do I need to hook the USB keyboard to xhci? > > Thanks a bunch! :) > (btw: it would probably make sense to enable it for OVMF as well) > > Just do -device nec-usb-xhci -device usb-kbd -device usb-mouse. Since > xhci then exposes the only USB bus, the resective devices automatically > attach to it.
I tried this now. It hits an assert in the xhci driver: ASSERT MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c(1759): TrsRing != ((void *) 0) I think we should postpone debugging that; the series is big enough already. I'll stick with ehci for the time being. Thanks! Laszlo ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
