Re: PROBLEM: Mouse connected to USB-3 stopped working 2.6.38->39 regression

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

 



Hi Thomas,

I'd like to figure out why your mouse doesn't work under the USB 3.0
port.

You said this commit caused your issue:

commit 926008c9386dde09b015753b6681c502177baa30
Author: Dmitry Torokhov <dtor@xxxxxxxxxx>
Date:   Wed Mar 23 20:47:05 2011 -0700

    USB: xhci: simplify logic of skipping missed isoc TDs

However, I'm not sure why that would cause an issue with a mouse, since
that code only touched the completion handler for isochronous transfers,
and mice should only have an interrupt and control endpoint.  Are you
sure that commit is the issue?

On Sat, Apr 23, 2011 at 03:55:12PM +0200, Thomas Lindroth wrote:
> xhci_hcd 0000:06:00.0: ERROR: unexpected command completion code 0x11.
> usb 5-2: can't set config #1, error -22

I think this line is where your problem is, and I don't think it has
anything to do with that commit.  The xHCI driver tried to add the
mouse's new configuration to the host's schedule, and the host returned
a completion code of 0x11.  That's a "Slot Not Enabled Error" which is
a very odd completion code to get.  The xHCI driver should have enabled
the slot for the mouse before issuing the Configure Endpoint command.

Can you run with Linus' latest code, and turn on
CONFIG_USB_XHCI_HCD_DEBUGGING, and then plug your mouse into the USB 3.0
port?

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


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

  Powered by Linux