NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD hdaudio @ HDMI



Hello Jared and Nia,

Thank you very much for both your answers - they were the decisive hints :-) With the addition of the HDAUDIO_ENABLE_DISPLAYPORT option, I now have at least partial audio output, which is a huge improvement over the previous state.

There are still some small limitations at the moment, which I can live with using workarounds:

1) The output only works on the left channel, the right one remains silent. The whole cable route is ok, tested with another OS.

2) The main volume cannot be controlled with mixerctl. Regardless of the settings in mixerctl, the output is always at perceived maximum volume.

Have you experienced this before?

Many greetings
Matthias

```
mpeterma@workstation ~> audiocfg list
0: [*] audio0 @ hdafg0: Intel product 280b
       playback: 2ch, 48000Hz
       record:   2ch, 48000Hz
       (P-) slinear_le 16/16, 2ch, { 48000 }
       (P-) slinear_le 16/16, 4ch, { 48000 }
       (P-) slinear_le 16/16, 6ch, { 48000 }
       (P-) slinear_le 16/16, 8ch, { 48000 }
       (PR) slinear_le 16/16, 2ch, 48000-48000Hz


mpeterma@workstation ~> audioctl -a
name=Intel
version=product 280b
config=01h
encodings=mulaw:8*,alaw:8*,slinear:8*,ulinear:8*,slinear_le:16*,ulinear_le:16*,slinear_be:16*,ulinear_be:16*,slinear_le:32*,ulinear_le:32*,slinear_be:32*,ulinear_be:32*
properties=full_duplex,mmap,independent
full_duplex=1
fullduplex=1
blocksize=2048
hiwat=32
lowat=24
monitor_gain=0
mode=
play.rate=48000
play.channels=2
play.precision=32
play.encoding=slinear_le
play.gain=0
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=0
play.active=1
play.buffer_size=65536
record.rate=8000
record.channels=1
record.precision=8
record.encoding=mulaw
record.gain=127
record.balance=32
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0


mpeterma@workstation ~> mixerctl -a
outputs.master=0,0
outputs.master.mute=off
outputs.dacsel=DP00
```


On 08.07.21 01:48, Jared McNeill wrote:
On Mon, 5 Jul 2021, Matthias Petermann wrote:

Jul  4 23:23:02 localhost /netbsd: [   1.0088516] hdafg0: DP00 8ch: Digital Out [Jack]

[...]

I already have a self-built kernel with options HDAUDIO_ENABLE_HDMI in use[1]. However - this option is only documented in HDAUDIO(4) in current. I myself use NetBSD 9.2_STABLE here. Should this also work with it, or is this already my misunderstanding?

"DP00" means it reports itself as a display port connection and you need options HDAUDIO_ENABLE_DISPLAYPORT to attach an audio device to it.

Take care,
Jared

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Home | Main Index | Thread Index | Old Index