Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#10495 - Kernel 2.6.25 snd_hda_intel no sound after suspend/resume
Attached to Project:
Arch Linux
Opened by kujub (kujub) - Sunday, 25 May 2008, 08:56 GMT
Last edited by Greg (dolby) - Tuesday, 17 June 2008, 20:20 GMT
Opened by kujub (kujub) - Sunday, 25 May 2008, 08:56 GMT
Last edited by Greg (dolby) - Tuesday, 17 June 2008, 20:20 GMT
|
DetailsDescription:
Kernel 2.6.25 snd_hda_intel no sound after suspend/resume. Unloading and reloading the snd_hda_intel module (followed by /usr/sbin/alsactl restore) makes the sound work again. Upsteam bug: http://bugzilla.kernel.org/show_bug.cgi?id=10662 Additional info: * package version(s) kernel26 2.6.25.4-1 Steps to reproduce: Suspend to disk. Resume. No sound. |
This task depends upon
Closed by Greg (dolby)
Tuesday, 17 June 2008, 20:20 GMT
Reason for closing: Fixed
Additional comments about closing: The patch made it in 2.6.25.7: http://www.kernel.org/pub/linux/kernel/v 2.6/ChangeLog-2.6.25.7
Tuesday, 17 June 2008, 20:20 GMT
Reason for closing: Fixed
Additional comments about closing: The patch made it in 2.6.25.7: http://www.kernel.org/pub/linux/kernel/v 2.6/ChangeLog-2.6.25.7
I've tried somethings and I'm not sure what fixed it, but you should start running alsaconf from the alsa-utils package. We can try other things if it does not work.
# fuser -k /dev/snd/*
# aconnect --removeall
# rmmod snd_hda_intel
# modprobe snd_hda_intel
Check your volume levels and see if works. Then we can think of a way to do it automatically.
By the way, my audio card is:
# lspci | grep Audio
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
I don't want to kill my apps !
I will stay with 2.6.24 until this is getting fixed (upstream).
Thank you anyway.
( Tip: If you realy want to do it automatically,
put a scriptlet into /etc/pm/sleep.d/ - some examples are in /usr/lib/pm-utils/sleep.d/
and maybe a config file into /etc/pm/config.d/ - example is /usr/lib/pm-utils/defaults )
options snd-hda-intel model=3stack-dig
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
Reload the module as in the dirty workaround or do a clean reboot. The following models are available: http://www.mjmwired.net/kernel/Documentation/sound/alsa/ALSA-Configuration.txt
I find out my card was ALC883 looking at everything.log (not at lspci output). There was "hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...".
I found the same message about ALC883 in /var/log/messages and I even know about the model parameters in ALSA-Configuration.txt, but I never thought this would help in this case since it worked with 2.6.24 without this trick :-/
(I had to use options snd-hda-intel model=6stack-dig because I have 6 jacks on the backside of my box.)
Will report this upstream too ...
commit 07bc76dfa19b10017b518dd9aa1b2719e8c863de
Author: Takashi Iwai <tiwai@suse.de>
Date: Tue Jun 3 14:46:34 2008 +0200
[ALSA] hda - Fix resume of auto-config mode with Realtek codecs
The auto-config mode of Realtek ALC codecs has a bug since 2.6.25
that it cannot resume properly. The problem was the wrong assignment
of init_hook that overrides the whole initialization.
Relevant bug reports:
http://bugzilla.kernel.org/show_bug.cgi?id=10662
https://bugzilla.novell.com/show_bug.cgi?id=385473
Signed-off-by: Takashi Iwai <tiwai@suse.de>
The patch made it in 2.6.25.7: http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.25.7