Bluetooth: No adapter(s) found, exiting

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version 9.12.1
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=12
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’

  • Kernel version: Linux DietPi 6.12.25-current-rockchip64 #1 SMP PREEMPT Fri Apr 25 08:48:08 UTC 2025 aarch64 GNU/Linux

  • Architecture: arm64

  • SBC model: Orange Pi 3B (aarch64)

  • SD card used: I’ve got two installations, one on a generic SD card, the other on internal nvme drive; both have same problem. Both fresh install with updates.

Since not every distro recognized the internal bluetooth adapter, i’ve got additional BT dongle: tp-link UB500; it was automagically recognized by each and every distro – so far.

I am very happy with my Dietpi installation. Added MATE desktop, it is snappy and everything works as expected – except Bluetooth. And BT is very important here, this machine is used for languages learning and we need to connect a special BT keyboard.

zeebee@DietPi:~$ blueman-manager
Gtk-Message: 14:23:45.679: Failed to load module "canberra-gtk-module"
blueman-manager 14.23.46 ERROR    Manager:147 on_dbus_name_appeared: Default adapter not found, trying first available.
blueman-manager 14.23.46 ERROR    Manager:151 on_dbus_name_appeared: No adapter(s) found, exiting

Been googling for solutions, everything was a couple of years old, pointing out to oudated kernel.
Will appreciate any input. I am willing to provide more info, or try some workaround.

Did you have a look into dietpi-config for enabling the internal bluetooth? (Probably this option is not available on your SBC, I’m not sure, just have a look)

Otherwise to check for the BT stick, let’s see if it is recognized at all:

lsusb

If yes. let’s check if the sytem tried to load the driver:

sudo dmesg | grep -i bluetooth

Oh! Thank you for replying!!

zeebee@DietPi:~$ lsusb
Bus 006 Device 002: ID 2357:0604 TP-Link TP-Link Bluetooth USB Adapter
and several lines for a hub, usb flash drive, logitech dongle etc.
zeebee@DietPi:~$ sudo dmesg | grep -i bluetooth
[sudo] password for zeebee: 
[    3.175582] usb 6-1: Product: TP-Link Bluetooth USB Adapter
[    7.181279] -->rfkill_bluetooth_init
[    7.199861] bluetooth_set_power: start_block=1
[    7.212692] WCN: marlin power state:0, subsys: [MARLIN_BLUETOOTH] power 0
[    7.212754] bluetooth_set_power: end_block=1
[    7.212805] <--rfkill_bluetooth_init
[    8.739741] bluetooth_set_power: start_block=0
[    8.739774] WCN: start_marlin [MARLIN_BLUETOOTH]
[    8.739787] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 1
[    8.739806] bluetooth_set_power: end_block=0
[   10.811178] Bluetooth: Core ver 2.22
[   10.815412] NET: Registered PF_BLUETOOTH protocol family
[   10.815442] Bluetooth: HCI device and connection manager initialized
[   10.815472] Bluetooth: HCI socket layer initialized
[   10.815482] Bluetooth: L2CAP socket layer initialized
[   10.823566] Bluetooth: SCO socket layer initialized
[   10.921178] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[   10.923145] Bluetooth: hci0: RTL: rom_version status=0 version=1
[   10.923181] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[   10.923555] bluetooth hci0: Direct firmware load for rtl_bt/rtl8761bu_fw.bin failed with error -2
[   10.923583] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8761bu_fw not found
[   11.665774] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   11.665797] Bluetooth: BNEP filters: protocol multicast
[   11.665816] Bluetooth: BNEP socket layer initialized
[  131.004104] bluetooth_set_power: start_block=0
[  131.004136] WCN: start_marlin [MARLIN_BLUETOOTH]
[  131.004146] WCN: marlin power state:5, subsys: [MARLIN_BLUETOOTH] power 1
[  131.004156] bluetooth_set_power: end_block=0
zeebee@DietPi:~$

For comparison, here’s output from another instalation, where BT dongle simply works:

