Bluetooth never works on boot

… However the bluetooth.service is enabled and running

Bluetooth works, but seems to be a bit strange and unreliable on KDE. On every boot, before devices can be connected or paired, the bluetooth dongle needs to be unplugged / plugged into the USB port - after which bluetooth works. Before that - nothing.

Any ideas how to fix something like this so that bluetooth can always reliably be usable on boot?

A secondary issue is that every now and then it seems impossible to connect bluetooth devices again. Unplugging / replugging the bluetooth dongle seems to be the only way to fix it.

I don’t have a lot of experience troubleshooting bluetooth issues so not entirely sure what kind of diagnostic information would be helpful in this case.

inxi --admin --verbosity=7 --filter --no-host --width output below:

System:
  Kernel: 5.15.55-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/ROOT/root@/boot/vmlinuz-5.15-x86_64
    root=ZFS=Hummingbird-ZFS/ROOT/root rw quiet udev.log_priority=3
  Console: pty pts/1 DM: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX B450-E GAMING v: Rev 1.xx
    serial: <filter> UEFI: American Megatrends v: 0202 date: 09/14/2018
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.55 GiB used: 6.66 GiB (42.8%)
  Array-1: capacity: 256 GiB note: check slots: 4 EC: None
    max-module-size: 64 GiB note: est.
  Device-1: DIMM_A1 type: no module installed
  Device-2: DIMM_A2 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 8 GiB speed: spec: 3200 MT/s actual: 1600 MT/s volts: curr: 1.2
    min: 1.2 max: 1.2 width (bits): data: 64 total: 64 manufacturer: G.Skill
    part-no: F4-3200C16-8GTZR serial: N/A
  Device-3: DIMM_B1 type: no module installed
  Device-4: DIMM_B2 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 8 GiB speed: spec: 3200 MT/s actual: 1600 MT/s volts: curr: 1.2
    min: 1.2 max: 1.2 width (bits): data: 64 total: 64 manufacturer: G.Skill
    part-no: F4-3200C16-8GTZR serial: N/A
CPU:
  Info: model: AMD Ryzen 7 1800X socket: AM4 bits: 64 type: MT MCP arch: Zen
    built: 2017-19 process: GF 14nm family: 0x17 (23) model-id: 1 stepping: 1
    microcode: 0x8001137
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 768 KiB desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 2200 min/max: 2200/3600 boost: enabled
    base/boost: 3600/4100 scaling: driver: acpi-cpufreq governor: schedutil
    volts: 1.4 V ext-clock: 100 MHz cores: 1: 2200 2: 2200 3: 2200 4: 2200
    5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200
    13: 2200 14: 2200 15: 2200 16: 2200 bogomips: 115023
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid
    cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
    fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm
    mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc
    nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse
    pse36 rapl rdrand rdseed rdtscp rep_good sep sev sha_ni skinit smap smca
    sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock
    syscall tce topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme
    vmmcall wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN 4 process: GF 14nm
    built: 2016-20 pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 3
    speed: 8 GT/s lanes: 16 ports: active: HDMI-A-2
    empty: DP-1, DP-2, DVI-D-1, HDMI-A-1 bus-ID: 09:00.0 chip-ID: 1002:67df
    class-ID: 0300
  Device-2: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-5:4 chip-ID: 046d:082d
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.4 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa gpu: amdgpu
    tty: 282x72
  Monitor-1: HDMI-A-2 model: Dell U2715H serial: <filter> built: 2018
    res: 2560x1440 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Message: GL data unavailable in console for root.
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: ASUSTeK driver: snd_hda_intel bus-ID: 1-5:4 v: kernel pcie:
    chip-ID: 046d:082d class-ID: 0102 gen: 1 speed: 2.5 GT/s serial: <filter>
    lanes: 8 link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 09:00.1
    chip-ID: 1002:aaf0 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 0c:00.3
    chip-ID: 1022:1457 class-ID: 0403
  Device-3: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo
  Sound Server-1: ALSA v: k5.15.55-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-3:7 chip-ID: 0bda:8771 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Device-1: Hummingbird-ZFS type: zfs status: ONLINE level: linear raw:
    size: 912 GiB free: 818 GiB allocated: 94.5 GiB zfs-fs: size: 883.75 GiB
    free: 789.27 GiB
  Components: Online:
  1: nvme0n1p2 maj-min: 259:2 size: 915 GiB
