Bluetooth only works occasionally - Intel AX200

Hi all,

Bluetooth has been working only occasionally, and usually does not function at all. I’m not sure what the cause is, but there is a weird error coming up in the systemctl status. Any thoughts?

Output of—
inxi --full --verbosity=7 --filter --no-host

System:    Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 
           wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Desktop Mobo: ASRock model: B450 Pro4 serial: <filter> UEFI-[Legacy]: American Megatrends v: P3.60 
           date: 07/31/2019 
Memory:    RAM: total: 46.99 GiB used: 3.36 GiB (7.1%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Info: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ rev: 2 cache: L2: 3 MiB bogomips: 81470 
           Speed: 2118 MHz min/max: 1550/3400 MHz boost: enabled Core speeds (MHz): 1: 2118 2: 1415 3: 1390 4: 1543 5: 1462 
           6: 1447 7: 1378 8: 1547 9: 1619 10: 1385 11: 1389 12: 1540 
           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 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 
Graphics:  Device-1: NVIDIA TU106 [GeForce RTX 2070] vendor: Gigabyte driver: nvidia v: 460.56 bus-ID: 09:00.0 
           chip-ID: 10de:1f02 class-ID: 0300 
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: nvidia resolution: 1: 1920x1080~60Hz 
           2: 1080x1920 s-dpi: 91 
           OpenGL: renderer: GeForce RTX 2070/PCIe/SSE2 v: 4.6.0 NVIDIA 460.56 direct render: Yes 
Audio:     Device-1: NVIDIA TU106 High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 09:00.1 
           chip-ID: 10de:10f9 class-ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASRock driver: snd_hda_intel v: kernel 
           bus-ID: 0b:00.3 chip-ID: 1022:1457 class-ID: 0403 
           Device-3: Microdia USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo bus-ID: 5-4.3:4 chip-ID: 0c45:6367 
           class-ID: 0102 serial: <filter> 
           Sound Server-1: ALSA v: k5.9.16-1-MANJARO running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.23 running: yes 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 05:00.0 chip-ID: 8086:2723 class-ID: 0280 
           IF: wlp5s0 state: down mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock driver: r8169 v: kernel port: d000 
           bus-ID: 08:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IP v4: <filter> type: dynamic noprefixroute scope: global broadcast: <filter> 
           IP v6: <filter> type: dynamic noprefixroute scope: global 
           IP v6: <filter> type: dynamic noprefixroute scope: global 
           IP v6: <filter> type: noprefixroute scope: link 
           WAN IP: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-8:2 chip-ID: 8087:0029 class-ID: e001 
           Report: ID: hci0 state: up address: <filter> 
Logical:   Message: No LVM data was found. 
RAID:      Message: No RAID data was found. 
Drives:    Local Storage: total: 4.1 TiB used: 1.08 TiB (26.3%) 
           ID-1: /dev/sda vendor: Gigabyte model: GP-GSTFS30512GTTD size: 476.94 GiB speed: 6.0 Gb/s rotation: SSD 
           serial: <filter> rev: 13.2 scheme: MBR 
           ID-2: /dev/sdb vendor: Western Digital model: WDS100T2B0A-00SM50 size: 931.51 GiB speed: 6.0 Gb/s rotation: SSD 
           serial: <filter> rev: 20WD scheme: MBR 
           ID-3: /dev/sdc vendor: Hitachi model: HUA723030ALA640 size: 2.73 TiB speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: A6L0 scheme: GPT 
           Message: No Optical or Floppy data was found. 
Partition: ID-1: / size: 915.89 GiB used: 225.59 GiB (24.6%) fs: ext4 dev: /dev/sdb1 label: N/A 
           uuid: 493b19f5-91ea-4c24-b3e3-90bff83c3544 
           ID-2: /run/media/macji/GEB size: 2.73 TiB used: 424.59 GiB (15.2%) fs: fuseblk dev: /dev/dm-0 mapped: bitlk-2082 
           label: N/A uuid: N/A 
           ID-3: /run/media/macji/IMN size: 475.88 GiB used: 456.08 GiB (95.8%) fs: ntfs dev: /dev/sda2 label: IMN 
           uuid: E4EC4AA7EC4A73B8 
           ID-4: /run/timeshift/backup raw-size: 931.51 GiB size: <superuser required> used: <superuser required> fs: ext4 
           dev: /dev/sdb1 label: N/A uuid: 493b19f5-91ea-4c24-b3e3-90bff83c3544 
Swap:      Alert: No Swap data was found. 
Unmounted: ID-1: /dev/sda1 size: 549 MiB fs: ntfs label: System Reserved uuid: 8A323BDA323BCA49 
           ID-2: /dev/sda3 size: 535 MiB fs: ntfs label: N/A uuid: AA6E9BAD6E9B70B5 
           ID-3: /dev/sdc1 size: 16 MiB fs: <superuser required> label: N/A uuid: N/A 
           ID-4: /dev/sdc2 size: 2.73 TiB fs: bitlocker label: N/A uuid: N/A 
USB:       Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
           Device-1: 1-8:2 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
           power: 100mA chip-ID: 8087:0029 class-ID: e001 
           Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 
           Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
           Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 
           Hub-5: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
           Hub-6: 5-4:2 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
           Device-1: 5-4.1:3 info: G.SKILL RIPJAWS KM570 RGB G.SKILL RIPJAWS KM570 RGB GAMING KEYBOARD 
           type: Keyboard,Mouse,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 100mA 
           chip-ID: 28da:1301 class-ID: 0300 
           Device-2: 5-4.3:4 info: Microdia USB 2.0 Camera type: Video,Audio driver: snd-usb-audio,uvcvideo interfaces: 4 
           rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0c45:6367 class-ID: 0102 serial: <filter> 
           Device-3: 5-4.4:5 info: Razer USA Naga 2014 type: Mouse,Keyboard driver: hid-generic,usbhid interfaces: 3 rev: 2.0 
           speed: 12 Mb/s power: 500mA chip-ID: 1532:0040 class-ID: 0300 
           Hub-7: 6-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:   System Temperatures: cpu: 36.8 C mobo: N/A gpu: nvidia temp: 49 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Info:      Processes: 329 Uptime: 7m wakeups: 1 Init: systemd v: 247 Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: 
           pacman: 1392 Shell: Bash v: 5.1.0 running-in: yakuake inxi: 3.3.03 

And of
sudo systemctl status bluetooth

bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2021-03-28 18:59:15 PDT; 53s ago
       Docs: man:bluetoothd(8)
   Main PID: 1026 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 57728)
     Memory: 2.2M
     CGroup: /system.slice/bluetooth.service
             └─1026 /usr/lib/bluetooth/bluetoothd

