9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] usbd problem
Date: Tue, 12 Feb 2008 08:21:18 -0500	[thread overview]
Message-ID: <109d4a3ff68891c27dc059c338f382db@quanstro.net> (raw)
In-Reply-To: <1f49f39255988ef5f12cfc97be595b0e@hamnavoe.com>

> Looking at /sys/src/cmd/usb/usbd/usbd.c, I wonder whether
> your problem has something to do with these lines?
>
> //unconscionable kludge (testing camera)
> if(d->class == 10) setup0(d, RH2D|Rinterface, SET_INTERFACE, 10, 0, 0);

thanks for the suggestion, but the camera was a red herring.
it was actually the usb key that i'd plugged in.  the key works fine
with xp.  so i engineered a swap of usb keys.  it was dying in
setup0 with Estalled.

shouldn't usbd be resistant to badly-behaving devices?
it seems that any error on any endpoint will topple usbd,
at least during configure.

one final question, is there an advantage to usb/disk creating a fs
that's incompatable with devsd?  it would seem to make booting
from usb root difficult.

- erik


  reply	other threads:[~2008-02-12 13:21 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-12  8:21 Richard Miller
2008-02-12 13:21 ` erik quanstrom [this message]
2008-02-12 21:24   ` Richard Miller
2008-02-12 21:28     ` geoff
2008-02-12 21:33       ` Richard Miller
2008-02-12 21:37     ` erik quanstrom
2008-02-12 22:18       ` Richard Miller
2008-02-12 23:05         ` geoff
2008-02-13  6:31           ` arisawa
2008-02-13  8:25             ` Richard Miller
2008-02-13  8:54               ` arisawa
2008-02-13 10:58             ` Richard Miller
2008-02-13 14:13               ` Richard Miller
2008-02-13 18:49                 ` geoff
2008-02-13 15:54           ` Richard Miller
  -- strict thread matches above, loose matches on Subject: below --
2008-02-12  1:36 erik quanstrom
2008-02-12  8:20 ` Richard Miller
2008-02-12 13:59 ` Sape Mullender
2008-02-12 14:13   ` erik quanstrom
2008-02-12 14:35     ` Sape Mullender
2008-02-12 14:42       ` Fco. J. Ballesteros
2008-02-13  0:50       ` erik quanstrom
2008-02-13 14:32         ` Richard Miller
2008-02-13 14:45           ` erik quanstrom
2008-02-13 14:52             ` Richard Miller
2008-02-13 15:04               ` erik quanstrom
2008-02-13 16:18             ` Sape Mullender
2008-02-13 16:37               ` erik quanstrom
2008-02-13 17:09                 ` Sape Mullender

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=109d4a3ff68891c27dc059c338f382db@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /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).