Subject: kern/15663: emuxki(4) still forgets volume settings
To: None <>
From: Matthias Scheler <>
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
>Release:        NetBSD 1.5ZA 2002-02-18 sources
Matthias Scheler                        
System: NetBSD 1.5ZA NetBSD 1.5ZA (LYSSA) #1: Mon Feb 18 22:11:17 CET 2002 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

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.

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.

Sorry, I don't know.