#1037457 bluetooth: Bluetooth does not work, command 0x2005 tx timeout

Package:
bluetooth
Source:
bluetooth
Submitter:
Zach Berger
Date:
2024-03-20 15:51:03 UTC
Severity:
normal
Tags:
#1037457#5
Date:
2023-06-13 05:39:31 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

     Bluetooth has stopped working on my system. I have a ZEXMTE USB
     bluetooth adapter. It worked earlier in the bookworm release cycle
     but at somepoint it stopped working.

     In the kernel logs I see:

[  +1.306483] Bluetooth: hci0: command 0x2005 tx timeout
[  +0.003845] Bluetooth: hci0: Opcode 0x2005 failed: -110
[  +2.012181] Bluetooth: hci0: Opcode 0x2041 failed: -110
[  +0.000014] Bluetooth: hci0: command 0x2041 tx timeout

    In the kernel bug tracker this has been reported as well:
https://bugzilla.kernel.org/show_bug.cgi?id=215167

#1037457#10
Date:
2023-06-18 02:13:26 UTC
From:
To:
This is still reproducible on the kernel just released into Sid, Linux 6.3.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.3.7-1 (2023-06-12) x86_64 GNU/Linux
#1037457#15
Date:
2024-03-20 15:47:56 UTC
From:
To:
Dear Maintainer,

I think I have the same issue as the original reporter. I recently have
troubles with random disconnects of my bluetooth headset (Bose QC). The only
way to reconnect is to restart the bluetooth service.

Here is a hopefully relevant journalctl entry that pops up when it happens:

Mär 20 16:33:29 fiona kernel: Bluetooth: hci0: Opcode 0x2005 failed: -110
Mär 20 16:33:29 fiona kernel: Bluetooth: hci0: command 0x2005 tx timeout
Mär 20 16:33:31 fiona kernel: Bluetooth: hci0: command 0x2041 tx timeout
Mär 20 16:33:31 fiona kernel: Bluetooth: hci0: Opcode 0x2041 failed: -110
Mär 20 16:33:32 fiona kernel: xhci_hcd 0000:06:00.4: Timeout while waiting for setup device command
Mär 20 16:33:38 fiona kernel: xhci_hcd 0000:06:00.4: Timeout while waiting for setup device command
Mär 20 16:33:38 fiona kernel: usb 6-4: device not accepting address 17, error -62
Mär 20 16:33:39 fiona bluetoothd[1002]: profiles/audio/avdtp.c:cancel_request() Start: Connection timed out (110)
Mär 20 16:33:39 fiona wireplumber[2844]: Acquire /org/bluez/hci0/dev_78_2B_64_A0_53_9D/sep1/fd5 returned error: org.bluez.Error.Failed
Mär 20 16:33:39 fiona wireplumber[2844]: (bluez_output.78_2B_64_A0_53_9D.1-107) running -> error (Received error event)
Mär 20 16:33:39 fiona wireplumber[2844]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_78_2B_64_A0_53_9D/sep1/fd5
Mär 20 16:33:39 fiona pipewire[2843]: pw.node: (bluez_output.78_2B_64_A0_53_9D.1-107) idle -> error (Received error event)
Mär 20 16:33:41 fiona bluetoothd[1002]: profiles/audio/avdtp.c:cancel_request() Abort: Connection timed out (110)
Mär 20 16:33:41 fiona dbus-daemon[1008]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.173" (uid=1000 pid=2844 comm="/usr/bin/wireplumber") interface="(unset)" member="(unset)"
error name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=1002 comm="/usr/libexec/bluetooth/bluetoothd")
Mär 20 16:33:41 fiona gsd-media-keys[3421]: Unable to get default sink
Mär 20 16:33:43 fiona kernel: Bluetooth: hci0: Opcode 0x2005 failed: -110
Mär 20 16:33:43 fiona kernel: Bluetooth: hci0: command 0x2005 tx timeout
Mär 20 16:33:45 fiona kernel: Bluetooth: hci0: command 0x2041 tx timeout
Mär 20 16:33:45 fiona kernel: Bluetooth: hci0: Opcode 0x2041 failed: -110
Mär 20 16:33:50 fiona obexd[37776]: disconnected: Transport got disconnected
Mär 20 16:33:50 fiona bluetoothd[1002]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Mär 20 16:33:50 fiona bluetoothd[1002]: src/profile.c:ext_io_disconnected() Unable to get io data for Phone Book Access: getpeername: Transport endpoint is not connected (107)
Mär 20 16:33:50 fiona bluetoothd[1002]: No matching connection for device
Mär 20 16:33:50 fiona bluetoothd[1002]: Failed to set mode: Invalid Index (0x11)
Mär 20 16:33:50 fiona kernel: usb 6-4: USB disconnect, device number 17
Mär 20 16:33:50 fiona gsd-media-keys[3421]: Unable to get default source
Mär 20 16:33:50 fiona gsd-media-keys[3421]: Unable to get default sink
Mär 20 16:33:50 fiona gsd-media-keys[3421]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
Mär 20 16:33:50 fiona bluetoothd[1002]: Endpoint unregistered: sender=:1.173 path=/MediaEndpoint/A2DPSource/ldac
Mär 20 16:33:50 fiona bluetoothd[1002]: Endpoint unregistered: sender=:1.173 path=/MediaEndpoint/A2DPSink/aptx_hd
Mär 20 16:33:50 fiona bluetoothd[1002]: Endpoint unregistered: sender=:1.173 path=/MediaEndpoint/A2DPSource/aptx_hd
[...]


Cheers,

Bastian