System can't find the Bluetooth adapter, even with the ath9k driver installed

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MrDiamond
Level 1
Level 1
Posts: 3
Joined: Sat May 07, 2022 8:00 pm

System can't find the Bluetooth adapter, even with the ath9k driver installed

Post by MrDiamond »

Hi everyone,
I've made a fresh install of ltest Linux Mint SO, after installation, everything works perfectly, except the Bluetooth.
Wich is very strange, because the module is the same, a Qualcomm Atheros QCA9565 / AR9565.

I'm using a dual-boot, windows fast-boot is disabled, Bluetooth works perfectly on Windows.

Below, follow some infos:

Code: Select all

$ lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
04:00.0 3D controller: NVIDIA Corporation GK208BM [GeForce 920M] (rev a1)
04:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)

Code: Select all

$ dmesg | egrep -i 'blue|firm'
[    0.147214] DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x000000009d800000-0x000000009fffffff], contact BIOS vendor for fixes
[    0.147220] DMAR: [Firmware Bug]: Your BIOS is broken; bad RMRR [0x000000009d800000-0x000000009fffffff]
[    0.170539] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.237071] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    3.172750] ACPI: video: [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[    7.070589] Bluetooth: Core ver 2.22
[    7.070620] NET: Registered PF_BLUETOOTH protocol family
[    7.070623] Bluetooth: HCI device and connection manager initialized
[    7.070627] Bluetooth: HCI socket layer initialized
[    7.070630] Bluetooth: L2CAP socket layer initialized
[    7.070636] Bluetooth: SCO socket layer initialized
[   13.772394] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   13.772400] Bluetooth: BNEP filters: protocol multicast
[   13.772405] Bluetooth: BNEP socket layer initialized

Code: Select all

$ rfkill list
[    0.147214] DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x000000009d800000-0x000000009fffffff], contact BIOS vendor for fixes
[    0.147220] DMAR: [Firmware Bug]: Your BIOS is broken; bad RMRR [0x000000009d800000-0x000000009fffffff]
[    0.170539] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.237071] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    3.172750] ACPI: video: [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[    7.070589] Bluetooth: Core ver 2.22
[    7.070620] NET: Registered PF_BLUETOOTH protocol family
[    7.070623] Bluetooth: HCI device and connection manager initialized
[    7.070627] Bluetooth: HCI socket layer initialized
[    7.070630] Bluetooth: L2CAP socket layer initialized
[    7.070636] Bluetooth: SCO socket layer initialized
[   13.772394] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   13.772400] Bluetooth: BNEP filters: protocol multicast
[   13.772405] Bluetooth: BNEP socket layer initialized

Code: Select all

$ cat /etc/modprobe.d/ath9k.conf 
options ath9k btcoex_enable=1 bt_ant_diversity=1

Code: Select all

$ sudo blueman-manager
blueman-manager 22.12.24 ERROR    Manager:147 on_dbus_name_appeared: Default adapter not found, trying first available.
blueman-manager 22.12.24 ERROR    Manager:151 on_dbus_name_appeared: No adapter(s) found, exiting

Code: Select all

$  sudo modprobe ath9k && dmesg
[ 3414.474149] ath9k: ath9k: Driver unloaded
[ 3419.615753] ath: phy5: WB335 2-ANT card detected
[ 3419.615758] ath: phy5: Set BT/WLAN RX diversity capability
[ 3419.623882] ath: phy5: Enable LNA combining
[ 3419.625958] ath: phy5: ASPM enabled: 0x42
[ 3419.625963] ath: EEPROM regdomain: 0x6c
[ 3419.625964] ath: EEPROM indicates we should expect a direct regpair map
[ 3419.625966] ath: Country alpha2 being used: 00
[ 3419.625967] ath: Regpair used: 0x6c
[ 3419.626834] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[ 3419.639544] ath9k 0000:03:00.0 wlp3s0: renamed from wlan0
[ 3419.639795] ieee80211 phy5: Atheros AR9565 Rev:2 mem=0xffffa8bcc5a80000, irq=19
[ 3420.758834] wlp3s0: authenticate with 80:2a:a8:51:38:a9
[ 3420.758853] wlp3s0: bad VHT capabilities, disabling VHT
[ 3420.758856] wlp3s0: 80 MHz not supported, disabling VHT
[ 3420.781185] wlp3s0: send auth to 80:2a:a8:51:38:a9 (try 1/3)
[ 3420.784669] wlp3s0: authenticated
[ 3420.785311] wlp3s0: associate with 80:2a:a8:51:38:a9 (try 1/3)
[ 3420.792135] wlp3s0: RX AssocResp from 80:2a:a8:51:38:a9 (capab=0x421 status=0 aid=5)
[ 3420.792244] wlp3s0: associated
[ 3420.792589] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
Last edited by LockBot on Thu Sep 28, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
MrDiamond
Level 1
Level 1
Posts: 3
Joined: Sat May 07, 2022 8:00 pm

Re: System can't find the Bluetooth adapter, even with the ath9k driver installed

Post by MrDiamond »

Hi!!!
I've found the problem, I will share it with you guys the problem.

In my acer notebook, the system start a module called acer_wmi, that's, apparently, disables the Bluetooth in USB bus.

So, to fix the problem, it's required to put the acer_wmi in blacklist, create the btconfig.conf file:

Code: Select all

$ sudo nano /etc/modprobe.d/btconfig.conf
Put this line:

Code: Select all

blacklist acer_wmi
options ath9k btcoex_enable=1 bt_ant_diversity=1
Save the file, and reboot :D
Locked

Return to “Networking”