Drives:
  Local Storage: total: raw: 1.36 TiB usable: 2.22 TiB
    used: 429.02 GiB (18.8%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WD BLACK SN750 SE 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 711240WD temp: 40.9 C scheme: GPT
  SMART: yes health: PASSED on: 1 hrs cycles: 44
    read-units: 317,237 [162 GB] written-units: 518,904 [265 GB]
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WDS500G2B0A-00SM50 family: WD Blue / Red / Green SSDs
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B sata: 3.3
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 00WD temp: 33 C
    scheme: GPT
  SMART: yes state: enabled health: PASSED on: 1y 306d 18h cycles: 1241
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: N/A size: 797.65 GiB used: 8.37 GiB (1.0%) fs: zfs
    logical: Hummingbird-ZFS/ROOT/root
  ID-2: /boot raw-size: 512 MiB size: 511 MiB (99.80%) used: 236 KiB (0.0%)
    fs: vfat block-size: 512 B dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: EB41-C736
  ID-3: /home raw-size: N/A size: 872.77 GiB used: 83.5 GiB (9.6%) fs: zfs
    logical: Hummingbird-ZFS/DATA/home
  ID-4: /mnt/mediasnek raw-size: N/A size: 14.05 TiB used: 9.41 TiB (67.0%)
    fs: cifs dev: /dev/mediasnek2
  ID-5: /mnt/windows raw-size: 465.16 GiB size: 465.16 GiB (100.00%)
    used: 337.15 GiB (72.5%) fs: ntfs block-size: 4096 B dev: /dev/sda4
    maj-min: 8:4 label: N/A uuid: 086E178A6E177024
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A
    uuid: e52110b0-7c72-4b0c-94cd-fb7056cd4e51
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 499 MiB fs: ntfs label: N/A
    uuid: 50C2BACCC2BAB616
  ID-2: /dev/sda2 maj-min: 8:2 size: 100 MiB fs: vfat label: N/A
    uuid: 9A15-A836
  ID-3: /dev/sda3 maj-min: 8:3 size: 16 MiB fs: N/A label: N/A uuid: N/A
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Logitech G102/G203 LIGHTSYNC Gaming Mouse
    type: Mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 300mA chip-ID: 046d:c092 class-ID: 0300
    serial: <filter>
  Device-2: 1-3:7 info: Realtek Bluetooth Radio type: Bluetooth
    driver: btusb interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 500mA
    chip-ID: 0bda:8771 class-ID: e001 serial: <filter>
  Device-3: 1-5:4 info: Logitech HD Pro Webcam C920 type: Video,Audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  Device-4: 1-6:5 info: Logitech Unifying Receiver type: Keyboard,Mouse
    driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 98mA chip-ID: 046d:c534 class-ID: 0301
  Device-5: 1-8:6 info: ASUSTek AURA MOTHERBOARD type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 0b05:18a3 class-ID: 0300 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-2:2
    info: Corsair K70 RGB MK.2 LOW PROFILE Mechanical Gaming Keyboard
    type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 500mA chip-ID: 1b1c:1b55 class-ID: 0300
    serial: <filter>
  Device-2: 3-3:3 info: Canon PIXMA MP280 type: Printer driver: usblp
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 2mA chip-ID: 04a9:1746
    class-ID: 0701 serial: <filter>
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 40.9 C mobo: N/A gpu: amdgpu temp: 41.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1409
Info:
  Processes: 451 Uptime: 8h 30m wakeups: 0 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6
  Packages: pacman: 1367 lib: 440 Shell: Bash v: 5.1.16
  running-in: pty pts/1 (SSH) inxi: 3.3.19

install “bluetooth-autoconnect” package from aur

@Olli Installed and enabled for both cases, as recommended:

  • systemctl enable bluetooth-autoconnect
  • systemctl --user enable pulseaudio-bluetooth-autoconnect

But the problem persists - on boot, bluetooth is inaccessible, until you unplug/replug the USB bluetooth dongle.

good morning (at least it’s here),

may you post the output of the inxi-command described below. that will help all others to assist you, because we need a first overview. there are a lot of possible things that can cause this behaviour but the inxi output is a good start

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    [HowTo] Provide System Information
    and press the three dots below your post and press the :pencil2: to give us more information so we can see what’s really going on.
    Now we know the symptom of the disease, but we need some more probing to know where the origin lies… :grin:
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

:+1:

Edited my main post with the inxi output. Please let me know if there’s any other diagnostic info I can provide!

The issue with bluetooth not working on boot is still there, but a host of other problems have been fixed by switching from PulseAudio to PipeWire:

  • BT headset controls not working
  • auto-pause when BT headset is removed from the ear not working
  • connection sometimes not working for any device (keyboard/headset)