> On Wed, 26 Jan 2005, Simon Cooper wrote: > > > When I try to transfer large files to my usb2 external hard disk (but > > not from it) it freezes randomly for a couple of minutes then starts up > > again and the program doing the copying just carries on. > > That's good! It means the error recovery procedures in usb-storage are > working right. If you don't think it's really all that good, consider the > alternative: The transfer stops dead in the middle and your system > crashes. :-) > Thankyou for putting that in!!
> If you want to experiment, you could try changing the usb-storage driver > in a way that was necessary for Genesys Logic devices. Edit the source > file drivers/usb/storage/transport.c. Inside the usb_stor_Bulk_transport > subroutine you'll find a couple of lines that say: > > if (le16_to_cpu(us->pusb_dev->descriptor.idVendor) == > USB_VENDOR_ID_GENESYS) > udelay(110); > > Either comment out or delete entirely the "if" line, leaving only the > udelay(110). (On your system it might say 100 instead of 110; either one > should work. Also you might be missing the le16_to_cpu part; again it > won't matter.) > > Perhaps adding the extra 110- or 100-microsecond delay will allow your > device to work correctly. It did! preliminary tests worked with no freezes! thanks!! would it be possible to permentantly put this into the code, like the genesys devices? youve got the lsusb -vv, anything else you need to do so? one more thing, if the hard disk is switched on when the computer boots I get this in dmesg and it doesnt show up in lsusb: usb 1-2: new high speed USB device using ehci_hcd and address 3 usb 1-2: device descriptor read/64, error -71 usb 1-2: device descriptor read/64, error -71 usb 1-2: new high speed USB device using ehci_hcd and address 4 usb 1-2: device descriptor read/64, error -71 usb 1-2: device descriptor read/64, error -71 usbcore: registered new driver usb-storage my hard disk must be seriously screwed up or something, is there any way to fix this error? Simon Cooper ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
