disable bluetooth

rjcab

Member
Mar 1, 2021
50
0
11
44
Hello,

I am not able to disable bluetooth in BIOS so I am trying with the OS Conf

Code:
root@pve:/etc/systemd/system# dmesg | grep hci0
[    4.538303] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[    4.538354] Bluetooth: hci0: Boot Address: 0x24800
[    4.538356] Bluetooth: hci0: Firmware Version: 255-255.255
[    4.539959] Bluetooth: hci0: FW download error recovery failed (-19)
[    4.540023] Bluetooth: hci0: sending frame failed (-19)
[    4.540033] Bluetooth: hci0: Reading supported features failed (-19)
[    4.540037] Bluetooth: hci0: Error reading debug features
[    4.540039] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
[    4.540045] Bluetooth: hci0: sending frame failed (-19)
[    4.540052] Bluetooth: hci0: Failed to read MSFT supported features (-19)
[    5.259351] Bluetooth: hci0: Bootloader revision 0.3 build 0 week 24 2017
[    5.260318] Bluetooth: hci0: Device revision is 1
[    5.260322] Bluetooth: hci0: Secure boot is enabled
[    5.260323] Bluetooth: hci0: OTP lock is enabled
[    5.260324] Bluetooth: hci0: API lock is enabled
[    5.260324] Bluetooth: hci0: Debug lock is disabled
[    5.260325] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    5.306111] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[    5.306157] Bluetooth: hci0: Boot Address: 0x24800
[    5.306158] Bluetooth: hci0: Firmware Version: 255-255.255
[    7.022038] Bluetooth: hci0: Waiting for firmware download to complete
[    7.022312] Bluetooth: hci0: Firmware loaded in 1675969 usecs
[    7.022397] Bluetooth: hci0: Waiting for device to boot
[    7.037284] Bluetooth: hci0: Malformed MSFT vendor event: 0x02
[    7.037285] Bluetooth: hci0: Device booted in 14602 usecs
[    7.038528] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-20-1-3.ddc
[    7.040305] Bluetooth: hci0: Applying Intel DDC parameters completed
[    7.041285] Bluetooth: hci0: Firmware revision 0.3 build 249 week 27 2023
[    7.043314] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
[16538.626054] Bluetooth: hci0: urb 00000000a3d50b47 failed to resubmit (2)
[16540.655590] Bluetooth: hci0: Reading Intel version command failed (-110)
[16540.655603] Bluetooth: hci0: command 0xfc05 tx timeout
root@pve:/etc/systemd/system#

I tried as below:

Code:
root@pve:/etc/systemd/system#
root@pve:/etc/systemd/system# systemctl disable bluetooth
Failed to disable unit: Unit file bluetooth.service does not exist.
root@pve:/etc/systemd/system# systemctl stop bluetooth
Failed to stop bluetooth.service: Unit bluetooth.service not loaded.root@pve:/etc/systemd/system# sudo apt remove bluez
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'bluez' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
root@pve:/etc/systemd/system#

If you have an idea how to proceed.

Many thanks
 
I always physically remove Bluetooth/Wi fi cards when not using them. It saves resources/energy, and its usually easier than SW/HW blocking.
Just my 2 cents.
 
Thanks @gfngfn256. Can not physically remove due to warranty.
@gurubert I did that:

Code:
root@pve:~# cat /etc/modprobe.d/blacklist.conf
blacklist bluetooth
install bluetooth /bin/true

but doesn't work :(
 
Can not physically remove due to warranty.
I've had that before. But you can leave it inside the computer (together with all antennas) and just disconnect card from its socket. Insulate the connectors.
AFAIK this should not void any warranty.
 
What is the output of lsmod | grep bt? Perhaps a blacklist of btusb is enough (and a update-initramfs -u and reboot of course).
Code:
root@pve:~# lsmod | grep bt
ebtable_filter         12288  0
ebtables               45056  1 ebtable_filter
btusb                  73728  0
btrtl                  32768  1 btusb
btbcm                  24576  1 btusb
btintel                53248  1 btusb
btmtk                  12288  1 btusb
bluetooth            1040384  5 btrtl,btmtk,btintel,btbcm,btusb
x_tables               61440  13 ebtables,ip6table_filter,xt_conntrack,ip6table_raw,iptable_filter,nft_compat,xt_tcpudp,xt_addrtype,xt_nat,ip6_tables,iptable_raw,ip_tables,xt_MASQUERADE
btrfs                1843200  0
xor                    20480  1 btrfs
raid6_pq              118784  1 btrfs
libcrc32c              12288  4 nf_conntrack,nf_nat,btrfs,nf_tables
root@pve:~#
Do I need to blacklist all of them:

btrtl,btmtk,btintel,btbcm,btusb
 
root@pve:~# cat /etc/modprobe.d/blacklist.conf
blacklist btusb
blacklist bluetooth
install bluetooth /bin/true
root@pve:~#

I wait for reboot, backup in progress
 

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!