Bluetooth: btusb: Add support for 2c4e:0115 (Mercusys MA530)
PATCH 1/1 Bluetooth: btusb: Add support for 2c4e:0115 (Mercusys MA530)
Add USB ID 2c4e:0115 for the Mercusys MA530 which is a Realtek RTL8761BU-based Bluetooth adapter.
--- drivers/bluetooth/btusb.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/bluetooth/btusb.c +2 -0
@@ -802,6 +802,8 @@ static const struct usb_device_id quirks_table[] = { BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x2b89, 0x6275), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x2c4e, 0x0115), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, /* Additional Realtek 8821AE Bluetooth devices */ { USB_DEVICE(0x0b05, 0x17dc), .driver_info = BTUSB_REALTEK },
Signature · 1 line
2.51.0
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=1054221
---Test result---
Test Summary:
CheckPatch PENDING 0.38 seconds GitLint PENDING 0.28 seconds SubjectPrefix PASS 0.08 seconds BuildKernel PASS 26.04 seconds CheckAllWarning PASS 28.83 seconds CheckSparse WARNING 32.52 seconds BuildKernel32 PASS 25.27 seconds TestRunnerSetup PASS 564.13 seconds TestRunner_l2cap-tester PASS 31.05 seconds TestRunner_iso-tester PASS 99.38 seconds TestRunner_bnep-tester PASS 6.43 seconds TestRunner_mgmt-tester FAIL 126.39 seconds TestRunner_rfcomm-tester PASS 9.51 seconds TestRunner_sco-tester FAIL 14.84 seconds TestRunner_ioctl-tester PASS 10.24 seconds TestRunner_mesh-tester FAIL 12.50 seconds TestRunner_smp-tester PASS 8.72 seconds TestRunner_userchan-tester PASS 6.74 seconds IncrementalBuild PENDING 0.62 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: CheckSparse - WARNING
Desc: Run sparse tool with linux kernel
Output:drivers/bluetooth/btusb.c:4661:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4662:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4664:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4665:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4667:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4668:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4670:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4671:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4673:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4674:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4675:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4676:1: error: bad constant expressiondrivers/bluetooth/btusb.c:4676:1: error: bad constant expression
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 494, Passed: 489 (99.0%), Failed: 1, Not Run: 4
Failed Test Cases
Read Exp Feature - Success Failed 0.110 seconds
##############################
Test: TestRunner_sco-tester - FAIL
Desc: Run sco-tester with test-runner
Output:
WARNING: possible circular locking dependency detected
BUG: sleeping function called from invalid context at net/core/sock.c:3782
Total: 30, Passed: 30 (100.0%), Failed: 0, Not Run: 0
##############################
Test: TestRunner_mesh-tester - FAIL
Desc: Run mesh-tester with test-runner Output:
Total: 10, Passed: 8 (80.0%), Failed: 2, Not Run: 0
Failed Test Cases
Mesh - Send cancel - 1 Timed out 2.651 seconds Mesh - Send cancel - 2 Timed out 1.994 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:
---
Regards,
Linux Bluetooth
I can confirm this patch fixes the issue on my Mercusys MA530 (VID:PID 2c4e:0115, RTL8761BU).
Before applying the patch, firmware (rtl8761bu_fw.bin) was not loaded properly and LE discovery was continuously toggling on and off.
After applying the patch, firmware loads correctly and the device operates reliably. I tested classic Bluetooth audio as well as BLE scanning and connections without issues.
Given that this change only adds a USB device ID enabling already supported hardware, it might also be suitable for stable backporting.
Quoted 21 lines · Edo Akse
Add USB ID 2c4e:0115 for the Mercusys MA530 which is a Realtek RTL8761BU-based Bluetooth adapter.
Signed-off-by Edo Akse <[email protected]>--- drivers/bluetooth/btusb.c | 2 ++ 1 file changed, 2 insertions(+)drivers/bluetooth/btusb.c +2
-0@@ -802,6 +802,8 @@ static const struct usb_device_id quirks_table[] = { BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x2b89, 0x6275), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x2c4e, 0x0115), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, /* Additional Realtek 8821AE Bluetooth devices */ { USB_DEVICE(0x0b05, 0x17dc), .driver_info = BTUSB_REALTEK },