Subject: kern/15663: emuxki(4) still forgets volume settings
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 02/18/2002 22:52:00
>Number:         15663
>Category:       kern
>Synopsis:       emuxki(4) still forgets volume settings
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 18 13:53:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5ZA 2002-02-18 sources
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 1.5ZA NetBSD 1.5ZA (LYSSA) #1: Mon Feb 18 22:11:17 CET 2002 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386

emuxki0 at pci0 dev 11 function 0: Creative Labs SBLive! EMU 10000 (audio multimedia, revision 0x07)
emuxki0: interrupting at irq 10
emuxki0: SigmaTel STAC9708 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at emuxki0: full duplex, mmap, independent

>Description:
The SBLive! driver still forgets the volume settings quite often. I use
the following commands in "/etc/rc.local":

mixerctl -w outputs.master=215,215 >/dev/null
mixerctl -w inputs.line=215,215 >/dev/null
mixerctl -w inputs.line.mute=off >/dev/null

For some unknown reason these settings aren't persistent always. It happens
quite often that the output master volume jumps back to 255/255.

>How-To-Repeat:
I can reproduce the problem like this:

mixerctl -w outputs.master=215,215
mpg123 -v Anything.mp3
mixerctl -a |grep outputs.master

It works right after rebooting the machine and stop at some point of time.
After the volume settings are persistant as expected.

>Fix:
Sorry, I don't know.

>Release-Note:
>Audit-Trail:
>Unformatted: