On Tue, 14 Mar 2006, Pete Zaitcev wrote:

> On Tue, 14 Mar 2006 11:40:09 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> 
> wrote:
> 
> >      1. You have to have entries in your initrd's filesystem for /dev/sda
> >     and /dev/sda1.  Otherwise you won't have any way to access the USB 
> >     device.
> 
> Or you have to have udev running. I think this is what Fedora does.
> Peter Jones said he was booting with USB keys just fine (using ub).

Yes.  Even with ub, if you don't have udev running then you'll need 
entries for /dev/uba and /dev/uba1 (or whatever the devices names are 
supposed to be).

> >      2.     You have to allow time for the USB and SCSI stacks to recognize
> >     the pendrive.  5 seconds is minimal, 10 seconds should be plenty.
> 
> I think it can be faster. Fedora polls /sys/block to see if devices
> have appeared (either sda or uba, any one works).

For almost all devices it can be a lot faster.  However usb-storage has a 
built-in delay that defaults to 5 seconds.  The delay length can be 
changed by setting the delay_use= module parameter.  But you don't change 
it then you'll need to wait at least 5 seconds.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to