From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <109d4a3ff68891c27dc059c338f382db@quanstro.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] usbd problem From: erik quanstrom Date: Tue, 12 Feb 2008 08:21:18 -0500 In-Reply-To: <1f49f39255988ef5f12cfc97be595b0e@hamnavoe.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 50c0dcfe-ead3-11e9-9d60-3106f5b1d025 > 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