Bug 37220 - the aumix-minimal loading doesnt work if sound isnt modular
Summary: the aumix-minimal loading doesnt work if sound isnt modular
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-04-23 17:05 UTC by Olivier Crête
Modified: 2014-03-17 02:20 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2001-04-23 17:05:58 UTC

Attachments (Terms of Use)

Description Olivier Crête 2001-04-23 17:05:54 UTC
If the sound driver is compiled in the kernel and not as a module, the
aumix-minimal loading is not run because it is inside the modules "if".

Putting it outside the "if" is the solution... The same error had been made
a few versions ago.. like in 6.0 I think....

Comment 1 Bill Nottingham 2001-04-23 18:13:08 UTC
Actually, it shouldn't be there at all. Thanks for reminding me, it will be removed
in 5.84-1.

Comment 2 Olivier Crête 2001-04-23 18:24:56 UTC
If it should be there at all, where are the mixer settings loaded then?

Comment 3 Bill Nottingham 2001-04-23 19:50:59 UTC
They should be loaded upon device registration; the cleanest way to
do that is with post-install scripts for modules.

Ideally, the modules should only be loaded on demand and there shouldn't
even be stuff in rc.sysinit for that, but ISA braindamage sort of requires

Comment 4 Olivier Crête 2001-04-23 20:26:11 UTC
Is there such a script included in RH7.1 ? If so, where? (which packages?)

Comment 5 Bill Nottingham 2001-04-23 20:37:53 UTC
By post-install scripts for modules, I simply mean in modules.conf

post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L

Unfortunately, I don't think this works for the static case.

Comment 6 Olivier Crête 2001-04-26 15:58:22 UTC
I still believe that the right solution for the static case is for it to be in
the rc.sysinit. Putting before any sound module can be loaded will make sure
that it is just triggered in the static case.

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