Subject: kern/35980: mixerctl is bonkers
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jonathan Perkin <jonathan@perkin.org.uk>
List: netbsd-bugs
Date: 03/11/2007 22:15:00
>Number:         35980
>Category:       kern
>Synopsis:       mixerctl stepping is not as you would expect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 11 22:15:00 +0000 2007
>Originator:     Jonathan Perkin
>Release:        NetBSD 4.99.13
>Organization:
Very little
>Environment:
System: NetBSD bagpuss.adsl.perkin.org.uk 4.99.13 NetBSD 4.99.13 (GENERIC.MPACPI) #0: Tue Mar 6 14:24:59 PST 2007 builds@wb44:/home/builds/ab/HEAD/i386/200703060002Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC.MPACPI i386
Architecture: i386
Machine: i386

Relevant audio bits:
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 16 (irq 11)
azalia0: host: Intel 82801FB/FR High Definition Audio Controller (rev. 4)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec[0]: Realtek ALC260 (rev. 4.0)
azalia0: codec[0]: High Definition Audio rev. 1.0
azalia0: playback: max channels=2, encodings=1<PCM>
azalia0: playback: PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: recording: max channels=2, encodings=1<PCM>
azalia0: recording: PCM formats=60160<20bit,16bit,96kHz,48kHz,44.1kHz>
azalia0: codec[1]: 0x11c1/0x3026 (rev. 6.0)
azalia0: codec[1]: High Definition Audio rev. 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1] has no audio function groups
audio0 at azalia0: full duplex, independent

>Description:
	Best served by an example:

	# mixerctl -w outputs.master=120
	outputs.master: 255,255 -> 119,119
	# mixerctl -w outputs.master=119
	outputs.master: 119,119 -> 115,115
	# mixerctl -w outputs.master=115
	outputs.master: 115,115 -> 111,111
	[.. etc. ..]

	and the same for other MIBs, e.g. inputs.{mic,cd}, record.adc0{4,5}

>How-To-Repeat:
	See above.
>Fix:
	Don't know, sorry, probably delves deep into the audio subsystem.