Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444210 - sys-kernel/gentoo-sources-3.4.9 - xhci_hcd driver turn off my Apple keyboard and wireless mouse connected to usb 3.0
Summary: sys-kernel/gentoo-sources-3.4.9 - xhci_hcd driver turn off my Apple keyboard ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-21 19:08 UTC by maar
Modified: 2012-12-19 22:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge--info (emerge_info,5.32 KB, text/plain)
2012-11-21 19:38 UTC, maar
Details
kernel .config file (kernel_config,88.84 KB, text/plain)
2012-11-21 19:38 UTC, maar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maar 2012-11-21 19:08:26 UTC
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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-21 19:27:20 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach your kernel's .config file to this bug report.
Comment 2 maar 2012-11-21 19:38:00 UTC
Created attachment 330150 [details]
emerge--info
Comment 3 maar 2012-11-21 19:38:49 UTC
Created attachment 330152 [details]
kernel .config file
Comment 4 maar 2012-11-21 19:39:39 UTC
Requested files added. Sorry.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-21 20:19:27 UTC
Have you tried with a newer (stable, i.e. 3.5.7) kernel?
Comment 6 maar 2012-11-21 20:26:48 UTC
No, I didn't try it. The newest available kernel is 3.6.6. I'll update kernel and I'll give you update.
Comment 7 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-22 01:17:11 UTC
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.
Comment 8 maar 2012-12-19 21:12:26 UTC
Hi,

I installed kernel 3.6.6 and issue disappeard. Thanks for help. You can close it.