USB Bluetooth in LXC

Wolfshunter

New Member
Jan 25, 2023
8
0
1
Hallo,

ich brächte da mal etwas Hilfe um meinen USB Bluetooth Dongle in den LXC
Container zum laufen zu bekommen.

Hatte auch schon folgende Anleitung genutzt aber das brachte nicht den
gewünschten Erfolg.

USB passtrough für LXC Container

Im LXC Container sagt er mir zwar das er da ist. Doch wenn ich den Befehl
hciconfig nutze dann bekomme ich in der Proxmox Konsole folgendesangezeigt:

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:21 acl:0 sco:0 events:2 errors:0
        TX bytes:6 acl:0 sco:0 commands:2 errors:0

aber im LXC Container bekomme ich folgendes angezeigt:

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

Denke mal das der USB Dongle nicht richtig durchgereicht wird oder sehe ich das falsch?

hier mal lsusb vom Proxmox Host:

Code:
root@proxmox:~# lsusb
Bus 001 Device 004: ID 0bda:a725 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. Root Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@proxmox:~#

Hier das was mit in der iobroker Konsole angezeigt wird:

Code:
root@iobroker:~# lsusb
Bus 001 Device 004: ID 0bda:a725 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. Root Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@iobroker:~#