Disable driver bluetooth on proxmox

perseus666

New Member
Oct 27, 2024
6
1
3
France
Hello on my Nipogi server I have a bluetooth issue (it makes my server crash randomly) that I try to solve by creating a rule as below
but my BT under usb seems still to be up...
how to disable the driver? (or maybe I need to update the usb and/or BT drivers)

Eternal thank to the one who can help

root@homeassistant:~# 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 003: 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:~# cat /etc/udev/rules.d/*
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="c821", ATTR{authorized}="0"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="8771", ATTR{authorized}="0"
root@homeassistant:~#
 
I simply blacklist btusb (in /etc/modprobe.d/), as I do with other devices that I pass to VMs and don't want to interact with the Proxmox host (like snd-usb-audio).
 
Thank you,
Kingneutron, I want to keep a bluetooth, just not the one which seems to fail and put an external BT so I think that do not suits my need, but thank you
Leesteken, Ill try this and keep you informed (i need at least 1 or 2 week for the issue to happen) thank you
 
  • Like
Reactions: Kingneutron
Hi,

I use the following, to disable a build in usb card reader via idea rules:

ACTION=="add", ATTR{idVendor}=="05e3", ATTR{idProduct}=="0751", RUN="/bin/sh -c 'echo 1 >/sys/\$devpath/remove'"

This removes the device and does not load the driver.
 
khe thank you! I am currently investigating another idea (get a newer version of proxmox who could solve my issues as it seems I am on a very old one)
for sure I will test all this if it does not work!
Merry Xmas!
 
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!