On 4/3/06, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote: > Ken Moffat wrote: > > > So, what is the derivation of this magic number 60, which I assume > > approximates to 6 seconds ? > > I could say "The longest known to me in-kernel delay (5 seconds, in > usb_storage) > plus one second". But that doesn't reflect the history. > > Archaic tried iterating 10 times, but got leaks due to the kernel reconnecting > his USB devices fom uhci_hcd to ehci_hcd.
Using the above loop with udevtrigger, I get no leaks. I'll add in the debugging numbers like Ken out of curiosity. System using udev-088, linux-2.6.16.1 and udev_update bootscripts. System is PIII 500 w/ 512 MB, so it is not fast. Mostly module kernel. Two USB devices, neither leaking. One is Gravis pad using the joystick input module, and other is HP Deskjet printer using usblp module. I have a USB pen drive, but I haven't tried it yet. I'll let you know how this goes soon. This is the only USB storage device I have. Also a camera, but the drivers use libgphoto2, and I don't have that installed yet. I suppose I could still see if udev catches it. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page