Messages in this thread | | | From | Oliver Neukum <> | Subject | Re: [linux-usb-devel] Re: [OOPS, usbcore, releaseintf] 2.6.0-test10-mm1 | Date | Fri, 12 Dec 2003 22:01:43 +0100 |
| |
Am Freitag, 12. Dezember 2003 21:48 schrieb Alan Stern: > On Fri, 12 Dec 2003, David Brownell wrote: > > > Alan Stern wrote: > > > > >>That would also reduce the length of time the address0_sem > > >>is held, > > > > > > > > > It would? How so? > > > > It would be dropped after the address is assigned (the bus > > no longer has an "address zero") ... rather than waiting > > until after the device was configured and all its interfaces > > were probed. I think that's the issue Oliver alluded to in > > his followup to your comment. > > I thought it did that already. Oh well...
Not so simple. Khubd goes down a list. If the first item on its list is not your failed reset, a deadlock will occur.
After you have submitted the URB that really does the reset, you are commited. You must either set a valid address or disable the port. You can rely on nobody else to do that.
Regards Oliver
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |