Red Hat Bugzilla – Bug 11279
apmscript uses insmod instead of modprobe
Last modified: 2008-05-01 11:37:55 EDT
Debugging the failure of sound to correctly resume on my toshiba portege
(yamaha opl3sa2) i discovered that /etc/sysconfig/apm-scripts/apmscript
uses insmod instead of modprobe to load sound modules on resume, thus
rendering impotent my sound configuration in conf.modules.
disabled sound support in /etc/sysconfig/apmd and created rudimentary
scripts to save a new aumixrc and then manually rmmod all sound modules on
suspend and then modprobe sound & midi and then load aumixrc on resume,
audio now works properly on resume.
propose that apmscript should use modprobe instead of insmod and also that
there would be an added benefit by sorting the order of the modules such
that sound and midi are probed before others -- in my case only those two
are needed - but some users may not have conf.modules fully configured