Bug 11279

Summary: apmscript uses insmod instead of modprobe
Product: [Retired] Red Hat Linux Reporter: Eric Jorgensen <alhaz>
Component: apmdAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-05-07 16:25:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Jorgensen 2000-05-07 16:25:56 UTC
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

Comment 1 Bernhard Rosenkraenzer 2000-06-24 22:34:43 UTC
Fixed.