> I don't think the problem is within usbd.  The 'no hubs' message
> really does mean what it says -- it seems the kernel hasn't succeeded
> in initialising the usb host interface to the extent where it sees
> the built-in hub which usbd needs to enumerate devices.
> 
> I think you need input from a qemu expert here -- I've never tried qemu
> myself.  What version of qemu are you using, on what OS?  Maybe there's
> a trick to configuring usb on qemu, or maybe that version of qemu just
> doesn't emulate usb in quite the way that Plan 9 wants to see.

Haven't used qemu much lately.  There must be plenty of
examples on the web but from what I remember, you have to tell
qemu a few things.

$ qemu -usb -monitor stdio ...

To find vendor/product ids for a device you want, use lsusb on
linux or usbconfig on freebsd.  The host *must not* load any
driver for this device. Tell qemu about it either via command
line with "-usbdevice host:<vendor><product>" or later via its
monitor shell on stdio with "usb_add host:<vendor><product>"

Reply via email to