You are not logged in.

#1 2017-05-18 04:41:39

Hacksaurus_Babu
Member
Registered: 2017-01-21
Posts: 106

[SOLVED] hci0 command tx timeout

Hello! I am having some troubles with bluetooth lately... When I boot up my computer, bluetooth works fine then after 10-15 minutes of using my computer, bluetooth just stops working... Suspending and then coming back fixes this, but is very inconvenient...
I believe that this hci0 timeout thing might be an indicator of something...
Output of dmesg:

[ 3107.029904] CPU: 0 PID: 15253 Comm: chrome Tainted: G        W       4.10.13-1-ARCH #1
[ 3107.029906] Hardware name: Google Auron/Auron, BIOS coolstar 01/09/2016
[ 3107.029907] Call Trace:
[ 3107.029917]  dump_stack+0x63/0x83
[ 3107.029923]  __warn+0xcb/0xf0
[ 3107.029927]  warn_slowpath_fmt+0x5f/0x80
[ 3107.029954]  ? i915_ppgtt_release+0xb3/0x1a0 [i915]
[ 3107.029977]  i915_vma_put_fence+0x9e/0xa0 [i915]
[ 3107.030007]  i915_vma_unbind+0x29b/0x300 [i915]
[ 3107.030034]  i915_vma_close+0x80/0xb0 [i915]
[ 3107.030063]  intel_ring_free+0x1b/0x30 [i915]
[ 3107.030088]  i915_gem_context_free+0x7a/0x1b0 [i915]
[ 3107.030111]  context_close+0xe2/0x110 [i915]
[ 3107.030135]  i915_gem_context_destroy_ioctl+0x86/0xf0 [i915]
[ 3107.030147]  drm_ioctl+0x21b/0x4c0 [drm]
[ 3107.030170]  ? i915_gem_context_create_ioctl+0xb0/0xb0 [i915]
[ 3107.030174]  ? __seccomp_filter+0x67/0x2a0
[ 3107.030178]  ? __vfs_read+0xe1/0x130
[ 3107.030184]  do_vfs_ioctl+0xa3/0x5f0
[ 3107.030188]  ? __fget+0x77/0xb0
[ 3107.030192]  SyS_ioctl+0x79/0x90
[ 3107.030195]  do_syscall_64+0x54/0xc0
[ 3107.030199]  entry_SYSCALL64_slow_path+0x25/0x25
[ 3107.030202] RIP: 0033:0x7fc0cbbb60d7
[ 3107.030204] RSP: 002b:00007ffee8113ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 3107.030207] RAX: ffffffffffffffda RBX: 0000220e97059020 RCX: 00007fc0cbbb60d7
[ 3107.030209] RDX: 00007ffee8113d20 RSI: 000000004008646e RDI: 000000000000000e
[ 3107.030211] RBP: 00007ffee8113d20 R08: 0000000000000000 R09: 0000000000000020
[ 3107.030212] R10: 000a846d6ba5093e R11: 0000000000000246 R12: 000000004008646e
[ 3107.030214] R13: 000000000000000e R14: 000000000000009b R15: 0000220e9757d198
[ 3107.030217] ---[ end trace d70a27c95dc022de ]---
[ 8159.858447] usb 2-4: reset full-speed USB device number 3 using xhci_hcd
[ 8165.841336] Bluetooth: hci0 command 0x0804 tx timeout
[ 8188.762561] wlp1s0: deauthenticating from b4:75:0e:52:72:1a by local choice (Reason: 3=DEAUTH_LEAVING)
[ 8188.776060] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 8188.864329] PM: Syncing filesystems ... done.

Thanks for any help!

Last edited by Hacksaurus_Babu (2017-05-28 03:20:14)

Offline

#2 2017-05-22 22:22:44

The Loko
Member
From: Spain
Registered: 2014-07-23
Posts: 100

Re: [SOLVED] hci0 command tx timeout

Are you using TLP or any other power manager? I had the same issue until I blacklisted the bluetooth device, as bluetooth power saving is known to cause those issues.

Offline

#3 2017-05-22 22:51:09

Hacksaurus_Babu
Member
Registered: 2017-01-21
Posts: 106

Re: [SOLVED] hci0 command tx timeout

Yes I am using

laptop-mode-tools

from AUR...
So how do I blacklist the bluetooth device?

Offline

#4 2017-05-23 13:53:53

The Loko
Member
From: Spain
Registered: 2014-07-23
Posts: 100

Re: [SOLVED] hci0 command tx timeout

You can try to disable laptop-mode-tools service and check if this solves the issue, then the bluetooth controller can be disabled adding AUTOSUSPEND_DEVID_BLACKLIST="xxx:yyy" on your config file with the values of your bluetooth device (check those with lsusb) as explained here

Offline

#5 2017-05-24 00:19:29

Hacksaurus_Babu
Member
Registered: 2017-01-21
Posts: 106

Re: [SOLVED] hci0 command tx timeout

Alright, I'll check that out! I'll see if that fixes my issue!

Offline

#6 2017-05-25 02:43:33

Hacksaurus_Babu
Member
Registered: 2017-01-21
Posts: 106

Re: [SOLVED] hci0 command tx timeout

No dice! But every time it does crash dmesg prints me this:

[hid-generic 0005:046D:B319.000A: unknown main item tag 0x0

Do you think this has to do with anything?

Offline

#7 2017-05-25 02:46:32

Hacksaurus_Babu
Member
Registered: 2017-01-21
Posts: 106

Re: [SOLVED] hci0 command tx timeout

Also this is what I have inputted for my AUTOSUSPEND thing

AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="8087:07dc"

And this is what lsusb -v give me: http://termbin.com/j42i

Thanks for helping me out!

Offline

#8 2017-05-25 06:10:30

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED] hci0 command tx timeout

AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="8087:07dc"
??

Offline

#9 2017-05-25 14:44:42

Hacksaurus_Babu
Member
Registered: 2017-01-21
Posts: 106

Re: [SOLVED] hci0 command tx timeout

Opppppppsssss Thank you seth for pointing out my stupidity! (Again)

Last edited by Hacksaurus_Babu (2017-05-25 14:45:00)

Offline

#10 2017-05-25 15:45:40

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED] hci0 command tx timeout

So this works as desired now?
(in which case you would be expected to tag the thread as [SOLVED] nudgenudgehinthintnudgenudge ;-)

Offline

#11 2017-05-26 03:25:56

Hacksaurus_Babu
Member
Registered: 2017-01-21
Posts: 106

Re: [SOLVED] hci0 command tx timeout

I just arrived at home, going to see if it works... I might get back to you tomorrow so hang tight!

Offline

#12 2017-05-28 03:19:59

Hacksaurus_Babu
Member
Registered: 2017-01-21
Posts: 106

Re: [SOLVED] hci0 command tx timeout

Yep that seemed to fix it! Marking as solved!

Off-topic:
Hey seth... since you are good at finding my stupidity could you look over my other unsolved topics!
Thhhxx

Offline

Board footer

Powered by FluxBB