Well, the code will, in the future, try a Command Block Reset.
Unfortunately, the logs suggest that this will not work -- I'm still
waiting for the command-completion interrupt from the last command to
occur, with either success or failure, and I can't seem to send anything
to the device over the control endpoint (the device consistantly NAKs the
host).
Actually, I think the device is broken. It should STALL the bulk-in
endpoint when it realizes that it's in trouble because the disc is dirty.
Regardless, a port reset is something I need to be able to do.
Matt Dharm
On Fri, 31 Mar 2000, BLACKSON Jim wrote:
> FWIW, did you try a (BBB 3.1) Bulk-only Mass Storage Reset request, or a
> (CBI 2.2) Command Block Reset?
>
> The next (drastic) action after the above is indeed the port reset. :-)
>
> Just asking,
> jim.
>
> > -----Original Message-----
> > From: Matthew Dharm [SMTP:[EMAIL PROTECTED]]
> > Sent: Friday, March 31, 2000 9:42 AM
> > To: Linux USB Developement Mailing List
> > Subject: [linux-usb] how do I do a port reset?
> >
> > How do I do, from kernel space, a port reset on a device? Apparently
> > there are some devices (ie a CD-ROM which is reading from a dirty disk)
> > which will get into a jammed state and require a port reset to un-jam it.
> >
> > At least, according to the spec, a port reset is the "more drastic action"
> > that I should try next.
> >
> > So, how do I do this?
> >
> > Matt Dharm
> >
> > --
> > Matthew Dharm Home: [EMAIL PROTECTED]
> >
> > Engineer, Qualcomm, Inc. Work: [EMAIL PROTECTED]
> >
> > NYET! The evil stops here!
> > -- Pitr
> > User Friendly, 6/22/1998
> >
>
--
Matthew Dharm Home: [EMAIL PROTECTED]
Engineer, Qualcomm, Inc. Work: [EMAIL PROTECTED]
A: The most ironic oxymoron wins ...
DP: "Microsoft Works"
A: Uh, okay, you win.
-- A.J. & Dust Puppy
User Friendly, 1/18/1998
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]