You are not logged in.

#1 2019-12-02 12:44:23

CommanderKronos
Member
Registered: 2019-12-02
Posts: 2

Acer Nitro 5 AN515-42-R9HE Bluetooth issues

I have an Acer Nitro 5 AN515-42-R9HE with a Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter that handles my Wi-Fi, but should also handle my bluetooth. When booting I try to start bluetoothctl as fast as possible. Which starts up with a recognized controller. But after half a minute or something. It deletes the controller entry. Note that while it does see the controller, commands like

power on

do not do anything.

lspci output

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X] (rev c0)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
03:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c4)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)

rfkill output

ID TYPE      DEVICE              SOFT      HARD
 0 wlan      acer-wireless  unblocked unblocked
 1 bluetooth acer-bluetooth unblocked unblocked
 3 wlan      phy0           unblocked unblocked

journalctl -u bluetooth output of the day of posting: Pastebin

output of sudo /usr/lib/bluetooth/bluetoothd -n -d: Pastebin

Somebody on the discord mentioned something about a kernel module called bt_coex and that my problem has something to do with wifi and bluetooth not wanting to coexist.

Offline

#2 2019-12-02 15:25:12

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 629

Re: Acer Nitro 5 AN515-42-R9HE Bluetooth issues

Offline

#3 2019-12-03 10:53:33

CommanderKronos
Member
Registered: 2019-12-02
Posts: 2

Re: Acer Nitro 5 AN515-42-R9HE Bluetooth issues

Thanks for your reply! I looked at the post, But unfortunately that didn't fix it for me. I do know it has something to do with a bluetooth module or something and that I need to do something with modprobe. But I'm not yet really experienced with that so I'm not making much progress.

Edit: With "something to do with a bluetooth module" I'm talking about a bluetooth module that doesn't want to coexist with wifi or the other way around. I have looked at https://wiki.archlinux.org/index.php/Ke … nformation to gather more information but so far it isn't helping me alot.

Results from lsmod | grep blue

bluetooth             675840  9 btrtl,btintel,btbcm,bnep,btusb
ecdh_generic           16384  1 bluetooth
rfkill                 28672  7 acer_wmi,bluetooth,cfg80211
crc16                  16384  2 bluetooth,ext4

results from systool -v -m bluetooth

Module = "bluetooth"

  Attributes:
    coresize            = "675840"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "9"
    srcversion          = "98DC64649AFD9E6E1682877"
    taint               = ""
    uevent              = <store method only>
    version             = "2.22"

  Parameters:
    disable_ertm        = "N"
    disable_esco        = "N"

  Sections:

Should I be able to change one of those parameters? I checked https://en.wikipedia.org/wiki/List_of_B … _protocols for some more information about those params but it isn't helping me alot.


EDIT 2:
Upon changing some params of the btusb module, it worked again. I have no explanation for why it works. But it works now.
systool -v -m btusb

Module = "btusb"

  Attributes:
    coresize            = "65536"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    srcversion          = "5D1E012321A36C173FC69AD"
    taint               = ""
    uevent              = <store method only>
    version             = "0.8"

  Parameters:
    disable_scofix      = "Y"
    enable_autosuspend  = "N"
    force_scofix        = "N"
    reset               = "Y"

  Sections: 

So the steps that fixed this issue for me were:

sudo modprobe btusb enable_autosuspend=N
sudo modprobe btusb disable_scofix=Y
sudo modprobe btusb reset=Y
reboot

My bluetooth has now been working as intended. I'm not sure if I can/will mark this post as solved seeing as I still don't have an explanation for this.

Last edited by CommanderKronos (2019-12-04 07:16:52)

Offline

Board footer

Powered by FluxBB