* [PATCH] bluetooth/btusb.c: Add extra mediatek btusb target
@ 2024-06-19 5:23 ultrabear
2024-06-19 6:23 ` Paul Menzel
0 siblings, 1 reply; 2+ messages in thread
From: ultrabear @ 2024-06-19 5:23 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Alexander Hall
From: Alexander Hall <bearodark@gmail.com>
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
Signed-off-by: Alexander Hall <bearodark@gmail.com>
---
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(+)
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index e384ef6ff..2ea46a0e6 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -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 },
--
2.45.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] bluetooth/btusb.c: Add extra mediatek btusb target
2024-06-19 5:23 [PATCH] bluetooth/btusb.c: Add extra mediatek btusb target ultrabear
@ 2024-06-19 6:23 ` Paul Menzel
0 siblings, 0 replies; 2+ messages in thread
From: Paul Menzel @ 2024-06-19 6:23 UTC (permalink / raw)
To: Alexander Hall; +Cc: linux-bluetooth, Jiande Lu
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:
> From: Alexander Hall <bearodark@gmail.com>
>
> 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
> https://www.aliexpress.com/item/3256806821207897.html
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`).
> Signed-off-by: Alexander Hall <bearodark@gmail.com>
> ---
> 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].
> drivers/bluetooth/btusb.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index e384ef6ff..2ea46a0e6 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-19 6:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-19 5:23 [PATCH] bluetooth/btusb.c: Add extra mediatek btusb target ultrabear
2024-06-19 6:23 ` Paul Menzel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox