Sometimes xhci driver turn off my Apple keyboard and mouse connected to the same usb 3.0 port. To use keyboard again I always must to disconnect cable and connect it again. If keyboard turn off, xhci driver prints out some information to /var/log/messages. Those prints are attached to this form. According to log, turn off happend at 19:37:02. At 19:37:53 I disconnected keyboard cable from laptop and connected again. If you need more logs or I have to turn on additional flag for driver just ask. Reproducible: Always Steps to Reproduce: 1. Start system 2. After a while keyboard and mouse doesn't work 3. Disconnect and connect keyboard again. It works. 4. After a while it turn off again. 5. Go to third step. Actual Results: Nothing changed, it turn off sometimes. Nov 21 19:36:48 dex kernel: [ 860.989361] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:36:48 dex kernel: [ 861.021375] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:36:48 dex kernel: [ 861.053331] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:36:48 dex kernel: [ 861.063551] usb 3-2.2: reset low-speed USB device number 6 using xhci_hcd Nov 21 19:36:48 dex kernel: [ 861.080071] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802265d9800 Nov 21 19:36:48 dex kernel: [ 861.080078] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802265d9740 Nov 21 19:36:48 dex kernel: [ 861.080088] usb 3-2.2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes Nov 21 19:36:48 dex kernel: [ 861.080094] usb 3-2.2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes Nov 21 19:36:48 dex kernel: [ 861.080985] usb 3-2.2: Successful Endpoint Configure command Nov 21 19:37:02 dex kernel: [ 875.095504] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:02 dex kernel: [ 875.127513] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:02 dex kernel: [ 875.159507] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:02 dex kernel: [ 875.191530] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:02 dex kernel: [ 875.223448] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:02 dex kernel: [ 875.255459] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:02 dex kernel: [ 875.287526] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:02 dex kernel: [ 875.319442] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:02 dex kernel: [ 875.330929] usb 3-2.2: reset low-speed USB device number 6 using xhci_hcd Nov 21 19:37:02 dex kernel: [ 875.348137] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802265d9800 Nov 21 19:37:02 dex kernel: [ 875.348146] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802265d9740 Nov 21 19:37:02 dex kernel: [ 875.348159] usb 3-2.2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes Nov 21 19:37:02 dex kernel: [ 875.348168] usb 3-2.2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes Nov 21 19:37:02 dex kernel: [ 875.349135] usb 3-2.2: Successful Endpoint Configure command Nov 21 19:37:02 dex kernel: [ 875.383410] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0008 Nov 21 19:37:02 dex kernel: [ 875.415397] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0008 Nov 21 19:37:02 dex kernel: [ 875.447384] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0008 Nov 21 19:37:02 dex kernel: [ 875.479364] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0008 Nov 21 19:37:02 dex kernel: [ 875.511388] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0008 Nov 21 19:37:02 dex kernel: [ 875.543320] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0008 Nov 21 19:37:02 dex kernel: [ 875.575334] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0008 Nov 21 19:37:02 dex kernel: [ 875.599598] usb 3-2.3: reset low-speed USB device number 7 using xhci_hcd Nov 21 19:37:02 dex kernel: [ 875.615313] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802265d9600 Nov 21 19:37:02 dex kernel: [ 875.615320] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802265d9c00 Nov 21 19:37:02 dex kernel: [ 875.615331] usb 3-2.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes Nov 21 19:37:02 dex kernel: [ 875.615339] usb 3-2.3: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes Nov 21 19:37:02 dex kernel: [ 875.616015] usb 3-2.3: Successful Endpoint Configure command Nov 21 19:37:04 dex kernel: [ 877.782405] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:04 dex kernel: [ 877.814409] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:04 dex kernel: [ 877.846394] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:04 dex kernel: [ 877.878386] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:04 dex kernel: [ 877.910372] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:04 dex kernel: [ 877.942316] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:05 dex kernel: [ 877.974332] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:05 dex kernel: [ 878.006358] hub 3-2:1.0: state 7 ports 3 chg 0000 evt 0004 Nov 21 19:37:05 dex kernel: [ 878.017445] usb 3-2.2: reset low-speed USB device number 6 using xhci_hcd Nov 21 19:37:05 dex kernel: [ 878.033800] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802265d9800 Nov 21 19:37:05 dex kernel: [ 878.033807] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802265d9740 Nov 21 19:37:05 dex kernel: [ 878.033820] usb 3-2.2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes Nov 21 19:37:05 dex kernel: [ 878.033826] usb 3-2.2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes Nov 21 19:37:05 dex kernel: [ 878.034630] usb 3-2.2: Successful Endpoint Configure command
1) Please post your `emerge --info' output in a comment. 2) Please attach your kernel's .config file to this bug report.
Created attachment 330150 [details] emerge--info
Created attachment 330152 [details] kernel .config file
Requested files added. Sorry.
Have you tried with a newer (stable, i.e. 3.5.7) kernel?
No, I didn't try it. The newest available kernel is 3.6.6. I'll update kernel and I'll give you update.
If you follow along the thread http://thread.gmane.org/gmane.linux.kernel/1371453 then you will come across Sarah Sharp response which mentions http://git.kernel.org/?p=linux/kernel/git/sarah/xhci.git;a=commit;h=ae8963adb4ad8c5f2a89ca1d99fb7bb721e7599f which has made it into the Linux kernel at around 3.7.1, I don't know whether it has been backported from that (although the commit suggests doing so up to 3.5, which contains the other commit http://git.kernel.org/?p=linux/kernel/git/sarah/xhci.git;a=commit;h=1ea7e0e8e3d0f50901d335ea4178ab2aa8c88201). Kernels from 3.5 onwards contain better link state support whereas the subsequent patch attempted to fix something *along the lines* of your problem. So, one of the kernels in the 3.5 - 3.7.1 range will probably solve the problem for you. Please let us know if the current stable and/or testing kernels work for you; if not, you could try git-sources instead of gentoo-sources to see whether the current development kernel fixes (surely containing both of the above commits) it for you.
Hi, I installed kernel 3.6.6 and issue disappeard. Thanks for help. You can close it.