All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: btusb: Add Mercusys MA530 HWID 0x2c4e/0x0115 for Realtek 8761BUV
@ 2025-02-25 15:58 Michal Piernik
  2025-02-25 16:35 ` bluez.test.bot
  2026-04-15 14:47 ` [PATCH] " Kryštof Korb
  0 siblings, 2 replies; 4+ messages in thread
From: Michal Piernik @ 2025-02-25 15:58 UTC (permalink / raw)
  To: Marcel Holtmann, Luiz Augusto von Dentz
  Cc: Michal Piernik, linux-bluetooth, linux-kernel

/sys/kernel/debug/usb/devices:
T:  Bus=03 Lev=01 Prnt=01 Port=05 Cnt=03 Dev#=  4 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=2c4e ProdID=0115 Rev= 2.00
S:  Manufacturer=
S:  Product=Mercusys MA530 Adapter
S:  SerialNumber=30169D905719
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms

dmesg:
[11106.761376] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[11106.762370] Bluetooth: hci0: RTL: rom_version status=0 version=1
[11106.762374] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[11106.762554] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[11106.762579] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[11106.910393] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[11106.977569] Bluetooth: MGMT ver 1.22

Signed-off-by: Michal Piernik <mprnk@o2.pl>
---
 drivers/bluetooth/btusb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index f5609110f..0fc1dde8f 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -739,6 +739,8 @@ static const struct usb_device_id quirks_table[] = {
 	{ USB_DEVICE(0x2ff8, 0xb011), .driver_info = BTUSB_REALTEK },
 
 	/* Additional Realtek 8761BUV Bluetooth devices */
+	{ USB_DEVICE(0x2c4e, 0x0115), .driver_info = BTUSB_REALTEK |
+						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x2357, 0x0604), .driver_info = BTUSB_REALTEK |
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x0b05, 0x190e), .driver_info = BTUSB_REALTEK |
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: Bluetooth: btusb: Add Mercusys MA530 HWID 0x2c4e/0x0115 for Realtek 8761BUV
  2025-02-25 15:58 [PATCH] Bluetooth: btusb: Add Mercusys MA530 HWID 0x2c4e/0x0115 for Realtek 8761BUV Michal Piernik
@ 2025-02-25 16:35 ` bluez.test.bot
  2026-04-15 14:47 ` [PATCH] " Kryštof Korb
  1 sibling, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2025-02-25 16:35 UTC (permalink / raw)
  To: linux-bluetooth, mprnk

