[PATCH] Bluetooth: btusb: Add support for Mercusys MA530 Bluetooth adapter

3 posted 1 patch 1 week, 6 days ago
drivers/bluetooth/btusb.c | 4 ++++
1 file changed, 4 insertions(+)
[PATCH] Bluetooth: btusb: Add support for Mercusys MA530 Bluetooth adapter
Posted by 3 1 week, 6 days ago
 From becb0b090d9783afddf7d43d739ee69b82fbb32a Mon Sep 17 00:00:00 2001
From: lespink <lespinks9@gmail.com>
Date: Sun, 31 Aug 2025 12:35:47 +0200
Subject: [PATCH] Bluetooth: btusb: Add support for Mercusys MA530 Bluetooth
  adapter

Add support for a Realtek-based Mercusys MA530 Bluetooth 5.3 USB dongle
which works with USB ID 2c4e:0115. This device was not recognized by the
kernel with the original device list and thus was non-functional.

Signed-off-by: lespink <lespinks9@gmail.com>
---
  drivers/bluetooth/btusb.c | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 8085fabadde8..84ebeb317dda 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -593,6 +593,10 @@ static const struct usb_device_id quirks_table[] = {
      { USB_DEVICE(0x0489, 0xe130), .driver_info = BTUSB_REALTEK |
                               BTUSB_WIDEBAND_SPEECH },

+    /* Mercusys MA530 Adapter */
+    { USB_DEVICE(0x2c4e, 0x0115), .driver_info = BTUSB_REALTEK |
+                             BTUSB_WIDEBAND_SPEECH },
+
      /* Realtek Bluetooth devices */
      { USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01),
        .driver_info = BTUSB_REALTEK },
--
2.51.0

Re: [PATCH] Bluetooth: btusb: Add support for Mercusys MA530 Bluetooth adapter
Posted by Paul Menzel 1 week, 6 days ago
Dear lespink,


Thank you for your patch.

Am 31.08.25 um 12:50 schrieb 3:
>  From becb0b090d9783afddf7d43d739ee69b82fbb32a Mon Sep 17 00:00:00 2001
> From: lespink <lespinks9@gmail.com>
> Date: Sun, 31 Aug 2025 12:35:47 +0200
> Subject: [PATCH] Bluetooth: btusb: Add support for Mercusys MA530 Bluetooth adapter

Please use `git send-email` or `b4` to send the patch, as currently it’s 
not formatted correctly.

> Add support for a Realtek-based Mercusys MA530 Bluetooth 5.3 USB dongle
> which works with USB ID 2c4e:0115. This device was not recognized by the

… having the id 2c4e:0115.

(Maybe add that id to the summary/title too.)

> kernel with the original device list and thus was non-functional.

According to `git log drivers/bluetooth` it’s common to paste the 
information from `/sys/kernel/debug/usb/devices` to the commit message.

> Signed-off-by: lespink <lespinks9@gmail.com>
> ---
>   drivers/bluetooth/btusb.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index 8085fabadde8..84ebeb317dda 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -593,6 +593,10 @@ static const struct usb_device_id quirks_table[] = {
>       { USB_DEVICE(0x0489, 0xe130), .driver_info = BTUSB_REALTEK |
>                                BTUSB_WIDEBAND_SPEECH },
> 
> +    /* Mercusys MA530 Adapter */
> +    { USB_DEVICE(0x2c4e, 0x0115), .driver_info = BTUSB_REALTEK |
> +                             BTUSB_WIDEBAND_SPEECH },
> +
>       /* Realtek Bluetooth devices */
>       { USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01),
>         .driver_info = BTUSB_REALTEK },
> -- 
> 2.51.0

The diff looks fine.


Kind regards,

Paul