no sound after resume with snd-intel8x0 driver and alsa on IBM TP X24 - solved
i have found different suggestions - and statements about whether this problem actually exists. it did for me.
with Debian GNU/Linux ranging from sarge to etch and lenny, and corresponding alsa packages, from kernel 2.6.17 up to 2.6.22 i didn’t quite manage to get sound going after resume.
-
first solution was to unload the driver and reload it again - which crashed all applications that were using sound at the time of suspend…
-
now, i only do (in /etc/hibernate/common.conf):
OnSuspend 98 /etc/init.d/alsa suspend
OnResume 04 /etc/init.d/alsa resume
OnResume 10 sleep 3 && \
amixer set Master mute >/dev/null 2>&1 && \
amixer set PCM mute >/dev/null 2>&1 && \
amixer set Mic mute >/dev/null 2>&1 && \
amixer set Mic unmute >/dev/null 2>&1 && \
amixer set PCM unmute >/dev/null 2>&1 && \
amixer set Master unmute >/dev/null 2>&1
References:
Comments:
Thanks for sharing the tip. Consider adding it to …
Unknown -
Thanks for sharing the tip. Consider adding it to http://www.thinkwiki.org/ where it might be more easily found.