Bug 11279 - apmscript uses insmod instead of modprobe
Summary: apmscript uses insmod instead of modprobe
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apmd   
(Show other bugs)
Version: 6.2
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
Depends On:
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:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-05-07 16:25:56 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

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