FS#69176 - 5.10.3 breaks ath9k bluetooth

Attached to Project: Arch Linux
Opened by Alexey (axp) - Saturday, 02 January 2021, 07:36 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 28 July 2021, 11:51 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:

After updating kernel from 5.9.14 to 5.10.3 bluetooth stopped working.

in journal I see:
```
Jan 01 23:03:55 WARP kernel: Bluetooth: Core ver 2.22
Jan 01 23:03:55 WARP kernel: NET: Registered protocol family 31
Jan 01 23:03:55 WARP kernel: Bluetooth: HCI device and connection manager initialized
Jan 01 23:03:55 WARP kernel: Bluetooth: HCI socket layer initialized
Jan 01 23:03:55 WARP kernel: Bluetooth: L2CAP socket layer initialized
Jan 01 23:03:55 WARP kernel: Bluetooth: SCO socket layer initialized
Jan 01 23:03:55 WARP kernel: usbcore: registered new interface driver snd-usb-audio
Jan 01 23:03:55 WARP kernel: usbcore: registered new interface driver btusb
Jan 01 23:03:55 WARP kernel: Bluetooth: hci0: don't support firmware rome 0x11020000
```

Downgrading to 5.9.14 solves the problem.
5.10.4 from testing has same problem.

device: Qualcomm Atheros AR9462 (ath9k)

Steps to reproduce:
- upgrade kernel to 5.10.3/4
- modprobe btusb

Steps to fix:
- downgrade kernel to 5.9.14

Looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1568911 (fixed 2 years ago)
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 28 July 2021, 11:51 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Saturday, 02 January 2021, 11:53 GMT
 FS#69110 
Comment by Rafael Castillo (jrch2k10) - Sunday, 03 January 2021, 19:13 GMT
I can confirm this as well

04:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
Bus 003 Device 003: ID 0cf3:3004 Qualcomm Atheros Communications AR3012 Bluetooth 4.0

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

bluetoothctl
Agent registered
[bluetooth]# list
[bluetooth]#

Steps to fix:
- downgrade kernel to 5.9.14 or LTS version

Comment by karamba (vic3apex) - Wednesday, 06 January 2021, 18:57 GMT
The same issue with my Qualcomm Atheros AR9462.
It stopped working on kernel 5.10.x
Downgrading the kernel to 5.9.14 makes it work again.
Comment by Soc Virnyl S. Estela (renegan_ronin) - Friday, 08 January 2021, 08:51 GMT
The same issue with my Atheros AR9565.
It also stopped working on 5.10.x so I also downgraded to the LTS kernel.
This is what happened when I used the latest kernel.
```
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2021-01-08 16:37:29 PST; 13min ago
Docs: man:bluetoothd(8)
Main PID: 424 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4559)
Memory: 2.5M
CGroup: /system.slice/bluetooth.service
└─424 /usr/lib/bluetooth/bluetoothd

Jan 08 16:37:29 sentient-slate bluetoothd[424]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalConnect” in group “Controller”
Jan 08 16:37:29 sentient-slate bluetoothd[424]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowConnect” in group “Controller”
Jan 08 16:37:29 sentient-slate bluetoothd[424]: src/main.c:parse_controller_config() Key file does not have key “LEMinConnectionInterval” in group “Controller”
Jan 08 16:37:29 sentient-slate bluetoothd[424]: src/main.c:parse_controller_config() Key file does not have key “LEMaxConnectionInterval” in group “Controller”
Jan 08 16:37:29 sentient-slate systemd[1]: Started Bluetooth service.
Jan 08 16:37:29 sentient-slate bluetoothd[424]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionLatency” in group “Controller”
Jan 08 16:37:29 sentient-slate bluetoothd[424]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionSupervisionTimeout” in group “Controller”
Jan 08 16:37:29 sentient-slate bluetoothd[424]: src/main.c:parse_controller_config() Key file does not have key “LEAutoconnecttimeout” in group “Controller”
Jan 08 16:37:29 sentient-slate bluetoothd[424]: Starting SDP server
Jan 08 16:37:29 sentient-slate bluetoothd[424]: Bluetooth management interface 1.18 initialized
```
Comment by Ondřej Hruška (MightyPork) - Thursday, 21 January 2021, 11:00 GMT
Similar issue with 5.10.9 and integrated "Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)", now trying if switch to LTS helps.. EDIT: works OK with lts

[ 17.136317] Bluetooth: Core ver 2.22
[ 17.136331] Bluetooth: HCI device and connection manager initialized
[ 17.136333] Bluetooth: HCI socket layer initialized
[ 17.136335] Bluetooth: L2CAP socket layer initialized
[ 17.136337] Bluetooth: SCO socket layer initialized
[ 17.223570] Bluetooth: hci0: don't support firmware rome 0x31010100
[ 17.433426] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 17.433428] Bluetooth: BNEP filters: protocol multicast
[ 17.433431] Bluetooth: BNEP socket layer initialized

Here is the Kernel upstream bug: https://bugzilla.kernel.org/show_bug.cgi?id=210681
Comment by Fabio Ricardo Lopes de Souza (FabioRLSouza) - Thursday, 18 February 2021, 16:05 GMT
Just tried to update from 5.4.95-1-lts to 5.10.17-lts and it breaks the bluetooth on my Acer Aspire F5-573G-519X as well.
Comment by Alexey (axp) - Monday, 22 February 2021, 21:18 GMT
Not sure if it is possible to add patches to arch's kernel as it is done to fedora's
Here is the fix: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=234f414efd1164786269849b4fbb533d6c9cdbbf
Comment by loqs (loqs) - Monday, 22 February 2021, 22:09 GMT
@axp it already has been for the linux package see  FS#69110  [1]. linux-lts generally does not add patches.

[1] https://bugs.archlinux.org/task/69110#comment196798
Comment by loqs (loqs) - Friday, 05 March 2021, 23:13 GMT
Commit was backported to 5.10.19 as d63699364fa3c5f8a081b26f7c111888944f0f14 [1]

@axp can you confirm the issue has been fixed?

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/bluetooth/btusb.c?id=d63699364fa3c5f8a081b26f7c111888944f0f14
Comment by Alexey (axp) - Wednesday, 28 July 2021, 05:58 GMT
@logs yes, I can confirm, issue has been fixed

Loading...