Odd bluetooth issue, dual-booting with Windows

Hello,
I have recently made the full dive and installed Manjaro as my daily driver OS and have been quite pleased with the change so far. Manjaro is installed on its own SSD in my desktop with a dual-boot option for Windows on another drive. I have an odd issue with the bluetooth adapter in my system not being detected or enabled correctly on a cold boot or normal restart from Linux. However if I boot into my old Windows install the bluetooth is working / detected. If I then restart from Windows and boot directly into Manjaro the bluetooth adapter will magically work… until I shutdown/reboot the system again.

I have a Gigabyte GA-Z370X-Gaming 5 motherboard that has an integrated Wifi and bluetooth combo card. If my google-fu was correct this is an “Intel Dual Band Wireless-AC 3165” card. I read a post with a very similar sounding issue that was resolved by a driver/firmware update. I tried installing the latest drivers directly from Intel on Windows (to hopefully update the cards firmware) but no changes for me. My systems BIOS is up to date.

  Kernel: 5.15.2-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
  root=UUID=ccc24a42-826a-44c9-8c68-b785d760dd90 rw quiet
  resume=UUID=364f8a8c-f233-48d0-94c7-a71959bc5d1e udev.log_priority=3
  Desktop: KDE Plasma 5.23.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
  Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: Z370 AORUS Gaming 5 v: N/A
  serial: <superuser required>
  Mobo: Gigabyte model: Z370 AORUS Gaming 5-CF v: x.x
  serial: <superuser required> UEFI: American Megatrends v: F15a
  date: 11/28/2019
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.56 GiB used: 4.01 GiB (25.8%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: 6-Core model: Intel Core i7-8700K bits: 64 type: MT MCP
  arch: Kaby Lake note: check family: 6 model-id: 9E (158) stepping: A (10)
  microcode: EA cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB bogomips: 88824
  Speed: 4318 MHz min/max: 800/4700 MHz Core speeds (MHz): 1: 4318 2: 4436
  3: 4405 4: 4396 5: 4406 6: 4423 7: 4371 8: 4366 9: 4400 10: 4401 11: 4400
  12: 4400
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est f16c
  flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window hwp_epp
  hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm mca mce
  md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
  pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand
  rdseed rdtscp rep_good sdbg sep smap smep smx ss ssbd sse sse2 sse4_1 sse4_2
  ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme
  vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  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: Full generic retpoline, IBPB: conditional,
  IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Gigabyte driver: nvidia
  v: 495.44 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1b81
  class-ID: 0300
  Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver:
  loaded: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1200 s-dpi: 93 s-size: 1049x321mm (41.3x12.6")
  s-diag: 1097mm (43.2")
  Monitor-1: DP-3 res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8")
  diag: 611mm (24.1")
  Monitor-2: DP-5 res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8")
  diag: 611mm (24.1")
  OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 495.44
  direct render: Yes
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte
  driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a2f0
  class-ID: 0403
  Device-2: NVIDIA GP104 High Definition Audio vendor: Gigabyte
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:10f0
  class-ID: 0403
  Sound Server-1: ALSA v: k5.15.2-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: kernel
  port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: noprefixroute scope: global broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Wireless 3165 driver: iwlwifi v: kernel bus-ID: 09:00.0
  chip-ID: 8086:3165 class-ID: 0280
  IF: wlp9s0 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
  bus-ID: 1-2:2 chip-ID: 8087:0a2a class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 2.48 TiB used: 143.73 GiB (5.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:6 vendor: Samsung model: SSD 960 EVO 1TB
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
  lanes: 4 type: SSD serial: <filter> rev: 3B7QCXE7 temp: 36.9 C scheme: MBR
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Intel model: SSDPEKKW512G7
  size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
  lanes: 4 type: SSD serial: <filter> rev: PSF100C temp: 40.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Intel model: SSDSC2KB960G8
  size: 894.25 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
  type: SSD serial: <filter> rev: 0110 scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 850 EVO 250GB
  size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
  type: SSD serial: <filter> rev: 1B6Q scheme: GPT
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GH24NS95 rev: RN01
  dev-links: cdrom
  Features: speed: 12 multisession: yes audio: yes dvd: yes
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
  Optical-2: /dev/sr1 vendor: HL-DT-ST model: BD-RE WH14NS40 rev: 1.00
  dev-links: N/A
  Features: speed: 48 multisession: yes audio: yes dvd: yes
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 223.79 GiB size: 219.22 GiB (97.96%)
  used: 19.99 GiB (9.1%) fs: ext4 dev: /dev/sdb2 maj-min: 8:18 label: N/A
  uuid: ccc24a42-826a-44c9-8c68-b785d760dd90
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
  used: 292 KiB (0.1%) fs: vfat dev: /dev/sdb1 maj-min: 8:17 label: NO_LABEL
  uuid: B8BD-FE58
  ID-3: /run/media/nimrod/Games raw-size: 931.51 GiB size: 915.81 GiB (98.31%)
  used: 123.7 GiB (13.5%) fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:7
  label: Games uuid: 81d26fa7-87aa-4c43-86ec-a7ccc6eee8c8
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 46.8 MiB (0.5%)
  priority: -2 dev: /dev/sdb3 maj-min: 8:19 label: swap
  uuid: 364f8a8c-f233-48d0-94c7-a71959bc5d1e
Unmounted:
  ID-1: /dev/nvme1n1p1 maj-min: 259:1 size: 499 MiB fs: ntfs label: N/A
  uuid: F834E51C34E4DE9E
  ID-2: /dev/nvme1n1p2 maj-min: 259:2 size: 99 MiB fs: vfat label: N/A
  uuid: 086E-A4B4
  ID-3: /dev/nvme1n1p3 maj-min: 259:3 size: 16 MiB fs: <superuser required>
  label: N/A uuid: N/A
  ID-4: /dev/nvme1n1p4 maj-min: 259:4 size: 475.8 GiB fs: ntfs label: N/A
  uuid: C8A673E6A673D382
  ID-5: /dev/nvme1n1p5 maj-min: 259:5 size: 553 MiB fs: ntfs label: N/A
  uuid: 66CA6596CA656373
  ID-6: /dev/sda1 maj-min: 8:1 size: 16 MiB fs: <superuser required>
  label: N/A uuid: N/A
  ID-7: /dev/sda2 maj-min: 8:2 size: 894.24 GiB fs: exfat label: Data
  uuid: D0C2-1E84
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Intel Bluetooth wireless interface type: Bluetooth
  driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
  chip-ID: 8087:0a2a class-ID: e001
  Device-2: 1-13:3 info: Logitech G502 SE HERO Gaming Mouse type: Mouse,HID
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
  power: 300mA chip-ID: 046d:c08b class-ID: 0300 serial: <filter>
  Device-3: 1-14:4 info: Corsair CORSAIR K68 RGB Mechanical Gaming Keyboard
  type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
  speed: 12 Mb/s power: 500mA chip-ID: 1b1c:1b4f class-ID: 0300
  serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 10 rev: 3.0 speed: 5 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900

systemctl status bluetooth shows the service is running normally:

     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2021-11-28 15:45:36 MST; 3h 24min ago
       Docs: man:bluetoothd(8)
   Main PID: 874 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 19102)
     Memory: 2.1M
        CPU: 10ms
     CGroup: /system.slice/bluetooth.service
             └─874 /usr/lib/bluetooth/bluetoothd

The bluetooth menu shows “No adapters available” and bluetoothctl commands give the error “No default controller available”. The wifi connection works normally, although I am not using it. There are no rfkill blocks on the bluetooth.

Not sure what could cause this or what to try next. Thanks alot for your time and help!

Well… I suppose this can be considered solved since I have found a workaround. I installed the LTS kernel 5.10.79-1 and the more recent kernel 5.14.18-1. My bluetooth issue does not exist when cold-booting or restarting into either of these two older kernels. However if I go back to using the most recent kernel (5.15.2-2 at time of writing) the onboard bluetooth fails to work again. This definitely seems to be an issue introduced with some recent changes to the Linux kernel and will hopefully be resolved in the near future.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.