Subject: kern/14995: emuxki(4) resets volume on open sometimes open
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 12/18/2001 17:34:56
>Number: 14995
>Category: kern
>Synopsis: emuxki(4) resets volume on open sometimes open
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 18 08:35:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.5Z 2001-12-17 sources
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 1.5Z NetBSD 1.5Z (LYSSA) #0: Mon Dec 17 17:56:13 CET 2001 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
I've got a SBLive 5.1 Player in my system which is probed like this:
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, Rockwell 3D
audio0 at emuxki0: full duplex, mmap, independent
I initialize volume and some other parameters during system startup
in "/etc/rc.local" with these commands:
mixerctl -w outputs.master=183,183 >/dev/null
mixerctl -w inputs.line=135,135 >/dev/null
mixerctl -w inputs.line.mute=off >/dev/null
I used this method with my Soundblaster PCI 128 for years succesfully.
With the SBLive! the volumes gets reset very often as soon as "mpg123"
starts. After a few rounds of the sequence described below the volume
finally stays at 183.
This problem is *not* related to any other mix application. I've
explicitly checked that.
>How-To-Repeat:
mixerctl -w outputs.master=183,183
mpg123 -v ...
mixerctl outputs.master
>Fix:
None provide.
>Release-Note:
>Audit-Trail:
>Unformatted: