Matthew Dharm <[EMAIL PROTECTED]> writes:

> Can you use 'dd' to read data from the device?

No, it gives an I/O error as well.

However, I have good news.  The following simple patch fixes it for
me:

--- transport.c~        2003-03-29 10:00:48.000000000 -0600
+++ transport.c 2003-03-31 17:03:51.000000000 -0600
@@ -631,6 +631,7 @@
         */
        if (result == USB_STOR_TRANSPORT_ABORTED) {
                US_DEBUGP("-- transport indicates command was aborted\n");
+               us->transport_reset(us);
                srb->result = DID_ABORT << 16;
                return;
        }

Now, this may well totally ruin things for everyone else.  I have no
other USB storage devices to test, so for me, it's very nice :-)

I stumbled across this after noticing the 2.5.x resets when
it gets an error, but 2.4.x does not.


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to