prevent bluetooth from loading (manjaro, no wifi/bt card installed)
#1
Running Manjaro (new install this week, manjaro build for rockpro64, v21.12).  I do *not* have the wifi/bt card installed



I'm attempting to triage a different failure, but bluetooth messages are all over dmesg.  Since i don't plan on using BT at all, i'd just like to prevent whoever is writing that from loading:





Code:
$ dmesg
...
[  11.202048] Bluetooth: HCI UART driver ver 2.3
...
[  13.143625] Bluetooth: BNEP socket layer initialized
[  13.512037] Bluetooth: hci0: command 0x0c03 tx timeout

Code:
$ lsmod | grep -i hci
hci_uart              147456  0
btqca                  24576  1 hci_uart
btrtl                  24576  1 hci_uart
btbcm                  28672  1 hci_uart
btintel                45056  1 hci_uart
bluetooth            679936  13 btrtl,btqca,btintel,hci_uart,btbcm,bnep
Code:
$ journalctl -u bluetooth.service
-- Boot ec6359ece9924fb69d0a0fe601e1c991 --
Feb 16 20:30:54 mypc systemd[1]: Starting Bluetooth service...
Feb 16 20:30:54 mypc bluetoothd[612]: Bluetooth daemon 5.63
Feb 16 20:30:54 mypc systemd[1]: Started Bluetooth service.
Feb 16 20:30:54 mypc bluetoothd[612]: Starting SDP server
Feb 16 20:30:54 mypc bluetoothd[612]: Bluetooth management interface 1.21 initialized
Feb 16 21:08:10 mypc bluetoothd[612]: Terminating
Feb 16 21:08:10 mypc bluetoothd[612]: Stopping SDP server



what's the RIGHT way to disable this in manjaro?  Looks like there are several obvious modules I could blacklist, and the `systemd` service.  I'm new to Manjaro, looking for the "standard" / maintainable / stable over rolling upgrade way.  It also seems confusing to me that the `bluetooth` service isn't failing, or at least immediately exiting, given there is no HW present.



Thanks!

One of the reasons I'm asking how to do this correctly, rather than just blacklist (presumably would prevent these ringlog messages) or disable with systemctl, is that I'd like to understand the modules are loaded in the first place.

I'm no linux expert, but have been daily driving for some time.  My limited understanding would expect that (for the bluetooth/bt* modules to be loaded, they would have to be ONE of
  1. some HW present, which at kernel boot would be probed, and udev would later load the module based on HW id's (again, no HW connected AFAIK)
  2. have an explicit load in /etc/modules-load.d (I have zero files there)
  3. be an explicit kernel param in grub (nothing in /proc/cmdline)

Are there other ways that those modules would get loaded automatically at boot?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  A fix for Bluetooth audio stuttering on the RockPro64 raph 0 103 08-13-2022, 02:38 AM
Last Post: raph
  bullseye 11.3 WiFi drivers moserwi 0 465 03-28-2022, 02:01 PM
Last Post: moserwi
  CPU Fan Won’t Turn On in Manjaro publiclewdness 0 405 12-31-2021, 12:51 AM
Last Post: publiclewdness
  HBA Card working on Aufan's builds but not in debian, armbian or dietpi charsi 1 945 10-29-2021, 11:15 AM
Last Post: TRS-80
  Overlays not loading at boot - ROCKPRO64 on Armbian rookieone 0 708 09-28-2021, 04:10 AM
Last Post: rookieone
  Manjaro ARM - Built-in ethernet was broken with kernel 5.14.1-1 (over now) Dendrocalamus64 2 1,206 09-11-2021, 08:58 PM
Last Post: t4_4t
  WiFi not working with PCIe SSD installed mikeD 0 881 05-25-2021, 07:48 AM
Last Post: mikeD
  Power supply underpowered for Rockpro64, deficient PCIe SATA card, or something else? daffy 8 3,888 05-20-2021, 10:04 PM
Last Post: t4_4t
  Headphone jack issues Manjaro Mangled 2 1,746 03-06-2021, 11:01 PM
Last Post: Mangled
Thumbs Up First Manjaro Mainline build! Luke 10 11,570 10-20-2020, 04:29 AM
Last Post: vfr400racer

Forum Jump:


Users browsing this thread: 1 Guest(s)