[SOLVED] Passing HCI through to VM

mihalski

New Member
May 22, 2017
17
0
1
48
Hi,

I'm new to Proxmox and I've arrived here on a quest for some sort of managed VM/container platform that would allow me to pass through HCI bluetooth to the guest. I've established that lxc/lxd containers are incapable of this at the moment. I still have hopes for VM's.

I've gotten the HCI working on the host:

root@pve:~# hcitool dev
Devices:
hci0 58:B0:35:82:D1:68

But not is there a way to allow a VM guest to access it?

Thank you in advance for any help.

Regards,
Michal
 
You can either pass to the VM a PCI device or an USB device.
If your bluetooth dongle appears on the host system as an USB device (ie you see it in the output of lsusb) you should be able to pass it to a VM following the instructions from https://pve.proxmox.com/wiki/USB_Devices_in_Virtual_Machines
 
  • Like
Reactions: amolpalshetkar
Thank you!

This worked. You sir are a champion of the people.
I honestly did not expect it to work as it does not work with lxd.

Regards,
Michal
 
@mihalski how did you manage to install the hcitool package? Doesn't seem like the Proxmox repos have it available?

EDIT: Seems this does the trick.
Bash:
apt-get install bluez
 
Last edited: