Subject: Re: misc/33481: mixerctl man page mistake
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: George Peter Staplin <georgeps@xmission.com>
List: netbsd-bugs
Date: 05/30/2006 18:35:02
The following reply was made to PR misc/33481; it has been noted by GNATS.
From: George Peter Staplin <georgeps@xmission.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: misc/33481: mixerctl man page mistake
Date: Tue, 30 May 2006 12:32:29 -0600
Quoted ITOH Yasufumi <itohy@NetBSD.org>:
> The following reply was made to PR misc/33481; it has been noted by GNATS.
>
> From: itohy@NetBSD.org (ITOH Yasufumi)
> To: gnats-bugs@NetBSD.org
> Cc: misc-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
> netbsd-bugs@NetBSD.org
> Subject: Re: misc/33481: mixerctl man page mistake
> Date: Tue, 30 May 2006 22:48:15 +0900 (JST)
>
> In article <20060515024501.0B00C63BA25@narn.NetBSD.org>
> georgeps@xmission.com writes:
>
> > >Description:
> > The mixerctl manual page has a mistake in the example.
> >
> > "record.record.source=mic [ mic cd dac ]"
> >
> > I think it should be:
> >
> > "record.source=mic [mic cd dac]"
>
> Hmm.
> Mine is
>
> ym0 at pnpbios0 index 22 (YMH0021)
> ym0: io 220-22f 530-537 388-38f 330-331 370-371, irq 5, dma 1 0
> ym0: OPL3-SA3
> audio0 at ym0: full duplex, mmap
> opl0 at ym0: model OPL3
> midi0 at opl0: OPL3-SA3 Yamaha OPL3
> mpu0 at ym0
> midi1 at mpu0: OPL3-SA3 MPU-401 MIDI UART
>
> and the mixer is
>
> % mixerctl -av
> inputs.dac=224,224 volume delta=4
> inputs.dac.mute=off [ off on ]
> inputs.midi=184,184 volume delta=8
> inputs.midi.mute=off [ off on ]
> inputs.cd=220,220 volume delta=8
> inputs.cd.mute=on [ off on ]
> inputs.line=220,220 volume delta=8
> inputs.line.mute=on [ off on ]
> inputs.speaker=0 volume delta=16
> inputs.speaker.mute=on [ off on ]
> inputs.mic=0 volume delta=8
> inputs.mic.mute=on [ off on ]
> monitor.monitor=0 volume delta=4
> monitor.monitor.mute=on [ off on ]
> record.record=144,144 volume delta=16
> record.record.source=mic [ mic line dac cd ]
> outputs.master=144,144 volume delta=16
> outputs.master.mute=off [ off on ]
> power.save=powersave [ powerdown powersave nosave ]
> power.save.timeout=5 timeout
> equalization.mode=hifi [ desktop laptop subnote hifi ]
> equalization.treble=240,240 treble delta=16
> equalization.bass=128,128 bass delta=16
> equalization.surround=0,0 surround delta=32
> %
>
> so the manual is correct for me.
> I wonder which shoud we use....
>
> --
> ITOH Yasufumi
Strange, this is my x86 box running NetBSD 3.0:
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
...
audio0 at auich0: full duplex, independent
$ mixerctl -av
outputs.master=87,87 volume delta=8
outputs.master.mute=off [ off on ]
outputs.mono=255 volume delta=4
outputs.mono.mute=on [ off on ]
outputs.mono.source=mixerout [ mixerout mic ]
outputs.surround=127,127 volume delta=8
outputs.surround.mute=off [ off on ]
outputs.center=127 volume delta=8
outputs.center.mute=off [ off on ]
outputs.lfe=127 volume delta=8
outputs.lfe.mute=off [ off on ]
inputs.speaker=255 volume delta=16
inputs.speaker.mute=off [ off on ]
inputs.phone=191 volume delta=8
inputs.phone.mute=on [ off on ]
inputs.mic=191 volume delta=8
inputs.mic.mute=on [ off on ]
inputs.mic.preamp=off [ off on ]
inputs.mic.source=mic0 [ mic0 mic1 ]
inputs.line=191,191 volume delta=8
inputs.line.mute=off [ off on ]
inputs.cd=191,191 volume delta=8
inputs.cd.mute=off [ off on ]
inputs.video=255,255 volume delta=8
inputs.video.mute=off [ off on ]
inputs.aux=191,191 volume delta=8
inputs.aux.mute=off [ off on ]
inputs.dac=175,175 volume delta=8
inputs.dac.mute=off [ off on ]
record.source=mic [ mic cd video aux line mixerout mixeroutmono phone ]
record.volume=0,0 volume delta=16
record.volume.mute=off [ off on ]
$
Perhaps it's a port difference, or driver issue? I'm somewhat interested in
writing a portable mixer GUI for NetBSD that supports all of the mixerctl
knobs, but I suppose I could base it on whatever controls/knobs are
available, and that's a better design anyway :)
I just noticed in the manual (and had not before): "The exact set of controls
that can be manipulated depends on the mixer."
So, I guess it is not a bug, but rather a hardware/driver difference.
Thanks,
George
--
George Peter Staplin
http://www.xmission.com/~georgeps/ http://whim.linuxsys.net