orangepi@orangepi3b:~$ uname -a
Linux orangepi3b 5.10.160-rockchip-rk356x #1.0.8 SMP Mon Nov 18 11:49:28 CST 2024 aarch64 GNU/Linux
orangepi@orangepi3b:~$ sudo dmesg | grep -i bluetooth
[   11.606370] Bluetooth: Core ver 2.22
[   11.606448] Bluetooth: HCI device and connection manager initialized
[   11.606467] Bluetooth: HCI socket layer initialized
[   11.606481] Bluetooth: L2CAP socket layer initialized
[   11.606513] Bluetooth: SCO socket layer initialized
[   15.952049] usb 4-1: Product: TP-Link Bluetooth USB Adapter
[   37.419047] -->rfkill_bluetooth_init
[   37.419291] <--rfkill_bluetooth_init
[   37.449800] bluetooth_set_power: start_block=0
[   37.449811] WCN: start_marlin [MARLIN_BLUETOOTH]
[   37.449818] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 1
[   37.449826] bluetooth_set_power: end_block=0
[   39.987722] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   39.987732] Bluetooth: BNEP filters: protocol multicast
[   39.987752] Bluetooth: BNEP socket layer initialized
[   40.206111] Bluetooth: RFCOMM TTY layer initialized
[   40.206138] Bluetooth: RFCOMM socket layer initialized
[   40.206174] Bluetooth: RFCOMM ver 1.11
[   40.271408] bluetooth_set_power: start_block=0
[   40.271420] WCN: start_marlin [MARLIN_BLUETOOTH]
[   40.271470] WCN: marlin power state:5, subsys: [MARLIN_BLUETOOTH] power 1
[   40.271479] bluetooth_set_power: end_block=0
[   40.466362] Bluetooth: HCI UART driver ver 2.3
[   40.466375] Bluetooth: HCI UART protocol H4 registered
[   40.466379] Bluetooth: HCI UART protocol BCSP registered
[   40.466383] Bluetooth: HCI UART protocol ATH3K registered
[   40.466774] Bluetooth: HCI UART protocol Intel registered
[   40.466782] Bluetooth: HCI UART protocol AG6XX registered

might be some drivers missing?

1 Like

Package firmware-realtek contains rtl8761bu_fw.

You could try to install it:

sudo apt install firmware-realtek
1 Like

Thank you for steppin in! I really appreciate!!

Yes, i installed firmware realtek and after reboot the bluetooth icon on panel appeared by itself, and with a couple of clicks i was able to install whatever i needed.
And i wanted to write here on this forum, to share a good news, and… The network was gone!

When installing the realtek package, i noticed apt uninstalled the armbian-firmware package.
And now no wi-fi adapter is available. And i do not have enough cable to connect to a router.
First thing that came to my mind was to re-istall the armbian firmware package:

zeebee@DietPi:~$ sudo apt install armbian-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  firmware-realtek
The following NEW packages will be installed:
  armbian-firmware
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 91.7 MB of archives.
After this operation, 275 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

I AHD TO REMOVE SOME LINES, due to this forum rules there was too many links

E: Failed to fetch /armbian-firmware_25.02.0-trunk-dietpi1.deb  Temporary failure resolving 'dietpi.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Now… i\m kind of stuck…

I need to close the business for today, tomorrow i will fix it. What would be a course of action you guys recommend?

Seems like a temporary problem, your device is not able to connect to dietpi.com/apt

Did you try maybe run apt-get update or try with --fix-missing like the message suggests.

Using code tags will avoid this and increase readability. As @Jappe did now

As i understood wifi is gone during installation of firmware package. So first step would be to get ethernet connected.

Ha ha, you fell into the same trap as i did. Read my lips:
The network is gone. No wi-fi adapter available. No cable to router. No inter-nets.

So far i did not spend much time on customization. I can think of fresh install again, until a point where wi-fi still works and there’s no BT. And then…?
At least we know what is missing!

As, as i said yesterday, i have a fresh install of dietpi again. Wi-fi works, apparently, sas i am posting from this system.

root@DietPi:~# lsusb
Bus 006 Device 002: ID 2357:0604 TP-Link TP-Link Bluetooth USB Adapter
snip
root@DietPi:~# sudo dmesg | grep -i bluetooth
[    3.159929] usb 6-1: Product: TP-Link Bluetooth USB Adapter
[    9.858230] Bluetooth: Core ver 2.22
[    9.858339] NET: Registered PF_BLUETOOTH protocol family
[    9.858347] Bluetooth: HCI device and connection manager initialized
[    9.858372] Bluetooth: HCI socket layer initialized
[    9.858382] Bluetooth: L2CAP socket layer initialized
[    9.858407] Bluetooth: SCO socket layer initialized
[    9.928566] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[    9.930490] Bluetooth: hci0: RTL: rom_version status=0 version=1
[    9.930521] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[    9.930819] bluetooth hci0: Direct firmware load for rtl_bt/rtl8761bu_fw.bin failed with error -2
[    9.930856] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8761bu_fw not found

Now, what if i download the firmware-realtek package manually, unpack or unzip it manually, and place the missing rtl8761bu_fw.bin file in a place where it is expected?
Would that work?
What file, exactly, and where exactly? I think i would need some assistance, i am not good in manual operations.

Thanks in advance!
(I may be offline for a couple of hours, don’t be surprised if i don’t respond immediatelly)

