On Mon, Oct 07, 2002 at 04:41:37PM -0700, David Brownell wrote: > Matthew Dharm wrote: > > I'd really like an HCD guy to look at this. I've tested this every way I > > can think of -- attempts to clear the halt on the bulk-in endpoint all > > return -EPIPE. I know that the device is okay, because the same sequence > > on 2.4.x works just fine. > > > > I can give you some quick-and-easy ways to trigger this behavior, if you'd > > like. Just let me know what type of device you have attached to the > > ISD-300. > > CD-RW. Does it happen with all HCDs? Or just some of them? > Nothing should be very HCD-dependent there.
So far, it happens with EHCI and OHCI. UHCI is difficult for me to test (for other, unrelated reasons). With a CD-RW, it's easy. Burn a CD with about 10-50MB on it. Then, use 'dd' to try to read the data off the CD. When you hit the end of the data, the bulk-in endpoint _should_ stall (devices have some flexibility in this, but it's most likely to stall). Then you'll see the attempt to clear the stall, and that is what fails. > > For the life of me, I can't figure out why my attempts to clear a halt on > > the bulk-in endpoint don't work... > > Well, now that we're clear that's the issue (vs clearing halts > on control endpoints!) maybe we can get some progress. > > We certainly need to have some testcases covering halt clearing... :) I agree. Especially since usb-storage is the current test case. It's the only driver that seems to really use halt-conditions. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver G: Baaap booop BAHHHP. Mir: 9600 Baud? Mik: No, no! 9600 goes baap booop, not booop bahhhp! -- Greg, Miranda and Mike User Friendly, 12/31/1998
msg08343/pgp00000.pgp
Description: PGP signature