Christian Koch


Misc/NetBSD Tips and Tricks

mixerctl(1)/hdaudio(4) settings

My old Sony Vaio (Sony VGN-CR520E) has a surprising number of audio options. After a ton of trial and error, I have figured out what hdaudio(4)’s parameters mean on my machine.

inputs.reclvl         # Line in input gain (gets recorded)
inputs.reclvl.mute    # Line in input un/mute toggle
inputs.record         # Line in monitor output volume
inputs.record.mute    # Line in monitor un/mute toggle
inputs.record2        # Built-in microphone monitor output volume
inputs.record2.mute   # Built-in microphone monitor un/mute toggle
inputs.beep           # System beep output volume
inputs.beep.mute      # System beep un/mute toggle
inputs.beep2          # /dev/speaker output volume
inputs.beep2.mute     # /dev/speaker un/mute toggle
outputs.master        # Master output volume
outputs.master2       #
outputs.master2.mute  # Master un/mute toggle
outputs.master3       #
outputs.master3.mute  #
outputs.master4       #
outputs.master4.mute  #
outputs.master5       #
outputs.master5.mute  #
record.mic            #
record.monitor        #
record.mic2           #
record.mic2.mute      #
inputs.reclvl2        # Built-in microphone input gain (gets recorded)
inputs.reclvl2.mute   # Built-in microphone input un/mute toggle
inputs.beep3          #
inputs.beep3.mute     #
inputs.beep4          #
inputs.beep4.mute     #
inputs.record3        #
inputs.record3.mute   #
outputs.dacsel        # Digital-to-analog converter device
record.source         # Analog-to-digital converter device

Hey, at least it’s more readable than the output azalia(4) made. That driver totally sucks.