On Oct 17 11:12:28, cpb_t...@bennettconstruction.us wrote: > On Sat, Oct 17, 2020 at 05:52:58PM +0200, Jan Stary wrote: > > Currently, mixerctl.conf(5) says > > > > Most devices have a number of digital to analogue converters > > (DACs), used for sound playback, and each DAC has a corresponding > > output mixer. The mixers are labelled “mix” or “sel”. > > > > That doesn't seem to be the case, at least not universaly > > as the wording seems to imply. For example, this is > > mixerctl output on a Thinkpad T400: > > > > inputs.dac-0:1=222,222 > > inputs.dac-2:3=222,222 > > inputs.beep=0 > > record.adc-2:3_source=mic2 > > record.adc-2:3=219,219 > > record.adc-0:1_source=mic > > record.adc-0:1=219,219 > > outputs.hp_source=dac-0:1 > > outputs.hp_boost=on > > inputs.mic=189,189 > > outputs.mic_dir=input-vr80 > > outputs.spkr_source=dac-2:3 > > outputs.spkr_eapd=on > > inputs.mic2=189,189 > > outputs.hp_sense=unplugged > > outputs.mic_sense=unplugged > > outputs.master=240,240 > > outputs.master.mute=off > > outputs.master.slaves= > > record.volume=240,240 > > record.volume.mute=off > > record.volume.slaves= > > record.enable=sysctl > > > > Apparently, it has two DACS (for the speakers and the headphones). > > The current wording might confuse the user into thinking he has > > no output mixer, but the > > > > inputs.dac-0:1=222,222 > > inputs.dac-2:3=222,222 > > > > do control the respective volumes, > > while no "mix" or "sel" exists. > > > > Similarly for recording via the two ADCs. > > > > > > Jan > > > Thank you! +1 > > I had no idea what was going on and had basically given up on having the > speakers off. > > changing outputs.master moves BOTH inputs.dac. Which is superbly > confusing!
I balieve this is the purpose of outputs.master - it sets the volume for multiple widgets; outputs.master.slaves says which. See azalia(4). > Now I just manually changed each inputs.dac alone. You are not supposed to tweak these controls directly; that's mixerctl does, and it requires root privileges. Try to set your controls with sndioctl as a regular user.