Noise will pop up during WB or stay in Ubuntu OS when external speaker attached

Bug #1942043 reported by You-Sheng Yang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
High
You-Sheng Yang
Focal
Invalid
Undecided
Unassigned
Impish
Fix Released
High
You-Sheng Yang
linux-oem-5.13 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
High
You-Sheng Yang
Impish
Invalid
Undecided
Unassigned
linux-oem-5.14 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
Impish
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

[Impact]

HD-audio codec shutdown is not quite right when powering off the
controller side. This causes pop noises on some platforms.

[Fix]

While previously in bug 1939541, a local fix for Cirrus CS8409 only is
proposed the upstream as in
https://<email address hidden>/
. This initiated a discuss to create a generic solution as in
https://<email address hidden>/ .

[Test Case]

Shutdown Ubuntu that is running a patched kernel and see if a pop sound
is still made.

[Where problems could occur]

While this tries to suspend the codec devices at shutting down, out of
tree drivers without (runtime-)suspend support may fail to react
correctly. And since this removes .reboot_notify callback from struct
hda_codec_ops, it may break such oot drivers, too.

[Other Info]

This depends on patches for https://bugs.launchpad.net/bugs/1939541 .

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

[Reproduce Steps]
1. Attach external speaker to SUT
2. Try to reboot SUT or stay in OS.

[Results]
 Expected Result
 No noise.
 Actual Result
 Noise will pop up during WB or stay in Ubuntu OS when external speaker attached.

[Others]
[Scenario 1] Login to the Ubuntu OS.
(Occurs only in Cirrus, within 5 seconds after logging in to OS)
Can 100% reproduce on Cirrus MB with Ubuntu. Noise can be heard (咚咚 Sounds) after login the Ubuntu within 5 secs.

[Scenario 2] Reboot Ubuntu OS
(Both Curris and Realtek happen. WB/CB/shutdown OS)
Can 100% reproduce on Cirrus MB with Ubuntu. Noise can be heard While both exiting OS and entering OS.

CVE References

You-Sheng Yang (vicamo)
tags: added: oem-priority originate-from-1938696 somerville
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Positive feedbacks got for https://launchpad.net/~vicamo/+archive/ubuntu/linux-staging version 5.13.0-9011.14+staging.14 and 5.14.0-9001.1+staging.14 .

Changed in linux-oem-5.13 (Ubuntu Focal):
status: New → Invalid
status: Invalid → In Progress
importance: Undecided → High
Changed in linux-oem-5.13 (Ubuntu Impish):
status: New → Invalid
Changed in linux (Ubuntu Focal):
status: New → Invalid
Changed in linux (Ubuntu Impish):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-oem-5.13 (Ubuntu Focal):
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :
description: updated
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.13 (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: New → Fix Committed
Changed in linux-oem-5.14 (Ubuntu Impish):
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-5.13 - 5.13.0-1014.18

---------------
linux-oem-5.13 (5.13.0-1014.18) focal; urgency=medium

  * focal/linux-oem-5.13: 5.13.0-1014.18 -proposed tracker (LP: #1944429)

  * CVE-2021-40490
    - ext4: fix race writing to an inline_data file while its xattrs are changing

  * CVE-2021-41073
    - io_uring: ensure symmetry in handling iter types in loop_rw_iter()

 -- Timo Aaltonen <email address hidden> Wed, 22 Sep 2021 18:34:24 +0300

Changed in linux-oem-5.13 (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 5.13.0-19.19

---------------
linux (5.13.0-19.19) impish; urgency=medium

  * impish/linux: 5.13.0-19.19 -proposed tracker (LP: #1946337)

  * impish:linux-aws 5.13 panic during systemd autotest (LP: #1946001)
    - [Config] disable KFENCE

 -- Andrea Righi <email address hidden> Thu, 07 Oct 2021 11:09:51 +0200

Changed in linux (Ubuntu Impish):
status: In Progress → Fix Released
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: Fix Committed → Fix Released
Changed in hwe-next:
status: New → Fix Released
tags: added: verification-done-focal
removed: verification-needed-focal
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.