2021-05-28 17:19:32

by Joakim Tjernlund

[permalink] [raw]
Subject: [PATCH 1/2] Bluetooth: btrtl: rename USB fw for RTL8761

From: Joakim Tjernlund <[email protected]>

According Realteks own BT drivers firmware RTL8761B is for UART
and RTL8761BU is for USB.

Change existing 8761B to UART and add an 8761BU entry for USB

Signed-off-by: Joakim Tjernlund <[email protected]>
Cc: [email protected]
---
drivers/bluetooth/btrtl.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
index e7fe5fb22753..ccef8b2cfee2 100644
--- a/drivers/bluetooth/btrtl.c
+++ b/drivers/bluetooth/btrtl.c
@@ -132,12 +132,19 @@ static const struct id_table ic_id_table[] = {
.cfg_name = "rtl_bt/rtl8761a_config" },

/* 8761B */
- { IC_INFO(RTL_ROM_LMP_8761A, 0xb, 0xa, HCI_USB),
+ { IC_INFO(RTL_ROM_LMP_8761A, 0xb, 0xa, HCI_UART),
.config_needed = false,
.has_rom_version = true,
.fw_name = "rtl_bt/rtl8761b_fw.bin",
.cfg_name = "rtl_bt/rtl8761b_config" },

+ /* 8761BU */
+ { IC_INFO(RTL_ROM_LMP_8761A, 0xb, 0xa, HCI_USB),
+ .config_needed = false,
+ .has_rom_version = true,
+ .fw_name = "rtl_bt/rtl8761bu_fw.bin",
+ .cfg_name = "rtl_bt/rtl8761bu_config" },
+
/* 8822C with UART interface */
{ IC_INFO(RTL_ROM_LMP_8822B, 0xc, 0xa, HCI_UART),
.config_needed = true,
--
2.31.1


2021-05-28 18:36:18

by bluez.test.bot

[permalink] [raw]
Subject: RE: [1/2] Bluetooth: btrtl: rename USB fw for RTL8761

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=490347

---Test result---

Test Summary:
CheckPatch PASS 0.90 seconds
GitLint FAIL 0.25 seconds
BuildKernel PASS 555.99 seconds
TestRunner: Setup PASS 358.17 seconds
TestRunner: l2cap-tester PASS 2.76 seconds
TestRunner: bnep-tester PASS 2.07 seconds
TestRunner: mgmt-tester PASS 27.90 seconds
TestRunner: rfcomm-tester PASS 2.18 seconds
TestRunner: sco-tester PASS 2.08 seconds
TestRunner: smp-tester PASS 2.18 seconds
TestRunner: userchan-tester PASS 1.94 seconds

Details
##############################
Test: CheckPatch - PASS - 0.90 seconds
Run checkpatch.pl script with rule in .checkpatch.conf


##############################
Test: GitLint - FAIL - 0.25 seconds
Run gitlint with rule in .gitlint
Bluetooth: btusb: Add 0x0b05:0x190e Realtek 8761BU (ASUS BT500) device.
1: T3 Title has trailing punctuation (.): "Bluetooth: btusb: Add 0x0b05:0x190e Realtek 8761BU (ASUS BT500) device."


##############################
Test: BuildKernel - PASS - 555.99 seconds
Build Kernel with minimal configuration supports Bluetooth


##############################
Test: TestRunner: Setup - PASS - 358.17 seconds
Setup environment for running Test Runner


##############################
Test: TestRunner: l2cap-tester - PASS - 2.76 seconds
Run test-runner with l2cap-tester
Total: 40, Passed: 40 (100.0%), Failed: 0, Not Run: 0

##############################
Test: TestRunner: bnep-tester - PASS - 2.07 seconds
Run test-runner with bnep-tester
Total: 1, Passed: 1 (100.0%), Failed: 0, Not Run: 0

##############################
Test: TestRunner: mgmt-tester - PASS - 27.90 seconds
Run test-runner with mgmt-tester
Total: 433, Passed: 418 (96.5%), Failed: 0, Not Run: 15

##############################
Test: TestRunner: rfcomm-tester - PASS - 2.18 seconds
Run test-runner with rfcomm-tester
Total: 9, Passed: 9 (100.0%), Failed: 0, Not Run: 0

##############################
Test: TestRunner: sco-tester - PASS - 2.08 seconds
Run test-runner with sco-tester
Total: 8, Passed: 8 (100.0%), Failed: 0, Not Run: 0

##############################
Test: TestRunner: smp-tester - PASS - 2.18 seconds
Run test-runner with smp-tester
Total: 8, Passed: 8 (100.0%), Failed: 0, Not Run: 0

##############################
Test: TestRunner: userchan-tester - PASS - 1.94 seconds
Run test-runner with userchan-tester
Total: 3, Passed: 3 (100.0%), Failed: 0, Not Run: 0



---
Regards,
Linux Bluetooth


Attachments:
l2cap-tester.log (43.31 kB)
bnep-tester.log (3.47 kB)
mgmt-tester.log (554.63 kB)
rfcomm-tester.log (11.40 kB)
sco-tester.log (9.68 kB)
smp-tester.log (11.55 kB)
userchan-tester.log (5.33 kB)
Download all attachments

2021-06-02 15:37:48

by Joakim Tjernlund

[permalink] [raw]
Subject: Re: [PATCH 1/2] Bluetooth: btrtl: rename USB fw for RTL8761

Gentle ping ...

On Fri, 2021-05-28 at 18:46 +0200, Joakim Tjernlund wrote:
> From: Joakim Tjernlund <[email protected]>
>
> According Realteks own BT drivers firmware RTL8761B is for UART
> and RTL8761BU is for USB.
>
> Change existing 8761B to UART and add an 8761BU entry for USB
>
> Signed-off-by: Joakim Tjernlund <[email protected]>
> Cc: [email protected]
> ---
>  drivers/bluetooth/btrtl.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
> index e7fe5fb22753..ccef8b2cfee2 100644
> --- a/drivers/bluetooth/btrtl.c
> +++ b/drivers/bluetooth/btrtl.c
> @@ -132,12 +132,19 @@ static const struct id_table ic_id_table[] = {
>   .cfg_name = "rtl_bt/rtl8761a_config" },
>  
>
>   /* 8761B */
> - { IC_INFO(RTL_ROM_LMP_8761A, 0xb, 0xa, HCI_USB),
> + { IC_INFO(RTL_ROM_LMP_8761A, 0xb, 0xa, HCI_UART),
>   .config_needed = false,
>   .has_rom_version = true,
>   .fw_name = "rtl_bt/rtl8761b_fw.bin",
>   .cfg_name = "rtl_bt/rtl8761b_config" },
>  
>
> + /* 8761BU */
> + { IC_INFO(RTL_ROM_LMP_8761A, 0xb, 0xa, HCI_USB),
> + .config_needed = false,
> + .has_rom_version = true,
> + .fw_name = "rtl_bt/rtl8761bu_fw.bin",
> + .cfg_name = "rtl_bt/rtl8761bu_config" },
> +
>   /* 8822C with UART interface */
>   { IC_INFO(RTL_ROM_LMP_8822B, 0xc, 0xa, HCI_UART),
>   .config_needed = true,