From: Bakul Shah <bakul@bitblocks.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] qemu usb flash drive (stick)
Date: Wed, 21 Sep 2011 11:10:07 -0700 [thread overview]
Message-ID: <20110921181007.02299B84F@mail.bitblocks.com> (raw)
In-Reply-To: Your message of "Wed, 21 Sep 2011 11:18:57 BST." <85416eb3602b5a0377a59b128cf77d06@hamnavoe.com>
> 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>"
next prev parent reply other threads:[~2011-09-21 18:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-19 8:34 faif
2011-09-20 9:07 ` faif
2011-09-20 9:38 ` Richard Miller
2011-09-21 8:36 ` faif
2011-09-21 10:18 ` Richard Miller
2011-09-21 18:10 ` Bakul Shah [this message]
2011-09-22 8:32 ` faif
2011-09-26 8:42 ` faif
2011-09-26 9:00 ` Richard Miller
2011-11-28 9:38 ` faif
2011-11-28 10:06 ` cinap_lenrek at gmx.de
2011-11-28 13:19 ` erik quanstrom
2011-11-29 10:15 ` faif
2011-11-29 10:15 ` faif
2011-11-29 10:16 ` faif
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110921181007.02299B84F@mail.bitblocks.com \
--to=bakul@bitblocks.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).