Intel HDA / Realtek ALC885: No sound after resume

Bug #270593 reported by Stefan W.
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: alsa-base

Hi,

with the configuration named above, I noticed that there is no sound after resuming from suspend/hibernate modes. Only restart helped.

For further hints, pls. also see
- the attached file which contains some relevant system/sound configuration information
- http://ubuntuforums.org/showthread.php?p=5452611

I was able to fix the problem by adding the following line to
/etc/modprobe.d/alsa-base :

options snd-hda-intel model=6stack-dig
(model based on http://www.mjmwired.net/kernel/Documentation/sound/alsa/ALSA-Configuration.txt)
I have not tested yet if "model=auto" works, as well.

Though this appears to be not an Ubuntu, but an ALSA problem, maybe the fix could be included into the standard alsa-base configuration file upon Ubuntu installation (if named sound chip is detected).

Regards,

Stefan

Revision history for this message
Stefan W. (cocteau77) wrote :
description: updated
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

What is the output of:
lspci -vn | grep -A 1 0403

Changed in alsa-driver:
status: New → Incomplete
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Also, can you please double-check that *every* sound device works with that model? By that I mean all output jacks, all input (mic) jacks, any built-in microphone you have, and the speakers?

Please also attach the full output of:
cat /proc/asound/card*/codec*

Revision history for this message
Michael (null-pointer-us) wrote :

Hi! I have the same problem and want to add some information.

The following fix works (temporarily):

https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/202089/comments/19

This seems to indicate a kernel bug.

The suggested fix worked for me:

>> I was able to fix the problem by adding the following line to
>> /etc/modprobe.d/alsa-base :

>> options snd-hda-intel model=6stack-dig

Now my computer suspends/resumes properly.

>> Also, can you please double-check that *every* sound device works with that model?

"model=auto" should work with every sound device, but there's a bug that prevents it from working on resume.

See this document:
http://bugs.archlinux.org/task/10495

"model=6stack-dig" should NOT work with every sound device. "model=auto" is the default, but, like I said, it's broken.

Here's the list of values for the model parameter:

http://www.mjmwired.net/kernel/Documentation/sound/alsa/ALSA-Configuration.txt#769

As you can see, it's quite an extensive list, and sadly it's very hardware specific. So there's really no generic fix that the Ubuntu developers can deliver. The only solution appears to be an updated kernel with a fixed snd-hda-intel module.

Revision history for this message
Stefan W. (cocteau77) wrote :

Hi, and sorry for not having answered for so long.

>What is the output of:
>lspci -vn | grep -A 1 0403

00:14.2 0403: 1002:4383
 Subsystem: 1458:a022
--
01:05.1 0403: 1002:960f
 Subsystem: 1002:960f

> Also, can you please double-check that *every* sound device works with that model?

Confirmed: Every device works.

>Please also attach the full output of:
>cat /proc/asound/card*/codec*

Pls. cp. the attached file.

Regards,
Stefan

Revision history for this message
Id2ndR (id2ndr) wrote :

I have the same trouble.

$ lspci -vn | grep -A 1 0403
00:1b.0 0403: 8086:293e (rev 02)
 Subsystem: 1462:7357

I use following line in /etc/modprobe.d/alsa-base
options snd-hda-intel model=6stack-dig

It also seems to work with the following option I used before
options snd-hda-intel model=hippo

If I run the following command after resume, the music player resume playback.
$ pasuspender echo

There is an other strange behavior :
- After resume, go to the console (Ctrl+Alt+F1)
- Go back to X session (Ctrl+Alt+F7)
=> the music player resume playback (without running any command).
Can someone confirm this ?

Revision history for this message
Vadász Zoltán B. (vadasz-zoltan) wrote :

I can confirm: after switching to console and back sound playing is ok again.

Ubuntu 8.10,
linux-image-2.6.27-7-generic 2.6.27-7.16
alsa-base 1.0.17.dfsg-2ubuntu1

Also if I resume, quit the music player and then switch to console and back whan switching back a fragment of the last played music can be heard.

In /etc/modprobe.d/alsa-base I have:
options snd-hda-intel model=6stack-dig

$ lspci -vn | grep -A 1 0403
00:1b.0 0403: 8086:293e (rev 02)
 Subsystem: 1043:8277

I can give more logs/info if needed.

Revision history for this message
Klaus Heinrich Kiwi (klauskiwi) wrote :

I can confirm this is a problem for me and all of my colleagues using Thinkpads T60/T61.

using "options snd-hda-intel model=thinkpad" apparently solved the issue. I'll report back if I find more problems.

 _Klaus_

Revision history for this message
Manoj Iyer (manjo) wrote :

Can you also confirm this issue exists with the most recent Karmic Koala 9.10 Alpha release? ISO CD images are available at http://cdimage.ubuntu.com/releases/karmic/ . If the issue remains with Karmic it would be great to then also test the latest upstream mainline kernel available. This will allow additional upstream developers to examine this issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Thanks in advance.

Revision history for this message
Rising Eagle (borntobesteve) wrote :

Confirmed on Koala alpha-6

I have a gateway E-475M which uses the HDA driver

The output of
lspci -vn | grep -A 1 0403
is
00:1b.0 0403: 8086:284b (rev 03)
 Subsystem: 107b:0370

I have not applied the fix yet.

Revision history for this message
Rising Eagle (borntobesteve) wrote :

Additional note. In order to restore sound, I quit from the rhythmbox applet
and restart rhythmbox from the applications menu.

>> Vadász Zoltán B. wrote on 2008-11-09:
>> . . . .
>> Also if I resume, quit the music player and then switch to console and back whan
>> switching back a fragment of the last played music can be heard.
>> . . . .

I also experience this symptom.

Revision history for this message
Gertjan (gertjan-hofman) wrote :

Can confirm on Karmic beta, updated till 21/oct/2009. No sound after resume/suspend, only fix is a reboot. Tried alsa --force-reload and a bunch of other things.

gateway:/data/work/kernels/linux-2.6.31.4> lspci -vn | grep -A 1 0403
00:1b.0 0403: 8086:284b (rev 03)
 Subsystem: 107b:0380

Have not tried above suggested fix yet.

Thanks

Gertjan

Revision history for this message
Gertjan (gertjan-hofman) wrote :

Addendum: logging out, (killing pulse-audio) followed by alsa force-reload re-instates sound.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
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.