Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2023 17:43:18 -0400
From:      Vlad Markov <dvoich@optonline.net>
To:        questions@freebsd.org
Subject:   Re: Sound support
Message-ID:  <20230516174318.760ad9db@happy.dwarf7.net>
In-Reply-To: <f26db380-5287-3b4c-6e0e-afa80227a039@aetern.org>
References:  <278bd4a8-8a36-984c-78b8-3b66af48befa@Gmail.com> <e7570989-f567-690b-3c14-aff83b1db7d6@Gmail.com> <f26db380-5287-3b4c-6e0e-afa80227a039@aetern.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 May 2023 15:16:30 +0200
Yuri <yuri@aetern.org> wrote:

> Steven Friedrich wrote:
> > On 5/13/23 2:22 PM, Steven Friedrich wrote: =20
> >> I have an HP Slimline with a Realtek ALC3601 audio device.=C2=A0 I don=
't
> >> see any Realtek audio devices in FreeBSD 13.2-RELEASE Hardware Notes.
> >> Am I out of luck?
> >> =20
> > There are no pcm devices in /dev, but sndstat says:
> >=20
> > cat /dev/sndstat
> > Installed devices:
> > pcm0: <Realtek ALC671 (Rear Analog)> (play/rec) default
> > pcm1: <Realtek ALC671 (Analog)> (play/rec)
> > pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play)
> > No devices installed from userspace.
> >=20
> > Does this mean no sound driver accepted these devices? =20
>=20
> Devices are called /dev/dsp*, see sound(4) man page (at least the FILES
> section).
>=20
> $ ls /dev/pcm*
> zsh: no matches found: /dev/pcm*
> $ cat /boot/kernel/kernel > /dev/dsp
> (alien sounds)
>=20

I don't see any responses so here is my experience.

Yes, a sound driver was found for your devices.

cat someRandomFile > /dsp, should send out some noise.

It may not, in which case check the mixer. /usr/sbin/mixer comes with the s=
ystem. It is possible the volume is off.

Still no joy? I don't remember how I figured this out but I had to make
entries in /boot/loader.conf. The handbook explains how to do this. It uses=
 device.hints vice loader.conf. I did my setup long ago.

Good luck,

Vlad
=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230516174318.760ad9db>