[PATCH] Bluetooth: btusb: Add Realtek MT7925 support ID 0x13d3:0x3608

Pavel Nikulin pavel at noa-labs.com
Mon Aug 26 05:03:44 PDT 2024


Yes, just replace realtek with mediatek, and indicate that it fixes
https://bugzilla.kernel.org/show_bug.cgi?id=219182


Pavel Nikulin
Senior Engineer
+971 52 386 6738
pavel at noa-labs.com



On Fri, Aug 23, 2024 at 1:42 AM Luiz Augusto von Dentz
<luiz.dentz at gmail.com> wrote:
>
> Hi Pavel,
>
> On Thu, Aug 22, 2024 at 5:09 PM Pavel Nikulin <pavel at noa-labs.com> wrote:
> >
> > Oh my, how I missed that.
> >
> > I think a commit can be undone, and the same patch with a correct
> > commit message submitted again. Somebody with access will have to
> > revert it.
>
> I will do that once I rebase for the next pull request, it is just a
> matter of doing s/Realtek/Mediatek?
>
> >
> > Pavel Nikulin
> > Senior Engineer
> > +971 52 386 6738
> > pavel at noa-labs.com
> >
> >
> >
> > On Thu, Aug 22, 2024 at 9:54 AM Chris Lu (陸稚泓) <Chris.Lu at mediatek.com> wrote:
> > >
> > > Hi Luiz and Pavel,
> > >
> > > I think these is something wrong to the title and content of this
> > > patch. MT7925 is an connectivity IC from Mediatek rather than Realtek.
> > >
> > > Although this patch has been accpeted and merged to the next tree, I'm
> > > wondering if the typo can still be fixed? I'm afraid that such error
> > > could cause some misunderstanding to users.
> > >
> > > Thanks a lot!
> > >
> > > BRs,
> > > Chris
> > >
> > > On Wed, 2024-08-21 at 15:08 +0400, Pavel Nikulin wrote:
> > > > Add the support ID (0x13d3, 0x3608) to usb_device_id table for
> > > > Realtek MT7925B14L found on AW-EM637 WiFi+BT modules in 2024 Asus
> > > > laptops.
> > > >
> > > > The device info from /sys/kernel/debug/usb/devices as below.
> > > >
> > > > T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
> > > > D:  Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
> > > > P:  Vendor=13d3 ProdID=3608 Rev= 1.00
> > > > S:  Manufacturer=MediaTek Inc.
> > > > S:  Product=Wireless_Device
> > > > S:  SerialNumber=000000000
> > > > C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA
> > > > A:  FirstIf#= 0 IfCount= 3 Cls=e0(wlcon) Sub=01 Prot=01
> > > > I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> > > > E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=125us
> > > > E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > > > E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > > > I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> > > > E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
> > > > E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
> > > > I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> > > > E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
> > > > E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
> > > > I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> > > > E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
> > > > E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
> > > > I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> > > > E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
> > > > E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
> > > > I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> > > > E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
> > > > E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
> > > > I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> > > > E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
> > > > E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
> > > > I:  If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> > > > E:  Ad=83(I) Atr=01(Isoc) MxPS=  63 Ivl=1ms
> > > > E:  Ad=03(O) Atr=01(Isoc) MxPS=  63 Ivl=1ms
> > > > I:  If#= 2 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> > > > E:  Ad=8a(I) Atr=03(Int.) MxPS=  64 Ivl=125us
> > > > E:  Ad=0a(O) Atr=03(Int.) MxPS=  64 Ivl=125us
> > > > I:* If#= 2 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
> > > > E:  Ad=8a(I) Atr=03(Int.) MxPS= 512 Ivl=125us
> > > > E:  Ad=0a(O) Atr=03(Int.) MxPS= 512 Ivl=125us
> > > >
> > > > Signed-off-by: Pavel Nikulin <pavel at noa-labs.com>
> > > > ---
> > > >  drivers/bluetooth/btusb.c | 2 ++
> > > >  1 file changed, 2 insertions(+)
> > > >
> > > > diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> > > > index bb698ca98..df0d2e4ab 100644
> > > > --- a/drivers/bluetooth/btusb.c
> > > > +++ b/drivers/bluetooth/btusb.c
> > > > @@ -627,6 +627,8 @@ static const struct usb_device_id quirks_table[]
> > > > = {
> > > >       BTUSB_WIDEBAND_SPE
> > > > ECH },
> > > >  { USB_DEVICE(0x13d3, 0x3604), .driver_info = BTUSB_MEDIATEK |
> > > >       BTUSB_WIDEBAND_SPE
> > > > ECH },
> > > > +{ USB_DEVICE(0x13d3, 0x3608), .driver_info = BTUSB_MEDIATEK |
> > > > +     BTUSB_WIDEBAND_SPE
> > > > ECH },
> > > >
> > > >  /* Additional Realtek 8723AE Bluetooth devices */
> > > >  { USB_DEVICE(0x0930, 0x021d), .driver_info = BTUSB_REALTEK },
> > >
> > > ************* MEDIATEK Confidentiality Notice ********************
> > > The information contained in this e-mail message (including any
> > > attachments) may be confidential, proprietary, privileged, or otherwise
> > > exempt from disclosure under applicable laws. It is intended to be
> > > conveyed only to the designated recipient(s). Any use, dissemination,
> > > distribution, printing, retaining or copying of this e-mail (including its
> > > attachments) by unintended recipient(s) is strictly prohibited and may
> > > be unlawful. If you are not an intended recipient of this e-mail, or believe
> > > that you have received this e-mail in error, please notify the sender
> > > immediately (by replying to this e-mail), delete any and all copies of
> > > this e-mail (including any attachments) from your system, and do not
> > > disclose the content of this e-mail to any other person. Thank you!
>
>
>
> --
> Luiz Augusto von Dentz



More information about the Linux-mediatek mailing list