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

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

 



Hi Tianyu,

I can produce the issue on the Ubuntu 12.10 (linux 3.5), too.

However, could you tell me more detail about what to do or give me some hint for google?
Do you mean replacing the usb related source with source from 'usb next', rebuild the kernel, and test again?

Best regards,
Soar

-----Original Message-----
From: Lan Tianyu [mailto:lantianyu1986@xxxxxxxxx] 
Sent: Thursday, February 07, 2013 4:18 PM
To: Soar Hung
Cc: Alan Stern; Sarah Sharp; linux-usb@xxxxxxxxxxxxxxx
Subject: Re: Not enough resource for old configuration after USB bus reset

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

------Please consider the environment before printing this e-mail.
?頨{.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