NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/53802: audioctl not working for usb audio dev
The following reply was made to PR kern/53802; it has been noted by GNATS.
From: scole_mail <scole_mail%gmx.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/53802: audioctl not working for usb audio dev
Date: Fri, 21 Dec 2018 10:43:15 -0800
Tetsuya Isaki <isaki%pastel-flower.jp@localhost> writes:
>
> Please show your
> "/usr/bin/mixerctl -d /dev/mixer0 -a -v" and
> "/usr/bin/mixerctl -d /dev/mixer1 -a -v" ?
>
# /usr/bin/mixerctl -d /dev/mixer0 -a -v
inputs.reclvl=80,80 volume delta=5
inputs.reclvl.mute=on [ off on ]
inputs.reclvl2=80,80 volume delta=5
inputs.reclvl2.mute=on [ off on ]
inputs.record=184,184 volume delta=8
inputs.record.mute=on [ off on ]
inputs.record2=184,184 volume delta=8
inputs.record2.mute=on [ off on ]
inputs.record3=184,184 volume delta=8
inputs.record3.mute=on [ off on ]
outputs.master=48,48 volume delta=3
outputs.master2=0,0 volume delta=256
outputs.master2.mute=off [ off on ]
outputs.master3=0,0 volume delta=256
outputs.master3.mute=off [ off on ]
outputs.master4=192,192 volume delta=3
outputs.master5=0,0 volume delta=256
outputs.master5.mute=off [ off on ]
outputs.master6=0,0 volume delta=256
outputs.master6.mute=off [ off on ]
outputs.master7=192,192 volume delta=3
outputs.master8=0,0 volume delta=256
outputs.master8.mute=off [ off on ]
outputs.master9=0,0 volume delta=256
outputs.master9.mute=off [ off on ]
outputs.master10=192,192 volume delta=3
outputs.master11=0,0 volume delta=256
outputs.master11.mute=off [ off on ]
outputs.master12=0,0 volume delta=256
outputs.master12.mute=off [ off on ]
outputs.master13=0,0 volume delta=256
outputs.master13.mute=off [ off on ]
outputs.master14=0,0 volume delta=256
outputs.master14.mute=off [ off on ]
outputs.master15=0,0 volume delta=256
outputs.master15.mute=off [ off on ]
outputs.master16=0,0 volume delta=256
outputs.master16.mute=off [ off on ]
record.mic=0,0 volume delta=64
record.monitor=0,0 volume delta=64
inputs.line=0,0 volume delta=64
outputs.master17=0,0 volume delta=256
outputs.master17.mute=off [ off on ]
inputs.reclvl3=0,0 volume delta=256
inputs.reclvl3.mute=on [ off on ]
inputs.record4=0,0 volume delta=256
inputs.record4.mute=off [ off on ]
record.mic2=0,0 volume delta=256
record.mic2.mute=on [ off on ]
inputs.line2=0,0 volume delta=256
inputs.line2.mute=on [ off on ]
inputs.record5=0,0 volume delta=256
inputs.record5.mute=off [ off on ]
outputs.master18=192,192 volume delta=3
outputs.master19=0,0 volume delta=256
outputs.master19.mute=off [ off on ]
outputs.master20=0,0 volume delta=256
outputs.master20.mute=off [ off on ]
outputs.dacsel=DAC00,DAC01,DIG02 { DAC00 DAC01 DIG02 }
record.source=ADC03,ADC04,DIG-In05 { ADC03 ADC04 DIG-In05 }
# /usr/bin/mixerctl -d /dev/mixer1 -a -v
record.sel8-i10=1 [ 1 ]
outputs.speaker.mute=off [ off on ]
outputs.speaker=186,186 volume delta=7
record.mic.mute=off [ off on ]
record.mic=146 volume delta=7
record.mic.agc=on [ off on ]
inputs.mic.mute=on [ off on ]
inputs.mic=132 volume delta=8
Looks like you are correct. I can adjust volume with mixerctl instead
mixerctl -d /dev/mixer1 -w outputs.speaker=150
I saw that audioctl1 had play.gain with a value and thought it could be
changed in the same way. It wasn't obvious to me which of the audio
devices (audio/mixer/audioctl/sound) should be used.
I guess this PR can be closed.
Thank you
Home |
Main Index |
Thread Index |
Old Index