2013/2/4 Soar Hung <soarhung@xxxxxxxxxxx>: > Hi Alan, Sarah, > > Thank you for your kindly help. > > Can I do something to provide some help? > You found the issue on the 3.0.30+ kernel. Can you test it on the usb-next branch of usb tree? Sarah has fixed a lot of bugs since v3.0. > Best regards, > Soar > > -----Original Message----- > From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx] > Sent: Friday, February 01, 2013 11:36 PM > To: Soar Hung > Cc: Sarah Sharp; linux-usb@xxxxxxxxxxxxxxx > Subject: RE: Not enough resource for old configuration after USB bus reset > > On Fri, 1 Feb 2013, [big5] x R wrote: > >> Hi, >> >> According to xHCI spec Rev1 page 125, Endpoint context state diagram. >> >> When reset device, the endpoint state transit to disabled state. >> >> Do I make some mistake? >> >> I'll try to figure out the endopint state transitions during the reset flow, and update information later. >> >> Thanks for the direction. > > Ah, now I understand the problem. The device reset automatically disables the endpoints, so when usb_reset_and_verify_device calls usb_hcd_alloc_bandwidth, and that routine tries to drop the endpoints, it fails because the endpoints are already disabled. > > Sarah is going to to have to figure out the right way to fix this. > She's the maintainer for xhci-hcd. > > Alan Stern > -- Best regards Tianyu Lan -- 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