[linux-usb-devel] USB disconnect without driver disconnect called

2006-10-01 Thread Matthieu CASTET
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 drive

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-01 Thread Matthieu CASTET
On Sun, 01 Oct 2006 13:07:36 +, 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, addres

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-01 Thread Alan Stern
On Sun, 1 Oct 2006, Matthieu CASTET wrote: > On Sun, 01 Oct 2006 13:07:36 +, 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 a

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-02 Thread matthieu castet
Hi, Alan Stern wrote: > > > 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.

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-03 Thread Alan Stern
On Mon, 2 Oct 2006, matthieu castet wrote: > Hi, > > Alan Stern wrote: > > > > > > > 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

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-05 Thread matthieu castet
Alan Stern wrote: > > You could try using 2.6.18-mm1. There was a change made to ehci-hcd in > order to work around a bug in the VIA controllers. It looks like that > same bug may be affecting you. > you mean http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=co

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-05 Thread Alan Stern
On Tue, 3 Oct 2006, matthieu castet wrote: > Alan Stern wrote: > > > > You could try using 2.6.18-mm1. There was a change made to ehci-hcd in > > order to work around a bug in the VIA controllers. It looks like that > > same bug may be affecting you. > > > you mean > http://www.kernel.org/g

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-05 Thread matthieu castet
Hi, Alan Stern wrote: >>you mean >>http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=26f953fd884ea4879585287917f855c63c6b2666;hp=353a4098c61272b33a02ec5802fb3859fec91a0e >> >>? > > > Yes, that's the one. > > >>Could it be possible to use it on 2.6.

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-05 Thread Alan Stern
On Wed, 4 Oct 2006, matthieu castet wrote: > > By the way, the error messages in your log indicated some sort of problem > > with your EHCI USB controller. That's why the unexpected disconnections > > kept happening. > > > > It might even be a hardware problem. If it is, the patch won't fix i

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-13 Thread matthieu castet
Hi, Alan Stern wrote: > On Wed, 4 Oct 2006, matthieu castet wrote: > > >>>By the way, the error messages in your log indicated some sort of problem >>>with your EHCI USB controller. That's why the unexpected disconnections >>>kept happening. >>> >>>It might even be a hardware problem. If it

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-13 Thread Alan Stern
On Fri, 13 Oct 2006, matthieu castet wrote: > Hi, > > Alan Stern wrote: > > On Wed, 4 Oct 2006, matthieu castet wrote: > > > > > >>>By the way, the error messages in your log indicated some sort of problem > >>>with your EHCI USB controller. That's why the unexpected disconnections > >>>kept

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-13 Thread matthieu castet
Hi, Alan Stern wrote: > On Fri, 13 Oct 2006, matthieu castet wrote: >>It seems to work fine with ohci. > I was menaing usb 1, so uhci on this board. But I suppose it is the same conclusion. > Maybe their controllers don't have the bug. That is, maybe it's a real > malfunction rather than a d

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-10-13 Thread Alan Stern
On Fri, 13 Oct 2006, matthieu castet wrote: > Hi, > > Alan Stern wrote: > > On Fri, 13 Oct 2006, matthieu castet wrote: > > >>It seems to work fine with ohci. > > > I was menaing usb 1, so uhci on this board. But I suppose it is the same > conclusion. Yes. > > Maybe their controllers don't h

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-12-09 Thread matthieu castet
Alan Stern wrote: > On Fri, 13 Oct 2006, matthieu castet wrote: >> Yes may be it depends of the usb device. I didn't see any problem with a >> usb mass storage. > > Can you try using the troublesome device on a different computer? > Preferably with the same kind of motherboard? > I tried the d

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-12-09 Thread Alan Stern
On Sat, 9 Dec 2006, matthieu castet wrote: > Alan Stern wrote: > > On Fri, 13 Oct 2006, matthieu castet wrote: > >> Yes may be it depends of the usb device. I didn't see any problem with a > >> usb mass storage. > > > > Can you try using the troublesome device on a different computer? > > Pref

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-12-21 Thread matthieu castet
Hi Alan, Alan Stern wrote: > On Sat, 9 Dec 2006, matthieu castet wrote: > >> Alan Stern wrote: >>> On Fri, 13 Oct 2006, matthieu castet wrote: Yes may be it depends of the usb device. I didn't see any problem with a usb mass storage. >>> Can you try using the troublesome device on a di

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2006-12-30 Thread Alan Stern
On Thu, 21 Dec 2006, matthieu castet wrote: > >> I tried the device on a computer using 2.6.19 and a NEC EHCI controller > >> (upd720102), and I got the same problem. > >> > >> Seems the bug is not in the usb host hardware. > > > > Can you provide more detailed debugging information for the NEC

Re: [linux-usb-devel] USB disconnect without driver disconnect called

2007-01-03 Thread David Brownell
On Saturday 30 December 2006 7:39 pm, Alan Stern wrote: > On Thu, 21 Dec 2006, matthieu castet wrote: > > On which event we leave QH_STATE_UNLINK state ? Completion of unlink ... ideally by the IAA irq, but also potentially by the watchdog timer for the cases where VIA hardware loses that IRQ. N