On Tue, Jul 23, 2002, David Brownell <[EMAIL PROTECTED]> wrote: > Johannes Erdfelt wrote: > > On Tue, Jul 23, 2002, Bryan Kate <[EMAIL PROTECTED]> wrote: > > > >>When I plug a device into my system, I have it load the firmware to it. > >>The problem is that the firware tells the device to renumerate itself > >>and show up as a different vend/prod id. That is fine, but when it does > >>the renumeration, it removes the old device (pre-firmware) and does not > >>send a new "add" message to user space or a "remove" when it is > >>unplugged. The device is able to be used (from what I can tell thus > >>far) if the bus is manually scanned for the new filename, but I would > >>benefit from an add/remove signal to userspace just as if it were > >>recently un/plugged. Is this supposed to happen on renumeration? > > Yes ... > > > It sounds like the device doesn't disconnect and reenumerate. It just > > updates it's descriptors. > > > > The kernel really needs a call to reread the descriptors, but it's > > lacking that right now. > > When I've seen devices renumerate correctly, that's never been a problem. > Maybe the device isn't putting itself back on the bus.
It sounds like it doesn't reenumerate at all. Obviously this is host initiated and the only way to reenumerate is for the device to physically drop the connection. It's unclear from Bryan's mail what is happening. If it fully reenumerates from disconnecting and reconnecting, then it should generate the usual hotplug events. JE ------------------------------------------------------- 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
