Public bug reported:

[Impact]
After system S3, hotplugging headset cannot produce any sound despite of
being auto-selected as audio output.

[Fix]
Avoid using pm_runtime_force_{suspend,resume} helpers to ensure codec
suspend/resume flow, and also ensure HDA driver and PCI set correct
wakeup settings.

[Test case]
Plug headset, unplug headset, switch audio ouput from speakers to HDMI
to let Intel HDA auto suspend. Suspend/resume the system, plug the
headset again, hear no sound.

With the patch series applied, the issue is gone.

[Where problems could occur]
If there is bad firmware/hardware that makes codec have system-wide
wakeup capability, direct-complete flow may trigger unwanted system
wakeup or even break system suspend. The series was tested on both AMD 
and Intel platforms, with Realtek and Connexant codecs respectively.

** Affects: hwe-next
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: linux-oem-5.6 (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: linux (Ubuntu Focal)
     Importance: Undecided
         Status: Won't Fix

** Affects: linux-oem-5.6 (Ubuntu Focal)
     Importance: Medium
         Status: Confirmed

** Affects: linux (Ubuntu Groovy)
     Importance: Medium
         Status: Confirmed

** Affects: linux-oem-5.6 (Ubuntu Groovy)
     Importance: Undecided
         Status: Invalid


** Tags: oem-priority originate-from-1904371 stella

** Also affects: linux-oem-5.6 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-5.6 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-5.6 (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Focal)
       Status: New => Won't Fix

** Changed in: linux-oem-5.6 (Ubuntu Groovy)
       Status: New => Invalid

** Changed in: linux-oem-5.6 (Ubuntu)
       Status: New => Invalid

** Changed in: linux (Ubuntu)
       Status: New => Fix Released

** Changed in: linux (Ubuntu Groovy)
       Status: New => Confirmed

** Changed in: linux-oem-5.6 (Ubuntu Focal)
       Status: New => Confirmed

** Changed in: linux (Ubuntu Groovy)
   Importance: Undecided => Medium

** Changed in: linux-oem-5.6 (Ubuntu Focal)
   Importance: Undecided => Medium

** Tags added: oem-priority originate-from-1904371 stella

-- 
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/1904595

Title:
  Fix no headset sound after S3 on Intel HDA

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-5.6 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-oem-5.6 source package in Focal:
  Confirmed
Status in linux source package in Groovy:
  Confirmed
Status in linux-oem-5.6 source package in Groovy:
  Invalid

Bug description:
  [Impact]
  After system S3, hotplugging headset cannot produce any sound despite of
  being auto-selected as audio output.

  [Fix]
  Avoid using pm_runtime_force_{suspend,resume} helpers to ensure codec
  suspend/resume flow, and also ensure HDA driver and PCI set correct
  wakeup settings.

  [Test case]
  Plug headset, unplug headset, switch audio ouput from speakers to HDMI
  to let Intel HDA auto suspend. Suspend/resume the system, plug the
  headset again, hear no sound.

  With the patch series applied, the issue is gone.

  [Where problems could occur]
  If there is bad firmware/hardware that makes codec have system-wide
  wakeup capability, direct-complete flow may trigger unwanted system
  wakeup or even break system suspend. The series was tested on both AMD 
  and Intel platforms, with Realtek and Connexant codecs respectively.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1904595/+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