9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] qemu usb flash drive (stick)
Date: Wed, 21 Sep 2011 11:18:57 +0100	[thread overview]
Message-ID: <85416eb3602b5a0377a59b128cf77d06@hamnavoe.com> (raw)
In-Reply-To: <8703246.239.1316559485340.JavaMail.geo-discussion-forums@yqav13>

>> - try 'ls -d /dev/usb' to see if '#u' is bound in /dev
>
> Assuming that I'm getting some output how can I know if it is correct? Are there any userspace commands to see what is bound where? bind doesn't seem to support listings, only namespace modifications.

ns(1) command shows bindings.

> Perhaps it's time to look at the source code of usbd? :)

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.




  reply	other threads:[~2011-09-21 10:18 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 [this message]
2011-09-21 18:10       ` Bakul Shah
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=85416eb3602b5a0377a59b128cf77d06@hamnavoe.com \
    --to=9fans@hamnavoe.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).