mbox series

[0/1,Unstable,Oracular] Add Bluetooth device IDs for new Mediatek MT7920/MT7925

Message ID 20240913094614.2161259-1-vicamo.yang@canonical.com
Headers show
Series Add Bluetooth device IDs for new Mediatek MT7920/MT7925 | expand

Message

You-Sheng Yang Sept. 13, 2024, 9:46 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2078878

[Impact]

Failed to enable Bluetooth adapter of MT7920/MT7925 models:
```
$ sudo dmesg|grep Bluetooth
[ 2.706311] Bluetooth: Core ver 2.22
[ 2.706322] Bluetooth: HCI device and connection manager initialized
[ 2.706325] Bluetooth: HCI socket layer initialized
[ 2.706327] Bluetooth: L2CAP socket layer initialized
[ 2.706329] Bluetooth: SCO socket layer initialized
[ 4.962246] Bluetooth: hci0: Opcode 0x0c03 failed: -110
```

[Fix]

Patch in upstream review:
https://patchwork.kernel.org/project/bluetooth/patch/20240604074100.572-1-jiande.lu@mediatek.com/

[Test Case]

Expecting dmesg messages:
```
$ sudo dmesg|grep Blue
[ 3.078949] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240802111438
[ 5.879115] Bluetooth: hci0: Device setup in 2780230 usecs
[ 5.879127] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[ 5.945319] Bluetooth: hci0: AOSP extensions version v1.00
[ 5.945324] Bluetooth: hci0: AOSP quality report is supported
```

And btmgmt output:
```
$ btmgmt info
Index list with 1 item
hci0: Primary controller
        addr 3C:0A:F3:13:2A:68 version 11 manufacturer 70 class 0x001f00
        supported settings: powered connectable fast-connectable discoverable
                            bondable link-security ssp br/edr le advertising
                            secure-conn debug-keys privacy configuration
                            static-addr phy-configuration wide-band-speech
                            cis-central cis-peripheral
        current settings: br/edr cis-central cis-peripheral
        name MTK MT7961 #1
        short name
hci0: Configuration options
        supported options: public-address
        missing options:
```

[Where problems could occur]

New model. Expecting various stability issues.

[Other Info]

Nominating for linux-oem-6.11/noble, linux/oracular and linux-unstable/oracular.

Jiande Lu (1):
  UBUNTU: SAUCE: Bluetooth: btusb: Add USB HW IDs for MT7920/MT7925

 drivers/bluetooth/btusb.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)