On Thu, Sep 06, 2012 at 04:09:29PM +0200, Miroslav Sabljic wrote: > On 09/06/2012 12:02 AM, Sarah Sharp wrote: > > >I'm actually wondering if you're hitting a bug that is fixed by a patch > >in my queue to send to Greg. Apparently, some BIOSes expect specific > >USB ports on the mobile Panther Point chipset to remain under the EHCI > >controller, even though they can be switched over to the xHCI host > >controller. > > Hi Sarah! > > Thanks for your reply! > > > >Can you run this git command, compile a kernel, and see if it fixes your > >issue? > > > >git clone git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci.git -b for-usb-linus > > I did that but doesn't change anything. Same errors are still present. > This is from logs with this rebuilt kernel: > > [ 293.314742] xhci_hcd 0000:00:14.0: Timeout while waiting for > address device command > [ 313.518513] xhci_hcd 0000:00:14.0: Timeout while waiting for > address device command > [ 313.722498] usb 3-3: device not accepting address 4, error -62 > [ 314.258506] usb 3-3: device not accepting address 5, error -22 > [ 314.778480] usb 3-3: device not accepting address 6, error -22 > [ 315.298479] usb 3-3: device not accepting address 7, error -22 Ok, so your BIOS must expect the device to work under xHCI. Let's try to get the xHCI driver to properly handle the Set Address timeout. It looks like since command cancellation is not in the current driver, the first Set Address that times out gets stuck on the ring, and the next successful Set Address command doesn't ever get read. At least I *think* that's why there's the "Unexpected completion code 0x0" in the log. Either that, or the host controller is giving back an invalid command completion code. So, try compiling a kernel from the for-usb-linus-plus-set-addr branch in the same git repo, and see if that helps. If it doesn't, please turn on CONFIG_USB_XHCI_HCD_DEBUGGING and send me the dmesg. Vikas, can you do the same thing and see if this helps with your Set Address issues as well? 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