On Sun, 1 Oct 2006, Matthieu CASTET wrote:

> On Sun, 01 Oct 2006 13:07:36 +0000, Matthieu CASTET wrote:
> 
> > Hi,
> > 
> > I am using 2.6.18 kernel.org linux kernel on a via ehci controller
> > (1106:3104 (rev 82)).
> > 
> > When using a wifi dongle (zd1211), sometimes the device disconnect for an
> > unknown reason (there a "usb 4-x: USB disconnect, address x" in the log).
> > But the driver disconnect is never called (and the driver is still trying
> > to access the device).
> > 
> > It seems a usb-core bug, isn't it ?
> > 
> > What can I do to solve this problem ?
> > 
> > 
> I forgot to add that if i unplug the device from usb port, the
> driver disconnect is called.
> 
> The problem only happen when the device disconnect for an
> unknown reason

You can start by turning on CONFIG_USB_DEBUG for your kernel and then 
posting a copy of the dmesg log showing what happens when one of those 
peculiar disconnects occurs.  Post also a stack trace (Alt-SysRq-T); the 
khubd process is the one that matters most.

The behavior of usbcore should be exactly the same regardless of what 
causes the disconnect.  The same code runs.  It's possible that the zd1211 
driver is _preventing_ its disconnect routine from being called by holding 
the device semaphore.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to