Bug 55231

Summary: Initscripts do not load sound mixer settings
Product: [Retired] Red Hat Linux Reporter: Need Real Name <jaco_botha>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: 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-12-04 06:46: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:
Attachments:
Description Flags
modules.conf none

Description Need Real Name 2001-10-27 20:56:56 UTC
Description of Problem:
When booting into Enigma, the mixer settings are not loaded from
/etc/.aumixrc, resulting in volume being at maximum.  This problem did not
occur with Seawolf.


Version-Release number of selected component (if applicable):
6.40-1

How Reproducible:
Always.

Steps to Reproduce:
1. Reboot machine.

Actual Results:
mixer settings are at maximum.

Expected Results:
Mixer set to values in /etc/.aumixrc

Additional Information:

Comment 1 Need Real Name 2001-10-27 20:57:47 UTC
Created attachment 35267 [details]
modules.conf

Comment 2 Need Real Name 2001-10-27 21:00:22 UTC
Sound card is a PNP AWE64.

Comment 3 Need Real Name 2001-10-27 21:24:41 UTC
The fix appears to be to change the line in modules.conf to read

post-install sb ... 

instead of 

post-install sound-slot-0

Comment 4 John McCarthy 2001-12-04 06:46:52 UTC
I have the same problem except in my case (Compaq Armada 7800 laptop) the result
is feedback between the mike and speakers. My sound card is an ESS ES1879 which
also uses the sb driver
module.

The real problem is in rc.sysinit at lines 442-444.  It is looking up the alias
for sound-slot-0 and then loading the module by calling modprobe with the alias
name (sb in both our cases).  Unfortunately, as jaco_botha noted,
the post-install and pre-remove lines in /etc/modules.conf that cause
aumix-minimal to be called are for sound-slot-0 and don't get called for a
modprobe of sb.
I believe the correct fix is to change line 444 of rc.sysinit to modprobe
sound-slot-0 instead of the alias name.  This will work for any sound driver,
not just the sb driver.  I've made this change and it works great for me.

Incidentally the same thing is done for the sound alias in lines 437-441.  I
suspect this should also
modprobe the sound name instead of the alias but don't think it causes any
problems currently.

Cheers, John McCarthy.

Comment 5 Bill Nottingham 2002-01-25 05:08:56 UTC
Will be fixed in 6.51-1, thanks!