can you check following pls

ls -la /usr/lib/firmware/rtl_bt
root@DietPi:~# ls -la /usr/lib/firmware/rtl_bt
total 600
drwxrwxr-x  2 root root  4096 Apr 22 20:21 .
drwxrwxr-x 38 root root  4096 Apr 22 20:27 ..
-rw-rw-r--  1 root root    68 Dec 29 03:20 rtl8723b_config.bin
-rw-rw-r--  1 root root 46236 Dec 29 03:20 rtl8723b_fw.bin
-rw-rw-r--  1 root root    68 Dec 29 03:20 rtl8723bs_config-pine64.bin
lrwxrwxrwx  1 root root    19 Dec 29 03:20 rtl8723bs_config.bin -> rtl8723b_config.bin
lrwxrwxrwx  1 root root    15 Dec 29 03:20 rtl8723bs_fw.bin -> rtl8723b_fw.bin
lrwxrwxrwx  1 root root    28 Dec 29 03:20 rtl8723cs_cg_config.bin -> ../rtlbt/rtl8723cs_cg_config
lrwxrwxrwx  1 root root    24 Dec 29 03:20 rtl8723cs_cg_fw.bin -> ../rtlbt/rtl8723cs_cg_fw
lrwxrwxrwx  1 root root    28 Dec 29 03:20 rtl8723cs_vf_config.bin -> ../rtlbt/rtl8723cs_vf_config
lrwxrwxrwx  1 root root    24 Dec 29 03:20 rtl8723cs_vf_fw.bin -> ../rtlbt/rtl8723cs_vf_fw
lrwxrwxrwx  1 root root    28 Dec 29 03:20 rtl8723cs_xx_config.bin -> ../rtlbt/rtl8723cs_xx_config
lrwxrwxrwx  1 root root    24 Dec 29 03:20 rtl8723cs_xx_fw.bin -> ../rtlbt/rtl8723cs_xx_fw
-rw-rw-r--  1 root root    47 Dec 29 03:20 rtl8723ds_config.bin
-rw-rw-r--  1 root root 48988 Dec 29 03:20 rtl8723ds_fw.bin
-rw-rw-r--  1 root root    10 Dec 29 03:20 rtl8821c_config.bin
-rw-rw-r--  1 root root 37356 Dec 29 03:20 rtl8821c_fw.bin
-rw-rw-r--  1 root root    14 Dec 29 03:20 rtl8822b_config.bin
-rw-rw-r--  1 root root 51176 Dec 29 03:20 rtl8822b_fw.bin
-rw-rw-r--  1 root root    73 Dec 29 03:20 rtl8822cs_config.bin
-rw-rw-r--  1 root root 66248 Dec 29 03:20 rtl8822cs_fw.bin
-rw-rw-r--  1 root root     6 Dec 29 03:20 rtl8822cu_config.bin
-rw-rw-r--  1 root root 60892 Dec 29 03:20 rtl8822cu_fw.bin
-rw-rw-r--  1 root root    33 Dec 29 03:20 rtl8852bs_config.bin
-rw-rw-r--  1 root root 62532 Dec 29 03:20 rtl8852bs_fw.bin
-rw-rw-r--  1 root root     6 Dec 29 03:20 rtl8852bu_config.bin
-rw-rw-r--  1 root root 74324 Dec 29 03:20 rtl8852bu_fw.bin
-rw-rw-r--  1 root root    55 Dec 29 03:20 rtlbt_config
-rw-rw-r--  1 root root 44504 Dec 29 03:20 rtlbt_fw
-rw-rw-r--  1 root root 51364 Dec 29 03:20 rtlbt_fw_new
root@DietPi:~#

I am still here. Downloaded firmware-realtek file, now trying to unpack it…

not needed. follow the link I shared above. You can download rtl8761b_fw from this android_hardware_realtek/bt/rtkbt/Firmware/BT at rtk1395 · Realtek-OpenSource/android_hardware_realtek · GitHub and create a symbolic link

ah and can you check following in addition

ls -la /usr/lib/firmware/rtlbt/

Guys, this is breaking news: IT WORKS NOW!

Downloaded the package with:
apt-get download firmware-realtek

Installed GUI archive manager for MATE, engrampa.
Unpacked only two files into a /lib/firmware/rtl_bt directory
namely rtl8761bu_config.bin and rtl8761bu_fw.bin

Restart, and… IT WORKS! And my wi-fi still works, apparently :slight_smile:

Thank You a bunch, each and every one, especially those who build and maintain Dietpi distro!

OrangePi Wiki says
Wi-Fi+Bluetooth : Wi-Fi 5+BT 5.0, BLE(20U5622)