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

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

 



于 2013/2/7 16:59, Soar Hung 写道:
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?

I think you can "git clone git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git" and "git checkout usb-next".
Compile kernel and test it.
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.


--
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


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

  Powered by Linux