Bug 11279 - apmscript uses insmod instead of modprobe
Summary: apmscript uses insmod instead of modprobe
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apmd
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-05-07 16:25 UTC by Eric Jorgensen
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-05-07 16:25:56 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.