From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.0.2 (X11; Linux i686; U;) Gecko/20011226 Description of problem: Red Hat 7.2 puts a post-install and a pre-remove line in /etc/modules.conf to set (and save) the mixer when sound is started (usually when first accessed) and stopped (BTW, great idea). (BTW, the installer didn't add these lines when I updated one of my machines from Red Hat 7.0, only on a new install on another machine. Anyway, that's not the bug that I'm reporting). The installer uses "sound-slot-0" as the name of the module. But, if I set RESTORESOUND="yes" on /etc/sysconfig/apmd, the post-install and pre-remove lines won't be used when the sound modules are removed and re-installed, and the mixer settings won't be saved (result: no sound after APM resume in my sound chip). Using sound-slot-0 in SOUNDMODULES= does not work, since apmscript checks if the module is there before removing it, so it won't find a module called sound-slot-0 installed. Solution: use the real module name instead of the alias sound-slot-0. In my case: post-install i810_audio /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || : pre-remove i810_audio /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || : Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install, or upgrade to, Red Hat 7.2 2. Set RESTORESOUND="yes" on /etc/sysconfig/apmd, put module names on SOUNDMODULES= 3. Do an APM suspend and resume. Notice that the mixer settings were not saved/restored. Actual Results: No sound (at least in my sound chip). Expected Results: Sound working as it was before APM suspend. Additional info:
kudzu writes the modules.conf, but apmd is also pulled in... reassigning to kudzu and cc'ing bero.
Closing out bugs on older, no longer supported releases. Apologies for any lack of response. Please attempt to confirm with more recent releases.