Hello, I'm new to NetBSD and I'm trying to test NetBSD 10.1 as a desktop system running on an iMac12,1. Graphics worked effortlessly. My next step is to get audio working.
I followed the guide, but I can't get audio output to work. I set audiocfg default 1
, as this looks like DAC03 under this device is the speakers and DAC04 is the headphone jack. I have outputs.dacsel
set to all three in the paste, but I've tested it individually with DAC03 and DAC04 and it still isn't working. When I try audiocfg test 1
, I don't hear a thing. When using audioplay
, it takes the appropriate amount of time to play the audio file. Any ideas of what I should I try next?
$ dmesg | grep hda
[ 1.002544] hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
[ 1.002544] hdaudio0: interrupting at msi0 vec 0
[ 1.002544] hdaudio0: HDA ver. 1.0, OSS 1, ISS 0, BSS 0, SDO 1, 64-bit
[ 1.002544] hdafg0 at hdaudio0: ATI R6xx HDMI
[ 1.002544] hdafg0: HDMI00 2ch: Digital Out [Jack]
[ 1.002544] hdafg0: 2ch/0ch 32000Hz 44100Hz 48000Hz PCM16 AC3
[ 1.002544] audio0 at hdafg0: playback
[ 1.002544] hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
[ 1.002544] hdaudio1: interrupting at msi1 vec 0
[ 1.002544] hdaudio1: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
[ 1.002544] hdafg1 at hdaudio1: vendor 1013 product 4206
[ 1.002544] hdafg1: ADC00 2ch: Mic In [Built-In]
[ 1.002544] hdafg1: ADC01 2ch: Line In [Jack]
[ 1.002544] hdafg1: DIG-In02 2ch: SPDIF In [Jack]
[ 1.002544] hdafg1: DAC03 4ch: Speaker [Built-In]
[ 1.002544] hdafg1: DAC04 2ch: HP Out [Jack]
[ 1.002544] hdafg1: DIG05 2ch: SPDIF Out [Jack]
[ 1.002544] hdafg1: 4ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 PCM32 AC3
[ 1.002544] audio1 at hdafg1: playback, capture, full duplex, independent
$ audiocfg list
0: [ ] audio0 @ hdafg0: ATI R6xx HDMI
playback: 2ch, 48000Hz
record: unavailable
(P-) slinear_le 16/16, 2ch, { 32000, 44100, 48000 }
( ) ac3 16/16, 2ch, { 32000, 44100, 48000 }
(PR) slinear_le 16/16, 2ch, 48000-48000Hz
1: [*] audio1 @ hdafg1: vendor 1013 product 4206
playback: 2ch, 48000Hz
record: 2ch, 48000Hz
(PR) slinear_le 16/16, 2ch, { 32000, 44100, 48000, 88200, 96000, 192000 }
(P-) slinear_le 16/16, 4ch, { 32000, 44100, 48000, 88200, 96000, 192000 }
(PR) slinear_le 20/32, 2ch, { 32000, 44100, 48000, 88200, 96000, 192000 }
(P-) slinear_le 20/32, 4ch, { 32000, 44100, 48000, 88200, 96000, 192000 }
(PR) slinear_le 24/32, 2ch, { 32000, 44100, 48000, 88200, 96000, 192000 }
(P-) slinear_le 24/32, 4ch, { 32000, 44100, 48000, 88200, 96000, 192000 }
(PR) slinear_le 32/32, 2ch, { 32000, 44100, 48000, 88200, 96000, 192000 }
(P-) slinear_le 32/32, 4ch, { 32000, 44100, 48000, 88200, 96000, 192000 }
( ) ac3 16/16, 2ch, { 32000, 44100, 48000, 88200, 96000, 192000 }
( ) ac3 16/16, 4ch, { 32000, 44100, 48000, 88200, 96000, 192000 }
$ mixerctl -av
outputs.master=230,230 volume delta=2
outputs.master.mute=off [ off on ]
outputs.master2=230,230 volume delta=2
outputs.master2.mute=off [ off on ]
outputs.master3=230,230 volume delta=2
outputs.master3.mute=off [ off on ]
inputs.reclvl=204,204 volume delta=4
inputs.reclvl.mute=on [ off on ]
inputs.reclvl2=204,204 volume delta=4
inputs.reclvl2.mute=on [ off on ]
inputs.line=0,0 volume delta=85
record.monitor=0,0 volume delta=85
outputs.dacsel=DAC03,DAC04,DIG05 { DAC03 DAC04 DIG05 }
record.source=ADC00,ADC01,DIG-In02 { ADC00 ADC01 DIG-In02 }