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:
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:~$
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?
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)
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
Thank You a bunch, each and every one, especially those who build and maintain Dietpi distro!