On NetBSD 10.0 BETA, amd64, build of 10 Jan 23, on an asus laptop I face
this problem:
If I use a 3.5mm headphone jack the audio is of very poor quality, barely
some sort of a noise.
If I insert the jack partially, then the audio is proper, but only through
the left speaker.
The outputs.master2 control seems to be relevant to the headphone jack.
Have set others to 0.
$ mixerctl -a
outputs.master=0,0
outputs.master2=254,254
inputs.reclvl=92,92
inputs.reclvl.mute=on
outputs.master3=0,0
outputs.master3.mute=off
record.monitor=0,0
outputs.master4=0,0
outputs.master4.mute=off
inputs.reclvl2=0,0
inputs.reclvl2.mute=on
outputs.dacsel=DAC00,DAC01
record.source=ADC02
Possibly relevant bits of dmesg
$ grep audio /var/run/dmesg.boot
hdaudio0 at pci0 dev 14 function 0: HD Audio Controller
hdaudio0: interrupting at msi0 vec 0
hdaudio0: HDA ver. 1.0, OSS 6, ISS 7, BSS 0, SDO 1, 64-bit
hdafg0 at hdaudio0 vendor 0x10EC product 0x0256 nid 0x01: Realtek product 0256
nid=02 [audio output] [source: dac]
nid=03 [audio output] [source: dac]
audio0 at hdafg0: playback, capture, full duplex, independent
audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
spkr0 at audio0: PC Speaker (synthesized)
hdafg1 at hdaudio0 vendor 0x8086 product 0x280D nid 0x01: Intel HDMI/DP
nid=02 [audio output] [source: dac]
audio1 at hdafg1: playback, capture, full duplex, independent
audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
spkr1 at audio1: PC Speaker (synthesized)
Note: On Linux the headphone jack works fine, with fully inserted jack
both left and right speakers work. So no hardware issue.
Please help.