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

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

 



Hi Alan, Sarah,

Thank you for your kindly help.

Can I do something to provide some help?

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

?頨{.n?????%??橆??w?{.n???{殺???緡w*jg炳????▏?拷G??98夸:+v??鋟喓???茶庫全??ㄑ搬?????


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

  Powered by Linux