begin  On Mon, Sep 23, Greg KH wrote:

> On Mon, Sep 23, 2002 at 05:34:31PM +0200, Olaf Hering wrote:
> > 
> > ftp.suse.com/pub/people/olh/hotplug_for_usb/hotplug.rpm
> > 
> > Try that one, known and unfixed bug in usbdevfs...
> 
> Hm, which patch fixes this problem?

the fix is: /sbin/hotplug must do the locking because the kernel spawns
all events at once, which leads to collisions.
It can be done by just touching a file in
/var/somewhere/hotplug/hoplug.lock.$$
Then check for the number of files in this directory and sleep 1 for
each file, then proceed in the /sbin/hotplug path and remove the
lockfile afterwards. This leads to some delay for each driver load.
Works perfect for me and fixes lots of bugzilla entries...



Gruss Olaf

-- 
 $ man clone

BUGS
       Main feature not yet implemented...


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to