Mar 28 18:59:15 PSEUDO systemd[1]: Starting Bluetooth service...
Mar 28 18:59:15 PSEUDO bluetoothd[1026]: Bluetooth daemon 5.56
Mar 28 18:59:15 PSEUDO bluetoothd[1026]: src/main.c:check_config() Unknown group Controller in /etc/bluetooth/main.conf
Mar 28 18:59:15 PSEUDO systemd[1]: Started Bluetooth service.
Mar 28 18:59:15 PSEUDO bluetoothd[1026]: Starting SDP server
Mar 28 18:59:15 PSEUDO bluetoothd[1026]: Bluetooth management interface 1.18 initialized
Mar 28 18:59:28 PSEUDO bluetoothd[1026]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc
Mar 28 18:59:28 PSEUDO bluetoothd[1026]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc

This bolded line below is what seems odd to me, but nothing in the main.conf is leaping out. Any thoughts?

src/main.c:check_config() Unknown group Controller in /etc/bluetooth/main.conf

Try kernel 5.4. I also had bluetooth issue while using kernel 5.11. I always had to use this command to get bluetooth to function

sudo rfkill unblock bluetooth && sudo systemctl restart bluetooth

Finally I started to have issues with gaming as well and that was when I went back to kernel 5.4. Now bluetooth and gaming just works fine

This might be an issue with the kernel I guess. I hope it gets fixed soon.

Well, would you look at that. I’m afraid the command didn’t work for me, but I booted into the 5.4 kernel (I was using 5.9) and bluetooth powered right up just like that without any issue. Go figure! Thanks for the help sum1, I hope it gets figured out soon.

…which has been EOL (End Of Life) since December. You could also try 5.10 LTS or 5.11 stable. It’s good to have a few kernels installed to fall back on, anyway.

I have the AX200 and it’s been working fine lately on 5.11 with Pipewire.

Good to know! I always had 5.4 as a fallback, but I might just jump ahead to 5.11 and see how that works with my system. Is there anything else on 5.11 that I’m missing as compared to 5.4?

Yes, there’s quite a bit, actually. Too many things to list here. You can search Phoronix for kernel for highlights.

Thank you so much for the references and help!