bluetooth/btusb.c: Add extra mediatek btusb target
PATCH 1/1 bluetooth/btusb.c: Add extra mediatek btusb target
From: Alexander Hall <[email protected]>
This patch fixes bluetooth support on the MediaTek MT7925 WiFi 7 + BT 5.3 M.2 chipset that I purchased from aliexpress (and which arrived today). The PCB states that it is an MT7925B22M.
I tested that this patch did fix my problem; bluetooth now works.
The chipset was purchased from here, though the storefront image does not match the PCB that was recieved:
https://www.aliexpress.com/item/3256806821207897.html
---
This is my first submitted patch to the linux kernel, apologies if I have misunderstood any portion of the process.
drivers/bluetooth/btusb.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/bluetooth/btusb.c +3 -0
@@ -691,6 +691,9 @@ static const struct usb_device_id quirks_table[] = { { USB_DEVICE(0x13d3, 0x3603), .driver_info = BTUSB_MEDIATEK |BTUSB_WIDEBAND_SPEECH | BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x13d3, 0x3604), .driver_info = BTUSB_MEDIATEK | +BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, /* Additional Realtek 8723AE Bluetooth devices */ { USB_DEVICE(0x0930, 0x021d), .driver_info = BTUSB_REALTEK },
Signature · 1 line
2.45.1
Dear Alexander,
Thank you for the patch, and welcome to the Linux kernel!
Fore the summary, I’d use:
Bluetooth: btusb: Add USB HW id 0x3604 for MediaTek MT7925B22M
Am 19.06.24 um 07:23 schrieb ultrabear:
Quoted 10 lines
From: Alexander Hall <[email protected]>
This patch fixes bluetooth support on the MediaTek MT7925 WiFi 7 + BT 5.3 M.2 chipset that I purchased from aliexpress (and which arrived today). The PCB states that it is an MT7925B22M.
I tested that this patch did fix my problem; bluetooth now works.
The chipset was purchased from here, though the storefront image does not match the PCB that was recieved:
rec*ei*ved
Maybe save on archive.org and reference that.
Please also add the output of /sys/kernel/debug/usb/devices to the commit message as done in other commits (git log drivers/bluetooth/btusb.c).
Quoted 4 lines
Signed-off-by Alexander Hall <[email protected]>---
This is my first submitted patch to the linux kernel, apologies if I have misunderstood any portion of the process.
Welcome! For this subsystem, your patch is going to be checked by a bot. It will probably ask you to use Bluetooth: as the prefix. Also, you should Cc: the maintainers. It can be integrated in git [1].
Quoted 8 lines
drivers/bluetooth/btusb.c | 3 +++ 1 file changed, 3 insertions(+)drivers/bluetooth/btusb.c +0
-0
drivers/bluetooth/btusb.c static const struct usb_device_id quirks_table[] = { · line 699
Quoted 9 lines
drivers/bluetooth/btusb.c +3
-0@@ -691,6 +691,9 @@ static const struct usb_device_id quirks_table[] = { { USB_DEVICE(0x13d3, 0x3603), .driver_info = BTUSB_MEDIATEK |BTUSB_WIDEBAND_SPEECH | BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x13d3, 0x3604), .driver_info = BTUSB_MEDIATEK | +BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, /* Additional Realtek 8723AE Bluetooth devices */ { USB_DEVICE(0x0930, 0x021d), .driver_info = BTUSB_REALTEK },
You can amend the commit message with git commit --amend, and then do git format-patch -v2 to get *v2* into the subject/title.
I am looking forward to more Linux contributions! ;-)
Kind regards,
Paul
[1]: https://www.marcusfolkesson.se/blog/get_maintainers-and-git-send-email/