Olaf Hering wrote:
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.
Correct me if I'm wrong ... this isn't really a usbdevfs problem,
it's that problem with host controller drivers that don't queue
control requests (uhci, usb-uhci).  Yes?  Userspace workarounds
shouldn't be needed any more for 2.5 kernels.

If it's really a usbdevfs problem, what is it, and why hasn't
that been fixed?  I don't recall seeing any bug reports.

- Dave


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





-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to