speaker can't output sound anymore after system resumes from S3 on a lenovo machine with alc257
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned | ||
Artful |
Fix Released
|
Undecided
|
Unassigned | ||
linux-oem (Ubuntu) |
Fix Released
|
Critical
|
Hui Wang | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Artful |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
After booting up, the speaker works well. If we suspend the machine then resume
it back, the speaker can't output sound, even rebooting can't make the speaker
work, we need to power off the machine then power up the machine, the speaker
can work again.
[Fix]
We need to add the basic support for the codec alc257 first (0001-xxx.patch),
then add hooking function for this codec and clear the bit of 15 for register
0x57 (0002-xxx.patch). Both of these two patches come from mainline kernel.
[Test Case]
After booting up the system, suspend the machine, then resume the machine,
test the speaker, the speaker can output sound. Repeat the testing steps many
times, the speaker still can work.
[Regression Potential]
Very low, since the 1st patch just add the support for a new codec alc257, it
will not affect other codecs. The 2nd patch just apply a fix for alc257, it
doesn't affect other codecs too. And both of them come from mainline and
realtek.
Changed in linux-oem (Ubuntu): | |
importance: | Undecided → Critical |
tags: | added: originate-from-1742854 sutton |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
status: | New → Invalid |
Changed in linux (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem (Ubuntu Artful): | |
status: | New → Invalid |
Changed in linux (Ubuntu Artful): | |
status: | New → Fix Committed |
Changed in linux-oem (Ubuntu Xenial): | |
status: | New → Fix Committed |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
tags: |
added: verification-done-artful removed: verification-needed-artful |
Changed in linux-oem (Ubuntu): | |
status: | New → Fix Released |
Changed in hwe-next: | |
status: | New → Fix Released |
tags: | added: cscc |
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- xenial' to 'verification- done-xenial' . If the problem still exists, change the tag 'verification- needed- xenial' to 'verification- failed- xenial' .
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!