Configuration of motherboard bluetooth

Pet3k

New Member
Oct 2, 2022
6
1
3
Hi all,

I use Proxmox for Home Assistant and I have HP ProDesk 400 G6 mini PC and I want to use motherboard bluetooth in HomeAssistant but I don't know how to add bluetooth to virtualization of homeassistant. Do I need to install drivers for bluetooth some how in proxmox? Or I have to add something from pcie but there isn't anything like bluetooth adapter or if I try something add from list of pcie devices homeassistant doesn't start. Could anybody help me? Thanks so much for any hint.
 
I would like to use Bluetooth integrated on motherboard so I can’t use USB.
I understand, but please note that often the Bluetooth integrated on the motherboard is internally connected to the motherboard with USB. Therefore, check if that is also the case for your on-board Bluetooth. That would also explain why you don't see a PCIe device for your Bluetooth.
What is the output of lsusb on the Proxmox host console/ssh/shell?
The Bluetooth integrated on my motherboard shows Bus 003 Device 003: ID 0e8d:0608 MediaTek Inc. Wireless_Device when I do lsusb.
 
I understand, but please note that often the Bluetooth integrated on the motherboard is internally connected to the motherboard with USB. Therefore, check if that is also the case for your on-board Bluetooth. That would also explain why you don't see a PCIe device for your Bluetooth.
What is the output of lsusb on the Proxmox host console/ssh/shell?
The Bluetooth integrated on my motherboard shows Bus 003 Device 003: ID 0e8d:0608 MediaTek Inc. Wireless_Device when I do lsusb.
this is list of usb from shell:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1cf1:0030 Dresden Elektronik ZigBee gateway [ConBee II]
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 004: ID 8087:0026 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

so this means that I have to add USB:
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
??
 
so this means that I have to add USB:
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Do you recognize that device? Did you plug it in a USB port? Does your motherboard also have WiFi?
Maybe it's a combined Bluetooth and WiFi device (as on my motherboard) and the Bluetooth is via USB and WiFi is via PCIe?
You can just try it and see. Make sure the VM does not start automatically and you can always reboot the system.
 
Do you recognize that device? Did you plug it in a USB port? Does your motherboard also have WiFi?
Maybe it's a combined Bluetooth and WiFi device (as on my motherboard) and the Bluetooth is via USB and WiFi is via PCIe?
You can just try it and see. Make sure the VM does not start automatically and you can always reboot the system.
I think that in my case, I have bluetooth combined with wifi. so I try and and i will see.
 
Do you recognize that device? Did you plug it in a USB port? Does your motherboard also have WiFi?
Maybe it's a combined Bluetooth and WiFi device (as on my motherboard) and the Bluetooth is via USB and WiFi is via PCIe?
You can just try it and see. Make sure the VM does not start automatically and you can always reboot the system.
So in the end this solution didn't help. Do you any other idea how this issue solve, please?

so if I try command lspci a get list of pcie:

00:00.0 Host bridge: Intel Corporation Device 9b43 (rev 05)
00:02.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630] (rev 05)
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
00:16.3 Serial controller: Intel Corporation Device 06e3
00:17.0 SATA controller: Intel Corporation Device 06d2
00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 0687
00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I219-LM
01:00.0 Non-Volatile memory controller: Intel Corporation Device f1aa (rev 03)

But I think that there isn't any item which will be bluetooth
 
So finally It is working. I tried to add USB with empty name and bluetooth was automatic loaded in HomeAssistant. So thank you @leesteken so much for your help.
 
  • Like
Reactions: leesteken
hi ! I've same issue. On my Beelink MINIS256, my combined WiFi & Bluetooth device is from Intel.
The bluetooth works on the debian of proxmox but it is not recognized in the VMs created in proxmox.
Its my configuration :

