Hi,
Here's a small patch to make the hub driver understand
that devices can disconnect during enumeration. For one
example, that happens when an EHCI root hub reconnects
USB 1.1 devices to a companion controller (OHCI for
the NEC based chips). Without this patch, khubd wastes
time (~1sec) trying to reset vanished devices.
Unless someone turns up a problem with this, I'd like
to see this get into an upcoming AC patch and then
get merged into 2.4.5-preN along with the other core
updates (hub, usbdevfs, ...) for USB 2.0 groundwork.
Ah ... this is against 2.4.2-ac20 but "hub.c" hasn't
changed much recently, right? :)
- Dave
hub-0501.patch