Skip to contentSkip to conversation

simple fix for missing rtl8821a config file

PATCH maximilian attems 2 participants 2 messages Apr 8, 2021 – Apr 19, 2021

lore
Share & tools
lore
#0 lore raw

Please pull from main for single commit

gitolite.kernel.org:pub/scm/linux/kernel/git/maks/linux-firmware.git

with minimal fix concerning the aformentioned rtl8821a bug:
https://lore.kernel.org/linux-firmware/[email protected]/T/#u

From 4374e10e2605957f7b1ae711c665914e70853a46 Mon Sep 17 00:00:00 2001
From: maximilian attems <[email protected]>
Date: Sun, 14 Mar 2021 17:46:46 +0100
Subject: [PATCH] WHENCE: link to similar config file for rtl8821a support

linux-firmware ships no config file for rtl8821a, as it seems quite similar to rtl8821c add symlink to that config file see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1784835
(Maintainers may replace with proper file).

-- error

[    2.574742] Bluetooth: hci0: rtl: loading rtl_bt/rtl8821a_config.bin
[    2.575137] bluetooth hci0: firmware: failed to load
rtl_bt/rtl8821a_config.bin (-2)
[    2.575143] bluetooth hci0: Direct firmware load for
rtl_bt/rtl8821a_config.bin failed with error -2
[    2.575145] Bluetooth: hci0: Failed to load rtl_bt/rtl8821a_config.bin

--

-- with config file

[   26.389532] Bluetooth: hci0: RTL: rtl: examining hci_ver=06

hci_rev=000a lmp_ver=06 lmp_subver=8821

[   26.390623] Bluetooth: hci0: RTL: rom_version status=0 version=1
[   26.390624] Bluetooth: hci0: RTL: rtl: loading rtl_bt/rtl8821a_fw.bin
[   26.392597] bluetooth hci0: firmware: direct-loading firmware
rtl_bt/rtl8821a_fw.bin
[   26.392605] Bluetooth: hci0: RTL: rtl: loading rtl_bt/rtl8821a_config.bin
[   26.392748] bluetooth hci0: firmware: direct-loading firmware
rtl_bt/rtl8821a_config.bin
[   26.392757] Bluetooth: hci0: RTL: cfg_sz 10, total sz 17438

--

---
 WHENCE | 1 +
 1 file changed, 1 insertion(+)
WHENCE +1 -0
index f279af1..ea89177 100644
@@ -3680,6 +3680,7 @@ File: rtl_bt/rtl8723bs_config-OBDA8723.bin
 File: rtl_bt/rtl8761a_fw.bin
 File: rtl_bt/rtl8812ae_fw.bin
 File: rtl_bt/rtl8821a_fw.bin
+Link: rtl_bt/rtl8821a_config.bin -> rtl8821c_config.bin
 File: rtl_bt/rtl8822b_fw.bin
 File: rtl_bt/rtl8822b_config.bin
 File: rtl_bt/rtl8723d_fw.bin
Signature · 1 line
2.30.2
#1 lore raw

Pulled and pushed out.

josh

Quoted 72 lines · maximilian attems

Please pull from main for single commit

gitolite.kernel.org:pub/scm/linux/kernel/git/maks/linux-firmware.git

with minimal fix concerning the aformentioned rtl8821a bug:
https://lore.kernel.org/linux-firmware/[email protected]/T/#u

From 4374e10e2605957f7b1ae711c665914e70853a46 Mon Sep 17 00:00:00 2001
From: maximilian attems <[email protected]>
Date: Sun, 14 Mar 2021 17:46:46 +0100
Subject: [PATCH] WHENCE: link to similar config file for rtl8821a support

linux-firmware ships no config file for rtl8821a, as it seems quite similar to rtl8821c add symlink to that config file see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1784835
(Maintainers may replace with proper file).

-- error

[    2.574742] Bluetooth: hci0: rtl: loading rtl_bt/rtl8821a_config.bin
[    2.575137] bluetooth hci0: firmware: failed to load
rtl_bt/rtl8821a_config.bin (-2)
[    2.575143] bluetooth hci0: Direct firmware load for
rtl_bt/rtl8821a_config.bin failed with error -2
[    2.575145] Bluetooth: hci0: Failed to load rtl_bt/rtl8821a_config.bin

--

-- with config file

[   26.389532] Bluetooth: hci0: RTL: rtl: examining hci_ver=06

hci_rev=000a lmp_ver=06 lmp_subver=8821

[   26.390623] Bluetooth: hci0: RTL: rom_version status=0 version=1
[   26.390624] Bluetooth: hci0: RTL: rtl: loading rtl_bt/rtl8821a_fw.bin
[   26.392597] bluetooth hci0: firmware: direct-loading firmware
rtl_bt/rtl8821a_fw.bin
[   26.392605] Bluetooth: hci0: RTL: rtl: loading rtl_bt/rtl8821a_config.bin
[   26.392748] bluetooth hci0: firmware: direct-loading firmware
rtl_bt/rtl8821a_config.bin
[   26.392757] Bluetooth: hci0: RTL: cfg_sz 10, total sz 17438

--

---
 WHENCE | 1 +
 1 file changed, 1 insertion(+)
WHENCE +1 -1
index f279af1..ea89177 100644
@@ -3680,6 +3680,7 @@ File: rtl_bt/rtl8723bs_config-OBDA8723.bin
 File: rtl_bt/rtl8761a_fw.bin
 File: rtl_bt/rtl8812ae_fw.bin
 File: rtl_bt/rtl8821a_fw.bin
+Link: rtl_bt/rtl8821a_config.bin -> rtl8821c_config.bin
 File: rtl_bt/rtl8822b_fw.bin
 File: rtl_bt/rtl8822b_config.bin
 File: rtl_bt/rtl8723d_fw.bin
--

2.30.2