Issue with bluetooth driver (disable?)

perseus666

New Member
Oct 27, 2024
6
1
3
France
Hello, I am using a proxmox VM to run home assistant on a NIPOGI mini pc
randomly it crashes with the following message (see picture)
As the bluetooth is on an usb I think that the consumption is too high or the hardware / driver has an issue
So I would like to disable the material and install an external bluetooth dongle
the thing is that i am a proxmox newbie (some unix notion but as a user)
so I come here to have tips, so what I think is that I would need
1/ to connect to proxmox on port 8006 yes/no?
2/ perform a lsusb to find my realtek port
3/ disable the driver where? how?
Thank you very much for any tips (it is so boring to check my home assistant remotely and not being able to reboot it until @ home)
 

Attachments

  • bluetooth_proxmox.jpg
    bluetooth_proxmox.jpg
    761.6 KB · Views: 3
Yes, your steps are pretty much correct:
  1. open PVE terminal, either via ssh or opening webgui on 8006 and then going to Node > Shell
  2. use lsusb and write down device address
  3. add rule file in /etc/udev/rules.d/
    it should contain something like
    SUBSYSTEM=="usb", ATTRS{idVendor}=="xxxx", ATTRS{idProduct}=="yyyy", ATTR{authorized}="0"
    where xxxx is hex of vendor id and yyyy - product id
and that's should be it

used source: unix.stackexchange.com
 
Last edited:
Hello and thank you
I managed to ssh the proxmox (without :8006) and do lsusb
my bt is listed as below:
Bus 001 Device 002: ID 0bda:c821 Realtek Semiconductor Corp. Bluetooth Radio
in /etc/udev/rules.d/ I have an empty fil called 60-bridge-network-interface.rules
Is it inside this one that I should add?
SUBSYSTEM=="usb", ATTRS{idVendor}=="Realtek Semiconductor Corp. Bluetooth Radio", ATTRS{idProduct}=="0bda:c821", ATTR{authorized}="0"
thank you very much in advance
 
Is it inside this one that I should add?
SUBSYSTEM=="usb", ATTRS{idVendor}=="Realtek Semiconductor Corp. Bluetooth Radio", ATTRS{idProduct}=="0bda:c821", ATTR{authorized}="0"
No, you should separate id string
It should be SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="c821", ATTR{authorized}="0"
 
Hello, coming back to you because it seems not to be disabled, is there something I do not understand here?
ssh root@192.168.100.2

root@homeassistant:/etc/udev/rules.d# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
Bus 001 Device 004: ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 007: ID 1cf1:0030 Dresden Elektronik ZigBee gateway [ConBee II]
Bus 001 Device 002: ID 0bda:c821 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@homeassistant:/etc/udev/rules.d# cat 10-bluetooth-interfaces.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="c821", ATTR{authorized}="0"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="8771", ATTR{authorized}="0"
root@homeassistant:/etc/udev/rules.d#