Can Bluetooth be used in Proxmox (passed to a VM or LXC)

the pcie and usb device are the only things you can pass through. if it doesnt work, its most likely an issue within homeassistant.
have you checked the logs/console there?

i am using some realtek based usb bluetooth for homeassistant.
my intel card is reserved for windows 11 vm, where it works perfectly fine.
 
I finally got the PCIe card that I ordered - the first order shipped wrong card. I now have the INTEL AX210 in my system with proxmox installed and it is seen inside HomeAssistant (once setting up IOMMU and passing through the PCI (WiFi) and USB 8087:0032 to the HA instance.

Still think something is wrong - as I only see this:

View attachment 64908
 
Hi, sorry for the intrusion in the thread however I also have a BT issue in proxmox but It is sort of working
but as the title of the thread is: "Can Bluetooth be used in Proxmox (passed to a VM or LXC)" I figured it would be ok.

If not then I can start a new thread :D

The issue is that it does work as I have both the USB side:
001 Device 004: ID 0e8d:c616 MediaTek Inc. Wireless_Device mapped to: (USB Device) usb0 in the VM

As well as the:
IOMMU Group 23 5c:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
mapped to: (PCI Device pcihost0)

This all works fine the issue is however the moment I want to do more then just playing back the Audio.
All kinds of issues occur.

I theorize that this is because I am NOT forwarding the entire Root Hub from the motherboard.
and and that thus there is an issue with the channeling of multiple devices

Does any body here have any ideas on that?
 
I am building a new HA (HomeAssistant instance as a VM under Proxmox). The new VM box has the very same WiFi/BT card that the existing ThinClient is using. A PCIe card and I am getting WiFi in BOTH systems - but the new VM does not see the Bluetooth. Again, they are both on the same card. Proxmox is setup and is passing the PCIe into the HA (x86_64) installation. WiFi is working and I am able to connect to my AP and get an IP From both systems.
Done a little research - and it appears that Bluetooth 'is' there under Proxmox. From the SHELL - I am seeing this:



From what I can gather - it is there after installing 'bluetooth' and 'bluez' -- but no idea how to pass it into the HomeAssistant VM. I was able to pass the WiFi into the HA VM by adding the PCIe Adapter
View attachment 63459

View attachment 63460

The Bluetooth is on the same card as the WiFi...it is a PCIe card with antennas on the outside of the machine.
Looking at your pic list prob not. i hope you figure it out :)
 
In order to map the Bluetooth part of your wireless device,
I think it is best to create a resource mapping,

It is possible to create a resource mapping via Datacenter> resource Mappings,

This so that the then later this mapped resource can be added as hardware in the the VM.,

To map the bluetooth part of the device go to Datacenter> resource Mappings "USB Devices"
Choose "Add" and In the menu "Add USB Mapping" check the button "Use USB Vendor/Device ID"

Here the bluetooth device should be available, and you should be able to select the Device:
Note when selecting the device that you will also need to select the correct NODE if you use a Proxmox cluster.

Example:
Datacenter> resource Mappings:
usb.png
Note this device is possible only showing as a "wireless device", but be clear that the USB part is the Bluetooth part.

You should be able to find the device and the USB Bus it is on using the "lsusb" command on the shell of the PVE node.
1737758355265.png

if you have issues with finding or starting the the bluetooth/wireless device here,
note that it is possible that you have assigned the particular USB bus to another VM,

Kindly note that USB "Bus 001" would need to be fully available to the single VM that you want to map the bluetooth to.
Note it is not possible to split a USB controller over multiple VMs. Proxmox does not like that.

So determine the USB Bus ID which holds the Wireless_device (In this example Bus 001).
and assign it to the VM that you want to let use the bluetooth.

Making sure that no other VMs have any USB devices mapped that have this Bus ID.

The network part of the "wireless device" is handled directly via the PCIE lanes of the M.2 slot.
that holds the and thus this part will show in lspci.

These can be mapped as well using Datacenter> resource Mappings.PCI devices>add.

If both resources are mapped then you should be able to add the hardware in the VM
via:

Hardware> add> Usb device and choosing the Mapping you have created for the bluetooth device.

And for the WIFI network part:
Hardware> add> PCI device and choose the mapping to the WIFI part.

I hope this helps someone a little bit,
 

Attachments

  • 1737757780770.png
    1737757780770.png
    17.6 KB · Views: 11
  • 1737758464069.png
    1737758464069.png
    12.6 KB · Views: 11
Last edited:
Hi, I had the same problem in HA and the solution was given by hein.waz.
Just remember to restart the virtual machine so that HA detects the new device. THANKS!!!!