@proxmox:~# lspci
00:00.0 Host bridge: Intel Corporation Device 4e24
00:02.0 VGA compatible controller: Intel Corporation Device 4e55 (rev 01)
00:04.0 Signal processing controller: Intel Corporation Device 4e03
00:14.0 USB controller: Intel Corporation Device 4ded (rev 01)
00:14.2 RAM memory: Intel Corporation Device 4def (rev 01)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device 4de8 (rev 01)
00:15.1 Serial bus controller [0c80]: Intel Corporation Device 4de9 (rev 01)
00:15.2 Serial bus controller [0c80]: Intel Corporation Device 4dea (rev 01)
00:15.3 Serial bus controller [0c80]: Intel Corporation Device 4deb (rev 01)
00:16.0 Communication controller: Intel Corporation Device 4de0 (rev 01)
00:17.0 SATA controller: Intel Corporation Device 4dd3 (rev 01)
00:19.0 Serial bus controller [0c80]: Intel Corporation Device 4dc5 (rev 01)
00:19.1 Serial bus controller [0c80]: Intel Corporation Device 4dc6 (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 4dbe (rev 01)
00:1c.7 PCI bridge: Intel Corporation Device 4dbf (rev 01)
00:1e.0 Communication controller: Intel Corporation Device 4da8 (rev 01)
00:1e.3 Serial bus controller [0c80]: Intel Corporation Device 4dab (rev 01)
00:1f.0 ISA bridge: Intel Corporation Device 4d87 (rev 01)
00:1f.3 Audio device: Intel Corporation Device 4dc8 (rev 01)
00:1f.4 SMBus: Intel Corporation Device 4da3 (rev 01)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 4da4 (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 P CI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)

@proxmox:~# dmesg | egrep -i 'blue|firm'
[ 3.552230] Bluetooth: Core ver 2.22
[ 3.552250] NET: Registered PF_BLUETOOTH protocol family
[ 3.552251] Bluetooth: HCI device and connection manager initialized
[ 3.552255] Bluetooth: HCI socket layer initialized
[ 3.552258] Bluetooth: L2CAP socket layer initialized
[ 3.552262] Bluetooth: SCO socket layer initialized
[ 3.565808] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.574474] Bluetooth: hci0: Legacy ROM 2.x revision 5.0 build 25 week 20 2015
[ 3.575336] bluetooth hci0: Direct firmware load for intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq failed with error -2
[ 3.575342] Bluetooth: hci0: failed to open Intel firmware file: intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq (-2)
[ 3.575365] bluetooth hci0: Direct firmware load for intel/ibt-hw-37.8.bseq failed with error -2
[ 3.575367] Bluetooth: hci0: failed to open default fw file: intel/ibt-hw-37.8.bseq
[ 3.719582] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)
[ 3.729807] iwlwifi 0000:02:00.0: loaded firmware version 29.4063824552.0 7265D-29.ucode op_mode iwlmvm
[ 3.793425] iwlwifi 0000:02:00.0: Allocated 0x00400000 bytes for firmware monitor.
[90587.343128] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[90587.343133] Bluetooth: BNEP filters: protocol multicast
[90587.343138] Bluetooth: BNEP socket layer initialized

Do you have an idea of the issue ?

thanks in advance
 

Attachments

  • Sans titre.png
    Sans titre.png
    2.8 KB · Views: 38
  • Capture.PNG
    Capture.PNG
    6.9 KB · Views: 34
thanks for your reply. I've test this solution. But it doesn't work (see screen).That's why I'm asking for your help.
 

Attachments

  • Capture.PNG
    Capture.PNG
    15.2 KB · Views: 112
thanks for your reply. I've test this solution. But it doesn't work (see screen).That's why I'm asking for your help.
I can't tell what is wrong,sorry. Maybe you don't have the same problem?
Maybe the device ID is incorrect; have you tried passing the USB by port ID instead? Maybe it just doesn't work with USB passthrough; have you tried PCIe passthrough of a whole USB controller?
Does the operating system inside the VM see the USB device? Does the operating system inside the VM support the bluetooth device? What operating system are you using inside the VM, does it need/have a driver?
 
USB passthru of bluetooth works perfectly on my NUC, wouldn't have thought of that without your pointer so thanks!
 
Hello everyone,

I have a system with onboard bluetooth. The bluetooth device is connected to a UART-Bus.
Is there a way to passthrough a bluetooth device like this?

Code:
root@main-pve:~# hciconfig -a
hci0:   Type: Primary  Bus: UART
        BD Address: D8:3A:DD:A1:94:BB  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING
        RX bytes:4734 acl:0 sco:0 events:435 errors:0
        TX bytes:66783 acl:0 sco:0 commands:435 errors:0
        Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH SNIFF
        Link mode: PERIPHERAL ACCEPT
        Name: 'main-pve'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous,
        HCI Version: 5.0 (0x9)  Revision: 0x17e
        LMP Version: 5.0 (0x9)  Subversion: 0x6119
        Manufacturer: Cypress Semiconductor (305)

Thanks in adcanve
 
Last edited:
Hello,

I kind of have the same problem. My BT is on USB7, but when I plug in my z-wave and zigbee adaptors on USB 0 and 1, I cannot connect to BT anymore.
On the Proxmox shell I see;
[number.number] Bluetooth: hci0 sending initial HCI reset failed (-19)

I got a NUC i5
 
Came to add this worked great for me. My mobo has an Intel AX210 combined WiFi 6E and Bluetooth 5.3 module in the m.2 key E slot. While I couldn't see the port in the list of USB devices to pass through, lsusb returned my device ID that was in the list for USB passthrough. Added that in, cycled the VM, and voila, Home Assistant automatically popped up the discovered Bluetooth. Couldn't have been easier.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!