[-- Attachment #1: Type: text/plain, Size: 2188 bytes --]

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=937582

---Test result---

Test Summary:
CheckPatch                    PENDING   0.50 seconds
GitLint                       PENDING   0.30 seconds
SubjectPrefix                 PASS      0.06 seconds
BuildKernel                   PASS      24.98 seconds
CheckAllWarning               PASS      26.54 seconds
CheckSparse                   PASS      29.75 seconds
BuildKernel32                 PASS      24.12 seconds
TestRunnerSetup               PASS      429.96 seconds
TestRunner_l2cap-tester       PASS      21.11 seconds
TestRunner_iso-tester         PASS      37.46 seconds
TestRunner_bnep-tester        PASS      4.70 seconds
TestRunner_mgmt-tester        FAIL      124.26 seconds
TestRunner_rfcomm-tester      PASS      7.89 seconds
TestRunner_sco-tester         PASS      9.55 seconds
TestRunner_ioctl-tester       PASS      8.26 seconds
TestRunner_mesh-tester        PASS      6.01 seconds
TestRunner_smp-tester         PASS      7.29 seconds
TestRunner_userchan-tester    PASS      5.03 seconds
IncrementalBuild              PENDING   0.99 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 490, Passed: 482 (98.4%), Failed: 4, Not Run: 4

Failed Test Cases
LL Privacy - Add Device 2 (2 Devices to AL)          Failed       0.182 seconds
LL Privacy - Add Device 3 (AL is full)               Failed       0.227 seconds
LL Privacy - Start Discovery 1 (Disable RL)          Failed       0.174 seconds
LL Privacy - Set Device Flag 1 (Device Privacy)      Failed       0.163 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Bluetooth: btusb: Add Mercusys MA530 HWID 0x2c4e/0x0115 for Realtek 8761BUV
  2025-02-25 15:58 [PATCH] Bluetooth: btusb: Add Mercusys MA530 HWID 0x2c4e/0x0115 for Realtek 8761BUV Michal Piernik
  2025-02-25 16:35 ` bluez.test.bot
@ 2026-04-15 14:47 ` Kryštof Korb
  2026-04-15 15:40   ` Paul Menzel
  1 sibling, 1 reply; 4+ messages in thread
From: Kryštof Korb @ 2026-04-15 14:47 UTC (permalink / raw)
  To: Michal Piernik
  Cc: Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth,
	linux-kernel

Tested-by: Kryštof Korb <krystof@korb.cz>

Confirmed working on a device reporting as "MERCUSYS Bluetooth Adapter"
(USB ID 2c4e:0115, bcdDevice 2.00), retail product Mercusys MA550H.
Same RTL8761BU chipset, identical firmware load sequence.

Seems the USB ID 2c4e:0115 covers at least two distinct retail
products (MA530 and MA550H) from the same vendor.

/sys/kernel/debug/usb/devices excerpt:
P:  Vendor=2c4e ProdID=0115 Rev= 2.00
S:  Manufacturer=
S:  Product=MERCUSYS Bluetooth Adapter
S:  SerialNumber=088AF177D360

dmesg:
Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
Bluetooth: hci0: RTL: rom_version status=0 version=1
Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
Bluetooth: hci0: RTL: fw version 0xdfc6d922

> 25. 2. 2025 v 16:58, Michal Piernik <mprnk@o2.pl>:
> 
> /sys/kernel/debug/usb/devices:
> T:  Bus=03 Lev=01 Prnt=01 Port=05 Cnt=03 Dev#=  4 Spd=12   MxCh= 0
> D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
> P:  Vendor=2c4e ProdID=0115 Rev= 2.00
> S:  Manufacturer=
> S:  Product=Mercusys MA530 Adapter
> S:  SerialNumber=30169D905719
> C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
> I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
> E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
> I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
> E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
> I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
> E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
> I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
> E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
> I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
> E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
> I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
> E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
> 
> dmesg:
> [11106.761376] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
> [11106.762370] Bluetooth: hci0: RTL: rom_version status=0 version=1
> [11106.762374] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
> [11106.762554] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
> [11106.762579] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
> [11106.910393] Bluetooth: hci0: RTL: fw version 0xdfc6d922
> [11106.977569] Bluetooth: MGMT ver 1.22
> 
> Signed-off-by: Michal Piernik <mprnk@o2.pl>
> ---
> drivers/bluetooth/btusb.c | 2 ++
> 1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index f5609110f..0fc1dde8f 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -739,6 +739,8 @@ static const struct usb_device_id quirks_table[] = {
> 	{ USB_DEVICE(0x2ff8, 0xb011), .driver_info = BTUSB_REALTEK },
> 
> 	/* Additional Realtek 8761BUV Bluetooth devices */
> +	{ USB_DEVICE(0x2c4e, 0x0115), .driver_info = BTUSB_REALTEK |
> +						     BTUSB_WIDEBAND_SPEECH },
> 	{ USB_DEVICE(0x2357, 0x0604), .driver_info = BTUSB_REALTEK |
> 						     BTUSB_WIDEBAND_SPEECH },
> 	{ USB_DEVICE(0x0b05, 0x190e), .driver_info = BTUSB_REALTEK |
> -- 
> 2.34.1
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Bluetooth: btusb: Add Mercusys MA530 HWID 0x2c4e/0x0115 for Realtek 8761BUV
  2026-04-15 14:47 ` [PATCH] " Kryštof Korb
@ 2026-04-15 15:40   ` Paul Menzel
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Menzel @ 2026-04-15 15:40 UTC (permalink / raw)
  To: Kryštof Korb, Michal Piernik
  Cc: Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth,
	linux-kernel

Dear Kryštof, dear Michal,


Am 15.04.26 um 16:47 schrieb Kryštof Korb:
> Tested-by: Kryštof Korb <krystof@korb.cz>
> 
> Confirmed working on a device reporting as "MERCUSYS Bluetooth Adapter"
> (USB ID 2c4e:0115, bcdDevice 2.00), retail product Mercusys MA550H.
> Same RTL8761BU chipset, identical firmware load sequence.
> 
> Seems the USB ID 2c4e:0115 covers at least two distinct retail
> products (MA530 and MA550H) from the same vendor.
> 
> /sys/kernel/debug/usb/devices excerpt:
> P:  Vendor=2c4e ProdID=0115 Rev= 2.00
> S:  Manufacturer=
> S:  Product=MERCUSYS Bluetooth Adapter
> S:  SerialNumber=088AF177D360
> 
> dmesg:
> Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
> Bluetooth: hci0: RTL: rom_version status=0 version=1
> Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
> Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
> Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
> Bluetooth: hci0: RTL: fw version 0xdfc6d922
> 
>> 25. 2. 2025 v 16:58, Michal Piernik <mprnk@o2.pl>:
>>
>> /sys/kernel/debug/usb/devices:
>> T:  Bus=03 Lev=01 Prnt=01 Port=05 Cnt=03 Dev#=  4 Spd=12   MxCh= 0
>> D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
>> P:  Vendor=2c4e ProdID=0115 Rev= 2.00
>> S:  Manufacturer=
>> S:  Product=Mercusys MA530 Adapter
>> S:  SerialNumber=30169D905719
>> C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
>> I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
>> E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
>> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>> I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
>> E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
>> E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
>> I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
>> E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
>> E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
>> I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
>> E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
>> E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
>> I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
>> E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
>> E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
>> I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
>> E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
>> E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
>> I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
>> E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
>> E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
>>
>> dmesg:
>> [11106.761376] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
>> [11106.762370] Bluetooth: hci0: RTL: rom_version status=0 version=1
>> [11106.762374] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
>> [11106.762554] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
>> [11106.762579] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
>> [11106.910393] Bluetooth: hci0: RTL: fw version 0xdfc6d922
>> [11106.977569] Bluetooth: MGMT ver 1.22
>>
>> Signed-off-by: Michal Piernik <mprnk@o2.pl>
>> ---
>> drivers/bluetooth/btusb.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
>> index f5609110f..0fc1dde8f 100644
>> --- a/drivers/bluetooth/btusb.c
>> +++ b/drivers/bluetooth/btusb.c
>> @@ -739,6 +739,8 @@ static const struct usb_device_id quirks_table[] = {
>> 	{ USB_DEVICE(0x2ff8, 0xb011), .driver_info = BTUSB_REALTEK },
>>
>> 	/* Additional Realtek 8761BUV Bluetooth devices */
>> +	{ USB_DEVICE(0x2c4e, 0x0115), .driver_info = BTUSB_REALTEK |
>> +						     BTUSB_WIDEBAND_SPEECH },
>> 	{ USB_DEVICE(0x2357, 0x0604), .driver_info = BTUSB_REALTEK |
>> 						     BTUSB_WIDEBAND_SPEECH },

The list is unsorted anyway, but I’d add it at second position.

>> 	{ USB_DEVICE(0x0b05, 0x190e), .driver_info = BTUSB_REALTEK |
>> -- 
>> 2.34.1

Could one of you please resend the patch with Kryštof’s information 
added, so it gets picked up from Patchwork again.


Kind regards,

Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-15 15:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 15:58 [PATCH] Bluetooth: btusb: Add Mercusys MA530 HWID 0x2c4e/0x0115 for Realtek 8761BUV Michal Piernik
2025-02-25 16:35 ` bluez.test.bot
2026-04-15 14:47 ` [PATCH] " Kryštof Korb
2026-04-15 15:40   ` Paul Menzel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.