Skip to contentSkip to conversation

Bluetooth: btusb: Add support for Quectel MT7925

PATCH In review Agostino Conte 2 participants 2 messages Feb 21 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bluetooth: btusb: Add support for Quectel MT7925

This adds the USB Vendor ID and Product ID (2c7c:7009) for a Quectel module featuring the MediaTek MT7925 Bluetooth chip.

Without this, the btusb driver binds the device generically and fails to trigger the btmtk firmware loading routine, resulting in an "Opcode 0x0c03 failed: -16" (HCI_Reset EBUSY) error during initialization.

Applying the BTUSB_MEDIATEK and BTUSB_WIDEBAND_SPEECH quirks allows the driver to cleanly load the BT_RAM_CODE_MT7925_1_1_hdr.bin firmware and initialize the controller.

---
 drivers/bluetooth/btusb.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/bluetooth/btusb.c +2 -0
index d69d51e6d0ec..d58e7e4557b9 100644
@@ -765,6 +765,8 @@ static const struct usb_device_id quirks_table[] = {
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x13d3, 0x3630), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x2c7c, 0x7009), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
 
 	/* Additional Realtek 8723AE Bluetooth devices */
 	{ USB_DEVICE(0x0930, 0x021d), .driver_info = BTUSB_REALTEK },
Signature · 1 line
2.52.0
#1 lore raw

This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: patch failed: drivers/bluetooth/btusb.c:765
error: drivers/bluetooth/btusb.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.

---
Regards,
Linux Bluetooth