drivers/bluetooth/btusb.c | 6 ++++++ 1 file changed, 6 insertions(+)
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
Signed-off-by: Jiande Lu <jiande.lu@mediatek.com>
---
drivers/bluetooth/btusb.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 6dc5a7e76558..77b8500f8e9b 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -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 |
--
2.45.2
Dear Jiande, Am 04.11.24 um 14:19 schrieb Jiande Lu: > 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. No line wrapping needed. > 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 > > Signed-off-by: Jiande Lu <jiande.lu@mediatek.com> > --- > drivers/bluetooth/btusb.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c > index 6dc5a7e76558..77b8500f8e9b 100644 > --- a/drivers/bluetooth/btusb.c > +++ b/drivers/bluetooth/btusb.c > @@ -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 | With the small thing fixed: Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de> Kind regards, Paul
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: > Am 04.11.24 um 14:19 schrieb Jiande Lu: >> 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. > > No line wrapping needed. > >> 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 >> >> Signed-off-by: Jiande Lu <jiande.lu@mediatek.com> >> --- >> drivers/bluetooth/btusb.c | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c >> index 6dc5a7e76558..77b8500f8e9b 100644 >> --- a/drivers/bluetooth/btusb.c >> +++ b/drivers/bluetooth/btusb.c >> @@ -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 | > > With the small thing fixed: > > Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de> > > > Kind regards, > > Paul
© 2016 - 2024 Red Hat, Inc.