How to enable Realtek 8255BE bluetooth?

depechie

New Member
Dec 7, 2024
12
1
3
I have a GMKtec G3 that has a Realtek 8852 wifi module that also operates as bluetooth. But no matter what I try, I'm unable to get it to work... Any pointers on what to do? I'm first trying to get it active on the pve host...

Trying `lspci` gives:

01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller

Trying lsusb gives:

Bus 001 Device 003: ID 0bda:b85b Realtek Semiconductor Corp. Bluetooth Radio

Trying systemctl status bluetooth gives:

Code:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: enabled)     
Active: active (running) since Sun 2025-01-05 00:12:46 CET; 27min ago       
Docs: man:bluetoothd(8)   
Main PID: 603 (bluetoothd)     
Status: "Running"     
Tasks: 1 (limit: 18809)     
Memory: 4.0M       
CPU: 29ms     
CGroup: /system.slice/bluetooth.service             
└─603 /usr/libexec/bluetooth/bluetoothd

Jan 05 14:28:36 pve bluetoothd[606]: Starting SDP server
Jan 05 14:28:36 pve bluetoothd[606]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not enabled
Jan 05 14:28:36 pve bluetoothd[606]: src/plugin.c:plugin_init() Failed to init vcp plugin
Jan 05 14:28:36 pve bluetoothd[606]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
Jan 05 14:28:36 pve bluetoothd[606]: src/plugin.c:plugin_init() Failed to init mcp plugin
Jan 05 14:28:36 pve bluetoothd[606]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
Jan 05 14:28:36 pve bluetoothd[606]: src/plugin.c:plugin_init() Failed to init bap plugin
Jan 05 14:28:36 pve bluetoothd[606]: Bluetooth management interface 1.22 initialized
Jan 05 14:28:36 pve bluetoothd[606]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
Jan 05 14:28:36 pve bluetoothd[606]: sap-server: Operation not permitted (1)

Trying hciconfig -a gives nothing!

Trying bluetoothctl and then scan on gives:

No default controller available

Trying `dmseg | grep Bluetooth` gives:

Code:
[ 1.876794] usb 1-8: Product: Bluetooth Radio
[ 3.266299] Bluetooth: Core ver 2.22
[ 3.266327] Bluetooth: HCI device and connection manager initialized
[ 3.266331] Bluetooth: HCI socket layer initialized
[ 3.266334] Bluetooth: L2CAP socket layer initialized
[ 3.266337] Bluetooth: SCO socket layer initialized
[ 3.308577] Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000b lmp_ver=0b lmp_subver=8852
[ 3.309573] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 3.309578] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_fw.bin
[ 3.311422] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_config.bin
[ 3.321470] Bluetooth: hci0: RTL: cfg_sz 6, total sz 65603
[ 3.707606] Bluetooth: hci0: RTL: fw version 0x04479301
[ 3.792587] Bluetooth: hci0: AOSP extensions version v1.00
[ 3.792592] Bluetooth: hci0: AOSP quality report is supported
[ 4.892258] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4.892263] Bluetooth: BNEP filters: protocol multicast
[ 4.892267] Bluetooth: BNEP socket layer initialized

Trying `hciconfig hci0 up` gives:

Can't get device info: No such device
 
Hey @leesteken thx for the tip... but I tried on pve host because on the VM I get similar results.
So I thought I needed to fix bluetooth on the host first before the passthrough would work.
I do get some different log results though on the debian VM.

hiconfig -a
Code:
hci0:    Type: Primary  Bus: USB
    BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
    DOWN
    RX bytes:35 acl:0 sco:0 events:3 errors:0
    TX bytes:11 acl:0 sco:0 commands:4 errors:0
    Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    Packet type: DM1 DH1 HV1
    Link policy:
    Link mode: PERIPHERAL ACCEPT

hciconfig hci0 up

Code:
Can't init device hci0: No such file or directory (2)
 
Fixed it! I installed a debian vm and passed the bluetooth device to it. In there I could install the Realtek drivers and that allowed me to use BT in the VM!
 
Fixed it! I installed a debian vm and passed the bluetooth device to it. In there I could install the Realtek drivers and that allowed me to use BT in the VM!
I think I have the same issue. I have a GMKtec NucBox G3 Plus with the Realtek 8255BE bluetooth module and I'm trying to use it for HA running as a VM on Proxmox. However, when passing it through to HA it get the "Failed to start Bluetooth: adapter 'hci0' not found" message.

Would you mind walking me through how you did with Debian? Pretty sure I can manage to setup a Debian VM, but from there I'm in the dark.

Edit: Well, I managed to fix it too. I have Win11 setup as a VM next to HA and inspired by your post I tried to pass it through to Win11, which gave an error of course, and then I installed the Win drivers and now it's working in both HA and Win11 :)

Edit2: Well...not working so much after all. It's rather unstable and stops working now or then. Is your solution through Debian stable?
 
Last edited:
@msf1212

Use lsusb to view the list of devices on the host pve ( so in the console of the pve )
Then use usb passthrough to the vm as described here : https://pve.proxmox.com/wiki/USB_Devices_in_Virtual_Machines
Figure out in the host the Device Type by

lsusb

The result is
Bus 002 Device 013: ID 058f:6387 Alcor Micro Corp. Flash Drive
Assign it to the VM by ( note the correct VM ID )
qm set 106 -usb0 host=058f:6387
Shutdown the VM (if running) and start it again.
Enable it on debian
https://debian-facile.org/doc:systeme:bluetooth
To enable bluetooth in a Debian linux for the GMKTec, follow these steps:
https://forums.debian.net/viewtopic.php?t=159780
Add the non free firmware items to the sources list /etc/apt/sources.list
https://wiki.debian.org/SourcesList#Example_sources.list
deb https://deb.debian.org/debian bookworm main non-free-firmware
deb-src https://deb.debian.org/debian bookworm main non-free-firmware
deb https://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src https://security.debian.org/debian-security bookworm-security main non-free-firmware
deb https://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src https://deb.debian.org/debian bookworm-updates main non-free-firmware
Then run
apt install firmware-realtek
 
@msf1212

Use lsusb to view the list of devices on the host pve ( so in the console of the pve )
Then use usb passthrough to the vm as described here : https://pve.proxmox.com/wiki/USB_Devices_in_Virtual_Machines
Figure out in the host the Device Type by

lsusb

The result is
Bus 002 Device 013: ID 058f:6387 Alcor Micro Corp. Flash Drive
Assign it to the VM by ( note the correct VM ID )
qm set 106 -usb0 host=058f:6387
Shutdown the VM (if running) and start it again.
Enable it on debian
https://debian-facile.org/doc:systeme:bluetooth
To enable bluetooth in a Debian linux for the GMKTec, follow these steps:
https://forums.debian.net/viewtopic.php?t=159780
Add the non free firmware items to the sources list /etc/apt/sources.list
https://wiki.debian.org/SourcesList#Example_sources.list
deb https://deb.debian.org/debian bookworm main non-free-firmware
deb-src https://deb.debian.org/debian bookworm main non-free-firmware
deb https://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src https://security.debian.org/debian-security bookworm-security main non-free-firmware
deb https://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src https://deb.debian.org/debian bookworm-updates main non-free-firmware
Then run
apt install firmware-realtek
Thx! Will give it a try.