Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 37220

Summary: the aumix-minimal loading doesnt work if sound isnt modular
Product: [Retired] Red Hat Linux Reporter: Olivier Crête <olivier.crete>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-23 17:05:58 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 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
it.


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.