LXC container - bluetooth passtrough

neocivis

New Member
Feb 19, 2023
2
0
1
Hi Guys,

I try to get bleutooth working but i get the following message
Code:
root@homeassistant:~# service bluetooth status
* bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sun 2023-02-19 01:55:36 UTC; 46s ago
       Docs: man:bluetoothd(8)
    Process: 887 ExecStart=/usr/libexec/bluetooth/bluetoothd (code=exited, status=1/FAILURE)
   Main PID: 887 (code=exited, status=1/FAILURE)
     Status: "Starting up"
        CPU: 13ms

Feb 19 01:55:36 homeassistant systemd[1]: Starting Bluetooth service...
Feb 19 01:55:36 homeassistant bluetoothd[887]: Bluetooth daemon 5.55
Feb 19 01:55:36 homeassistant systemd[1]: Started Bluetooth service.
Feb 19 01:55:36 homeassistant bluetoothd[887]: src/adapter.c:adapter_init() Failed to access management interface
Feb 19 01:55:36 homeassistant bluetoothd[887]: src/main.c:main() Adapter handling initialization failed
Feb 19 01:55:36 homeassistant systemd[1]: bluetooth.service: Main process exited, code=exited, status=1/FAILURE
Feb 19 01:55:36 homeassistant systemd[1]: bluetooth.service: Failed with result 'exit-code'.

actually my usb controller is passed trough
Code:
root@homeassistant:~# ls -l /dev/bus/usb/001/003
crw-rw-rw- 1 root root 189, 2 Feb 18 23:11 /dev/bus/usb/001/003

then i did this
Code:
root@homeassistant:~# lsmod | grep bluetooth

bluetooth             679936  6 btrtl,btintel,btbcm,bnep,btusb
ecdh_generic           16384  1 bluetooth

followed by this
Code:
hciconfig
Can't open HCI socket.: Address family not supported by protocol

it seems to me the system does not know that the adapter is the bluetooth adapter
 
Last edited:

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!