On Mon, Jun 30, 2003 at 06:09:54PM -0400, Johannes Erdfelt wrote: > Those kinda look like the driver is still trying to communicate with the > device like it's still there. > > Are we sure the driver is getting the disconnect callback?
I hope so... This is for a USB trackball. > The fact the two messages above repeat might be because of the slab > cache for QHs and TDs. It might just be getting allocating the same > memory over and over again. > > > > > Any ideas of how to fix this, or even what is causing this continuous > > > > message (I can see it happening once, but not more than once.) This > > > > happens for my usb trackball, and for a variety of different usb-serial > > > > devices. > > > > > > > > It doesn't seem to happen at all on ohci. > > > > > > It should only happen once, but if it's happening continuously, perhaps > > > a list got looped? > > > > Makes sense. > > It doesn't look like that now that I look at it. > > That one control message in the middle is highly suspicious. > > > > I haven't submitted any patches to uhci-hcd in a while so if this is > > > something recent, it could be something else has changed. > > > > I don't think this is a new thing, I think I've seen this in the past, > > but haven't really tested removing devices a bunch on this machine > > before (it's a USB 2.0 controller with a UHCI controller for the "slow" > > part.) > > Neither have I. > > Can you possibly add some debugging to see if the disconnect callback is > being made? usb_disconnect() is never getting called from looking at the log. Any other place you want me to put a message to see if it gets called? With just CONFIG_USB_DEBUG enabled, I don't see any USB messages at all before these start to loop. > I would expect this behaviour if the driver never gets told that the > device was disconnected. Yeah, that would make sense. Anything I can enable in the uhci driver to turn up more debugging? thanks, greg k-h ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
