On 18/07/17(Tue) 13:43, sc dying wrote:
> On 2017/07/18 09:12, Martin Pieuchot wrote:
> > On 17/07/17(Mon) 15:24, sc dying wrote:
> >> On 2017/07/17 08:24, Martin Pieuchot wrote:
> >>> On 15/07/17(Sat) 21:16, sc dying wrote:
> >>>> - Call usbd_set_config before configuring endpoints in ure_init to fix
> >>>>    an error when re-opening pipes.  I grabbed the code from if_kue.c.
> >>>
> >>> Which error? Calling usbd_set_config() should be avoid as much as
> >>> possible in driver code.
> >>
> >> Without patch, ure on usb-3 port says this error
> >>
> >> ure0: usb errors on rx: IOERROR
> >>
> >> when down the interface and it up.
> >
> > This is certainly a bug in the way pipe are closed, or more likely in
> > xhci(4).  Can you reproduce the problem on ehci(4)?  Do you find
> > anything useful if you define XHCI_DEBUG in your kernel?
> 
> This problem is not seen on ehci.
> 
> On xhci with XHCI_DEBUG, curiously, it does not happen.
> I'll look into this.

Great, I committed your diff without this chunk.  I'd be glad to hear
from you if you find the problem with xhci(4).

Reply via email to