Re: Not enough resource for old configuration after USB bus reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 20, 2013 at 03:21:19PM -0500, Alan Stern wrote:
> On Wed, 20 Feb 2013, Sarah Sharp wrote:
> 
> > Basically, I think this is a host-specific bug.  We can certainly work
> > around it in the xHCI driver with a quirk for all hosts that have this
> > resource tracking problem.  We would issue a Configure Endpoint command
> > to drop all endpoints before the Reset Device command.  However, I would
> > really suggest you fix your host controller.
> 
> It might not hurt to do this anyway, as a sort of defensive 
> programming.  After all, device resets are not a hot path.

I'll agree that it's not a hot path.  I'm just concerned that if we add
too much defensive behavior, we'll end up triggering different host
controller quirks.  So I would rather modify behavior for particular
host controllers.

I reserve the right to change my mind about that, of course. :)  I might
agree with you when I start running out of bits in xhci->quirks.

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux