Skip to contentSkip to conversation

Bluetooth: btusb: Add new HWIDs for MT7925

PATCH Applied Jiande Lu 3 participants 4 messages Nov 4, 2024 – Nov 5, 2024

Subsystems (2)

v1 of 2 Applied 1/1 Latest is v2 →

lore
Share & tools
lore

Jiande Lu

author
#0 lore raw

PATCH 1/1 Bluetooth: btusb: Add new HWIDs for MT7925

Add below HWIDs for MediaTek MT7925 USB Bluetooth chip. VID 0x0489, PID 0xe14f
VID 0x0489, PID 0xe150
VID 0x0489, PID 0xe151

Patch has been tested successfully and controller is recognized device pair successfully.

MT7925 module bring up message as below.
Bluetooth: Core ver 2.22
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Bluetooth: hci0: HW/SW Version: 0x00000000, Build Time: 20240816133202
Bluetooth: hci0: Device setup in 286558 usecs
Bluetooth: hci0: HCI Enhanced Setup Synchronous
Connection command is advertised, but not supported.
Bluetooth: hci0: AOSP extensions version v1.00
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: MGMT ver 1.22
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11

---
 drivers/bluetooth/btusb.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/bluetooth/btusb.c +6 -0
index 6dc5a7e76558..77b8500f8e9b 100644
@@ -658,6 +658,12 @@ static const struct usb_device_id quirks_table[] = {
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x0489, 0xe139), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe14f), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe150), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe151), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x13d3, 0x3602), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x13d3, 0x3603), .driver_info = BTUSB_MEDIATEK |
Signature · 1 line
2.45.2
Reviewed-by on v1 1/1
#1 lore raw

Dear Jiande,

Am 04.11.24 um 14:19 schrieb Jiande Lu:

Quoted 8 lines

Add below HWIDs for MediaTek MT7925 USB Bluetooth chip. VID 0x0489, PID 0xe14f
VID 0x0489, PID 0xe150
VID 0x0489, PID 0xe151

Patch has been tested successfully and controller is recognized device pair successfully.

Quoted 10 lines

MT7925 module bring up message as below.
Bluetooth: Core ver 2.22
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Bluetooth: hci0: HW/SW Version: 0x00000000, Build Time: 20240816133202
Bluetooth: hci0: Device setup in 286558 usecs
Bluetooth: hci0: HCI Enhanced Setup Synchronous
Connection command is advertised, but not supported.

No line wrapping needed.

Quoted 21 lines

Bluetooth: hci0: AOSP extensions version v1.00
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: MGMT ver 1.22
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11

---
  drivers/bluetooth/btusb.c | 6 ++++++
  1 file changed, 6 insertions(+)
drivers/bluetooth/btusb.c +0 -0
index 6dc5a7e76558..77b8500f8e9b 100644
@@ -658,6 +658,12 @@ static const struct usb_device_id quirks_table[] = {
  						     BTUSB_WIDEBAND_SPEECH },
  	{ USB_DEVICE(0x0489, 0xe139), .driver_info = BTUSB_MEDIATEK |

drivers/bluetooth/btusb.c static const struct usb_device_id quirks_table[] = { · line 669

Quoted 10 lines
drivers/bluetooth/btusb.c +6 -0
  						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe14f), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe150), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x0489, 0xe151), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
  	{ USB_DEVICE(0x13d3, 0x3602), .driver_info = BTUSB_MEDIATEK |
  						     BTUSB_WIDEBAND_SPEECH },
  	{ USB_DEVICE(0x13d3, 0x3603), .driver_info = BTUSB_MEDIATEK |

With the small thing fixed:

Kind regards,

Paul

#2 lore raw

Dear Jiande,

Also, you could add the number to the summary:

Bluetooth: btusb: Add 4 HWIDs for MT7925

Am 04.11.24 um 15:20 schrieb Paul Menzel:

Quoted 62 lines

Am 04.11.24 um 14:19 schrieb Jiande Lu:

Quoted 8 lines

Add below HWIDs for MediaTek MT7925 USB Bluetooth chip. VID 0x0489, PID 0xe14f
VID 0x0489, PID 0xe150
VID 0x0489, PID 0xe151

Patch has been tested successfully and controller is recognized device pair successfully.

Quoted 10 lines

MT7925 module bring up message as below.
Bluetooth: Core ver 2.22
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Bluetooth: hci0: HW/SW Version: 0x00000000, Build Time: 20240816133202
Bluetooth: hci0: Device setup in 286558 usecs
Bluetooth: hci0: HCI Enhanced Setup Synchronous
Connection command is advertised, but not supported.

No line wrapping needed.

Quoted 23 lines

Bluetooth: hci0: AOSP extensions version v1.00
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: MGMT ver 1.22
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11

---
  drivers/bluetooth/btusb.c | 6 ++++++

  1 file changed, 6 insertions(+)
drivers/bluetooth/btusb.c +0 -0
index 6dc5a7e76558..77b8500f8e9b 100644
@@ -658,6 +658,12 @@ static const struct usb_device_id quirks_table[] = {
                                BTUSB_WIDEBAND_SPEECH },

      { USB_DEVICE(0x0489, 0xe139), .driver_info = BTUSB_MEDIATEK | BTUSB_WIDEBAND_SPEECH }, +    { USB_DEVICE(0x0489, 0xe14f), .driver_info = BTUSB_MEDIATEK |

Quoted 8 lines

+                             BTUSB_WIDEBAND_SPEECH },
+    { USB_DEVICE(0x0489, 0xe150), .driver_info = BTUSB_MEDIATEK | +                             BTUSB_WIDEBAND_SPEECH },
+    { USB_DEVICE(0x0489, 0xe151), .driver_info = BTUSB_MEDIATEK | +                             BTUSB_WIDEBAND_SPEECH },
      { USB_DEVICE(0x13d3, 0x3602), .driver_info = BTUSB_MEDIATEK | BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x13d3, 0x3603), .driver_info = BTUSB_MEDIATEK |

With the small thing fixed:

Kind regards,

Paul

#3 lore raw
In reply to Jiande Lu
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 9 lines · On Mon, 4 Nov 2024 21:19:04 +0800 you wrote:

Add below HWIDs for MediaTek MT7925 USB Bluetooth chip. VID 0x0489, PID 0xe14f
VID 0x0489, PID 0xe150
VID 0x0489, PID 0xe151

Patch has been tested successfully and controller is recognized device pair successfully.

[...]

Here is the summary with links:
- Bluetooth: btusb: Add new HWIDs for MT7925

    https://git.kernel.org/bluetooth/bluetooth-next/c/408ec48013da

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html