You are not logged in.

#1 2024-08-08 20:19:09

Lello
Member
Registered: 2013-03-10
Posts: 7

USB device disconnects after 'bluetoothctl scan on'

Hi,

I am facing this issue when running bluetoothctl scan on using a USB dongle as bluetooth adapter: the USB dongle stops functioning immediately after the scanning is complete. Moreover, the USB dongle is plugged to a USB hub; the entire USB hub, with all the devices connected to it, stop functioning as well.

Output of bluetoothctl when scan on command is run:

[bluetooth]# SetDiscoveryFilter success
[bluetooth]# hci0 type 7 discovering on
[bluetooth]# Discovery started
[bluetooth]# [CHG] Controller 00:1A:7D:DA:71:13 Discovering: yes
[bluetooth]# hci0 type 7 discovering off
[bluetooth]# hci0 type 7 discovering on
[bluetooth]# hci0 type 7 discovering off
[bluetooth]# hci0 class of device changed: 0x000000
[bluetooth]# hci0 new_settings: bondable ssp br/edr le secure-conn 
[bluetooth]# hci0 removed
[bluetooth]# [CHG] Controller 00:1A:7D:DA:71:13 Class: 0x00000000 (0)
[bluetooth]# [CHG] Controller 00:1A:7D:DA:71:13 Powered: no
[bluetooth]# [CHG] Controller 00:1A:7D:DA:71:13 Discovering: no
[bluetooth]# [CHG] Controller 00:1A:7D:DA:71:13 PowerState: on
[bluetooth]# [DEL] Media /org/bluez/hci0 
[bluetooth]# 	SupportedUUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[bluetooth]# 	SupportedUUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[bluetooth]# [DEL] Controller 00:1A:7D:DA:71:13 USB BT dongle [default]

Output of journalctl -f when scan on is run:

Aug 08 19:48:58 computer kernel: usb 1-1.4: USB disconnect, device number 6
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/ldac
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSink/aptx_hd
Aug 08 19:48:58 computer systemd[1]: Starting Load/Save RF Kill Switch Status...
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/aptx_hd
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSink/aptx
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/aptx
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSink/aac
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/aac
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSink/opus_g
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/opus_g
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSink/sbc
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/sbc
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/faststream
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/faststream_duplex
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSink/opus_05
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/opus_05
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Aug 08 19:48:58 computer bluetoothd[425]: Endpoint unregistered: sender=:1.18 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Aug 08 19:48:58 computer systemd[1]: Stopped target Bluetooth Support.
Aug 08 19:48:58 computer dbus-broker[423]: A security policy denied :1.2 to send method call /midi/profile:org.bluez.GattProfile1.Release to :1.19.
Aug 08 19:48:58 computer bluetoothd[425]: Battery Provider Manager destroyed
Aug 08 19:48:58 computer systemd[1]: Started Load/Save RF Kill Switch Status.

Output of lsusb | grep -i bluetooth:

Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 001 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

Setup details:

  • Arch Linux 64bit + Xfce 4.18

  • kernel 6.10.3-arch1-1

  • bluetoothctl version 5.77

  • Adapter bluetooth version 5.3

Additional notes:

  • No problem occurs when the built-in Intel bluetooth interface is used instead; with the built-in adapter, the scanning process terminates regularly and bluetooth devices connect and can be used normally.

  • The USB dongle disconnection problem occurs regardless of the blocked/unblocked state of the built-in Intel bluetooth interface.

  • The USB dongle, as well as the USB hub the dongle is attached to, are not defective; the same hardware setup works smoothly on Windows.

Does anybody know why this issue occurs and what a solution could be? Thanks in advance.

Offline

Board footer

Powered by FluxBB