Realtek submitted a new revision for linux-next. It drops the
BTUSB_VALID_LE_STATES flag in comparison to the previous revision.

In v6.11-rc5,
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=aae6b81260fd9a7224f7eb4fc440d625852245bb
(“Bluetooth: HCI: Invert LE State quirk to be opt-out rather then opt-
in”), it changed the behaviour from “if has BTUSB_VALID_LE_STATES flag
then set the HCI_QUIRK_VALID_LE_STATES flag” to “if has no
BTUSB_VALID_LE_STATES flag then set the HCI_QUIRK_BROKEN_LE_STATES
flag”.

Later in v6.12 merge window,
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fec656d08aa59ad3ea1bba148a4f7e5618fd4d3
(“Bluetooth: btusb: Invert LE State flag to set invalid rather then
valid”), it drops that BTUSB_VALID_LE_STATES and becomes “if has the
BTUSB_INVALID_LE_STATES flag, then set the HCI_QUIRK_BROKEN_LE_STATES
flag“. No btusb device has the flag set at the moment. This fix is not
marked for linux-stable.

So, any way, MT7920/MT7925 doesn't want HCI_QUIRK_BROKEN_LE_STATES to be
set. Then when backported to 6.11 kernels, it should continue to carry
the BTUSB_VALID_LE_STATES flag, and that flag should be dropped when
migrates to v6.12.

The net effect is that the patch content will be identical to the one
currently being proposed for oem-6.11, unstable and linux/oracular, but
the commit messages need updates.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2078878

Title:
  Missing Bluetooth device IDs for new Mediatek MT7920/MT7925

Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.11 package in Ubuntu:
  Invalid
Status in linux source package in Noble:
  Won't Fix
Status in linux-oem-6.11 source package in Noble:
  In Progress
Status in linux source package in Oracular:
  In Progress
Status in linux-oem-6.11 source package in Oracular:
  Invalid

Bug description:
  [SRU Justification]

  [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...@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.

  ========== original bug report ============

  [symptom]

  $ 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

  [expect]

  $ sudo dmesg|grep Blue
  [    2.742197] Bluetooth: Core ver 2.22
  [    2.742208] Bluetooth: HCI device and connection manager initialized
  [    2.742211] Bluetooth: HCI socket layer initialized
  [    2.742213] Bluetooth: L2CAP socket layer initialized
  [    2.742215] Bluetooth: SCO socket layer initialized
  [    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

  $ 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:

  Patch in upstream review: 
https://patchwork.kernel.org/project/bluetooth/patch/20240604074100.572-1-jiande...@mediatek.com/
  ---
  ProblemType: Bug
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/seq:        ubuntu     1804 F.... pipewire
   /dev/snd/controlC0:  ubuntu     1808 F.... wireplumber
   /dev/snd/controlC1:  ubuntu     1808 F.... wireplumber
  CasperMD5CheckMismatches: ./casper/initrd ./casper/vmlinuz 
./casper/minimal.standard.live.hotfix.manifest 
./casper/minimal.standard.live.hotfix.size ./casper/minimal.standard.live.size 
./casper/minimal.manifest ./casper/minimal.standard.manifest 
./casper/minimal.standard.size ./casper/minimal.hotfix.size 
./casper/minimal.standard.live.hotfix.squashfs 
./casper/minimal.standard.hotfix.squashfs ./casper/minimal.standard.hotfix.size 
./casper/minimal.hotfix.squashfs ./casper/minimal.standard.live.manifest 
./casper/minimal.size ./boot/grub/grub.cfg
  CasperMD5CheckResult: fail
  DistributionChannelDescriptor:
   # This is the distribution channel descriptor for Ubuntu 24.04 for Dell
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-noble-oem-24.04b-edge-20240912-93
  DistroRelease: Ubuntu 24.04
  InstallationDate: Installed on 2024-09-12 (0 days ago)
  InstallationMedia: Ubuntu OEM 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240911)
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 001 Device 002: ID 0489:e134 Foxconn / Hon Hai Wireless_Device
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Lsusb-t:
   /:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/16p, 480M
       |__ Port 014: Dev 002, If 0, Class=Wireless, Driver=btusb, 480M
       |__ Port 014: Dev 002, If 1, Class=Wireless, Driver=btusb, 480M
       |__ Port 014: Dev 002, If 2, Class=Wireless, Driver=[none], 480M
   /:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/10p, 20000M/x2
  MachineType: Dell Inc. Dell Pro Tower Q2T1250
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-1004-oem 
root=UUID=1636dac3-279e-4226-96a4-66a5d40d6303 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 6.11.0-1004.4-oem 6.11.0-rc6
  RelatedPackageVersions:
   linux-restricted-modules-6.11.0-1004-oem N/A
   linux-backports-modules-6.11.0-1004-oem  N/A
   linux-firmware                           
20240318.git3b128b60-0ubuntu2.3+exp.19
  Tags: noble
  Uname: Linux 6.11.0-1004-oem x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True
  dmi.bios.date: 08/30/2024
  dmi.bios.release: 0.5
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 0.5.16
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.ec.firmware.release: 0.0
  dmi.modalias: 
dmi:bvnDellInc.:bvr0.5.16:bd08/30/2024:br0.5:efr0.0:svnDellInc.:pnDellProTowerQ2T1250:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct3:cvr:sku0D18:
  dmi.product.family: Dell Pro Desktops
  dmi.product.name: Dell Pro Tower Q2T1250
  dmi.product.sku: 0D18
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2078878/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to