Multiple RTL8851BE BT stability issues

Bug #2037224 reported by You-Sheng Yang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
New
Undecided
Unassigned
linux-firmware (Ubuntu)
Status tracked in Mantic
Jammy
Fix Released
High
You-Sheng Yang
Mantic
Fix Committed
High
You-Sheng Yang

Bug Description

[SRU Justification]

[Impact]

There are multiple stability issues for RTL8851B.

Issue-1:

After disabling BT and leaving it idle for a period, manually turning on the
RTL8851BE will fail.

Issue-2:

Failed to probe Bluetooth USB interface after resumed from suspend. There may be
either failure to read device descriptors:

  usb 1-14: device descriptor read/64, error -71

or tx command timeout:

  Bluetooth: hci0: Opcode 0x2041 failed: -110
  Bluetooth: hci0: command 0x2041 tx timeout

[Fix]

Upstream commit addc33924 ("rtl_bt: Update RTL8851B BT USB firmware to
0x048A_D230").

[Test Case]

$ checkbox-cli run com.canonical.plainbox::suspend/suspend_advanced_auto

[Where problems could occur]

This updates opaque firmware blobs, so it could bring further stability issues
and/or power consumption changes.

[Other Info]

While RTL8851B is only supported in oem-6.5 and linux/mantic >= 6.4, only jammy
and mantic are nominated for fix.

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

[issue 1]

After disabling BT and leaving it idle for a period, manually turning on the RTL8851BE will fail. (Can't reproduce on Wifi functionality.)

Test step:
1. Insert RTL8851BE Wifi card and install Ubuntu 22.04 OS. (Kernel : 6.5.0)
2. Check BT function after boot into OS.
3. Manually turn OFF BT function. Then wait for 1 minute.
4. Manually turn ON the BT function.
5. Unable to enable BT function. (issue occurs)

[issue 2]

System usb got tx command timeout after suspend resume.

Log:

Got read usb descriptor fail after suspend resume.

Sep 11 16:37:37 ubuntu kernel: usb 1-14: reset full-speed USB device number 3 using xhci_hcd
Sep 11 16:37:37 ubuntu kernel: usb 1-14: device descriptor read/64, error -71
Sep 11 16:37:38 ubuntu kernel: usb 1-14: device descriptor read/64, error -71
Sep 11 16:37:38 ubuntu kernel: usb 1-14: reset full-speed USB device number 3 using xhci_hcd
Sep 11 16:37:38 ubuntu kernel: usb 1-14: device descriptor read/64, error -71
Sep 11 16:37:38 ubuntu kernel: usb 1-14: device descriptor read/64, error -71
Sep 11 16:37:39 ubuntu kernel: usb 1-14: reset full-speed USB device number 3 using xhci_hcd

And tx command timeout.

Sep 11 16:37:41 ubuntu kernel: Bluetooth: hci0: Opcode 0x2041 failed: -110
Sep 11 16:37:41 ubuntu kernel: Bluetooth: hci0: command 0x2041 tx timeout
Sep 11 16:37:41 ubuntu kernel: usb 1-14: new full-speed USB device number 4 using xhci_hcd
Sep 11 16:37:41 ubuntu kernel: usb 1-14: device descriptor read/64, error -71

Test step:
1. Install dell-bto-jammy-jellyfish-abra-X96-20230822-1.iso
2. Boot into OS
3. checkbox-cli run com.canonical.plainbox::suspend/suspend_advanced_auto

Revision history for this message
You-Sheng Yang (vicamo) wrote :

Proposed firmware fix in https://<email address hidden>/T/#u

tags: added: flying-fox oem-priority originate-from-2036579
You-Sheng Yang (vicamo)
tags: added: originate-from-2036700
tags: added: originate-from-2033227
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Accepted in upstream as commit addc33924 ("rtl_bt: Update RTL8851B BT USB firmware to 0x048A_D230").

summary: - Failed to manually enable the RTL8851BE BT function
+ Multiple RTL8851BE BT stability issues
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :
description: updated
You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Jammy):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Mantic):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Mantic):
status: In Progress → Fix Committed
Changed in linux-firmware (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello You-Sheng, or anyone else affected,

Accepted linux-firmware into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20220329.git681281e4-0ubuntu3.20 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello You-Sheng, or anyone else affected,

Accepted linux-firmware into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20220329.git681281e4-0ubuntu3.21 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified linux-firmware/jammy version 20220329.git681281e4-0ubuntu3.21

tags: added: verification-done-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20220329.git681281e4-0ubuntu3.21

---------------
linux-firmware (20220329.git681281e4-0ubuntu3.21) jammy; urgency=medium

  * linux-firmware is outdated (LP: #2033441)
    - nvidia: update Tu10x and Tu11x signed firmware to support newer Turing HW
  * NV31 XTX cannot boot into Ubuntu 22.04.3 Desktop with upstream(inbox) driver installed (LP: #2038745)
    - amdgpu: update SMU 13.0.0 firmware for amd.5.5 release
    - amdgpu: update SMU 13.0.7 firmware for amd.5.5 release

linux-firmware (20220329.git681281e4-0ubuntu3.20) jammy; urgency=medium

  * Multiple RTL8851BE BT stability issues (LP: #2037224)
    - rtl_bt: Update RTL8851B BT USB firmware to 0x048A_D230

 -- Juerg Haefliger <email address hidden> Tue, 10 Oct 2023 11:34:40 +0200

Changed in linux-firmware (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for linux-firmware has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified linux-firmware/mantic version Ubuntu-20230919.git3672ccab-0ubuntu2.2 from local builds.

tags: added: verification-done-mantic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.