On Thu, Jun 08, 2006 at 10:23:34AM -0400, Alan Stern wrote: > On Wed, 7 Jun 2006, Elladan wrote: > > > On Wed, Jun 07, 2006 at 06:15:48PM -0400, Alan Stern wrote: > > > On Wed, 7 Jun 2006, Elladan wrote: > > > > It seems like > > > > the problem is just that Linux gives up on the device much too early. > > > > Alternatively, is there some way to ask Linux to scan this device again? > > > > > > "rmmod usb-storage" followed by "modprobe usb-storage". > > > > The problem with this is that I have other usb-storage devices. I'd > > need a way to just re-probe the one that failed. > > There are a couple of ways to do it. For example, you can selectively > unbind and rebind usb-storage to a particular USB interface by writing the > interface's name to the "unbind" and "bind" files in > /sys/bus/usb/drivers/usb-storage.
Ah, thank you! Unfortunately, I don't have these bind/unbind knobs. I guess I have to upgrade after all! > > What's the business with "waiting for the device to settle before > > scanning" ? I read this as meaning that it just had some timeout in > > there to deal with these devices taking a while to start up. > > It's not a timeout; it's just a delay. Yes, the delay is there because > some devices take a while to start up. You can change the length of that > delay by setting a module parameter for usb-storage. For example, in > /etc/modprobe.conf you might say: > > options usb-storage delay_use=10 > > to make that delay be 10 seconds long instead of the default 5 seconds. Ah, thank you. Unfortunately to get it to work, I think I'd have to set it to be around 20 seconds. Might it be better if we could probe this over and over? Then well-behaved devices could show up immediately. > > It returned -1 sectors... A bit odd, but clearly a magic number and not > > garbage. > > On the contrary -- clearly garbage and not a magic number. A value of -1 > means the device returned data in which all the bits are turned on, > typical of what happens when a semiconductor device fails. It does not > have any special magic meaning. I'll bet it does. Maybe not a WELL-DEFINED special meaning, of course. :-) -J _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users