No sound by default on FreeBSD-12.1-p2-amd64
Dmitrii Postolov
dpostolov at yandex.ru
Sat Feb 8 12:34:22 UTC 2020
Hi, Dmitry,
sysctl hw.snd.default_unit=0 for Back panel speakers for Intel NUC5PPYH
sysctl hw.snd.default_unit=1 for Front panel headphones for Intel NUC5PPYH
sysctl hw.snd.default_unit=3 for HDMI sound output, but NUC5 is plugged to
the display with D-Sub so I can't test HDMI sound. Intel NUC DN2820FYKH
with HDMI now on NetBSD and plugged with Back panel audio jack.
dmitrii at nuc5:~ % mixer
Mixer vol is currently set to 85:85
Mixer pcm is currently set to 100:100
Mixer igain is currently set to 0:0
Mixer ogain is currently set to 100:100
On previous letter I wrote that on FreeBSD no sound with settings by default ->
with configure sysctl hw.snd.default_unit=X (X = output device) and sound
plays only after setting sysctl dev.hdac.0.polling=1 -> some problem with
interrupts of sound device and FreeBSD sound driver. Problem only on FreeBSD.
Sound with artefacts (sound freeze) plays after sysctl dev.hdac.0.polling=1 but this
is better than nothing. On other operating systems (for example, NetBSD) sound is
fine by default on this Intel NUCs.
This is not only my problem. In Internet I search some similar issues and the
workaround always was sysctl dev.hdac.0.polling=1.
08.02.2020, 16:50, "dmn" <graahnul.grom at ya.ru>:
> On Sat, 08 Feb 2020 13:48:21 +0500
> Dmitrii Postolov <dpostolov at yandex.ru> wrote:
>
>> dmitrii at nuc5:~ % cat /dev/sndstat
>> Installed devices:
>> pcm0: <Realtek ALC283 (Analog)> (play/rec)
>> pcm1: <Realtek ALC283 (Front Analog Headphones)> (play) default
>> pcm2: <Realtek ALC283 (Internal Digital)> (play)
>> pcm3: <Intel (0x2883) (HDMI/DP 8ch)> (play)
>> No devices installed from userspace.
>
> You could try to change the default output device with
> 'sysctl hw.snd.default_unit' and use another output
> jack. I would also check the mixer(8) settings.
>
> Regards,
> Dmitry.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
---
best regards,
Dmitrii Postolov
dpostolov at yandex.ru
More information about the freebsd-questions
mailing list