On Sun, 19 Sep 2004, Helge Jensen wrote:
> Inserted a 64Mb USB-key: "Daesung Digital Tech" CMDrive
> (www.cmdrive.com), was told to report to the list.
>
> I have not been able to use the device yet, but that's probably just me
> that is too stupid to set it up. First of all, I don't yet know how to
> setup hotplugging, since it's always just worked before.
>
> Sep 19 10:58:07 router kernel: usb 3-3: new full speed USB device using
> address 3
> Sep 19 10:58:08 router kernel: Initializing USB Mass Storage driver...
> Sep 19 10:58:08 router kernel: usb-storage: This device (090a,1001,0100
> S 06 P 50) has an unneeded Protocol entry in unusual_devs.h
> Sep 19 10:58:08 router kernel: Please send a copy of this message to
> <[EMAIL PROTECTED]>
> Sep 19 10:58:09 router kernel: usb-storage: probe of 3-3:1.0 failed with
> error -1
> Sep 19 10:58:09 router kernel: usbcore: registered new driver usb-storage
> Sep 19 10:58:09 router kernel: USB Mass Storage support registered.
It's not your fault that the device doesn't work; it's the device's
fault. Below is a patch that should work around the problem. Please let
me know how it works out.
Alan Stern
--- usb-2.6/drivers/usb/storage/transport.c.orig Wed Aug 25 15:51:18 2004
+++ usb-2.6/drivers/usb/storage/transport.c Sun Sep 19 10:35:21 2004
@@ -934,13 +934,10 @@
if (result == -EPIPE) {
usb_stor_clear_halt(us, us->recv_bulk_pipe);
usb_stor_clear_halt(us, us->send_bulk_pipe);
- /* return the default -- no LUNs */
- return 0;
}
- /* An answer or a STALL are the only valid responses. If we get
- * something else, return an indication of error */
- return -1;
+ /* return the default -- only one LUN */
+ return 0;
}
int usb_stor_Bulk_transport(struct scsi_cmnd *srb, struct us_data *us)
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel