Comment 3 for bug 122025

Revision history for this message
rez (rezwanul-kabir) wrote : Re: Audio fails on resume from Hibernate on Lanai

The offending application seems to be mixer_applet2 ( that shows the speaker on the panel).
 By killing the applet before hibernating, the issue is resolved.
      So, I tested by creating a file, say, 71-sound-fix.sh in /etc/acpi/suspend.d/.
      In the file , I do, "killall mixer_applet2"

 However, the drawback is, upon resuming the user will see a message box which asks the user whether to load or not the volume control applet. If the user chooses to load, everything is perfect. But if he chooses not to load, then the speaker icon will be gone from the panel ( the user, however, can always add it back to panel manually).
      I don't know much about gnome applets. So, I don't know how to add and remove an applet to the panel programatically.

 The above will also let you unload the "snd_hda_intel" module. It seems mixer_applet2 is what was holding references to the module. And I have found unloading the module before hibernating and loading it back on resume does solve the problem as well. I tested this scenerio from the text console in recovery mode..