Date: Fri, 19 May 2023 15:27:57 -0400 From: Steven Friedrich <freebsdlouisville@gmail.com> To: Vlad Markov <dvoich@optonline.net>, questions@freebsd.org Subject: Re: Sound support Message-ID: <5c8a76ef-dbb2-b676-216b-2cb46ff3d943@Gmail.com> In-Reply-To: <20230516174318.760ad9db@happy.dwarf7.net> References: <278bd4a8-8a36-984c-78b8-3b66af48befa@Gmail.com> <e7570989-f567-690b-3c14-aff83b1db7d6@Gmail.com> <f26db380-5287-3b4c-6e0e-afa80227a039@aetern.org> <20230516174318.760ad9db@happy.dwarf7.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------ru00Yw6GevB34M8yTC76C9Vf Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 5/16/2023 5:43 PM, Vlad Markov wrote: > 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: >>>> I have an HP Slimline with a Realtek ALC3601 audio device. I don't >>>> see any Realtek audio devices in FreeBSD 13.2-RELEASE Hardware Notes. >>>> Am I out of luck? >>>> >>> There are no pcm devices in /dev, but sndstat says: >>> >>> 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. >>> >>> Does this mean no sound driver accepted these devices? >> Devices are called /dev/dsp*, see sound(4) man page (at least the FILES >> section). >> >> $ ls /dev/pcm* >> zsh: no matches found: /dev/pcm* >> $ cat /boot/kernel/kernel > /dev/dsp >> (alien sounds) >> > 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 system. 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 > > It's been so long, I had forgotten I had submitted a bug. FreeBSD Bugzilla – Bug 254200 > but it was closed as a duplicate ofbug 237340 <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237340> which has been ignored for years. This is why I stopped using FreeBSD a few years ago. --------------ru00Yw6GevB34M8yTC76C9Vf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF= -8"> </head> <body> <p><br> </p> <div class=3D"moz-cite-prefix">On 5/16/2023 5:43 PM, Vlad Markov wrote:<br> </div> <blockquote type=3D"cite" cite=3D"mid:20230516174318.760ad9db@happy.dwarf7.net"> <pre class=3D"moz-quote-pre" wrap=3D"">On Sun, 14 May 2023 15:16:30= +0200 Yuri <a class=3D"moz-txt-link-rfc2396E" href=3D"mailto:yuri@aetern.org">&= lt;yuri@aetern.org></a> wrote: </pre> <blockquote type=3D"cite"> <pre class=3D"moz-quote-pre" wrap=3D"">Steven Friedrich wrote: </pre> <blockquote type=3D"cite"> <pre class=3D"moz-quote-pre" wrap=3D"">On 5/13/23 2:22 PM, Stev= en Friedrich wrote: =20 </pre> <blockquote type=3D"cite"> <pre class=3D"moz-quote-pre" wrap=3D"">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 </pre> </blockquote> <pre class=3D"moz-quote-pre" wrap=3D"">There are no pcm devices= in /dev, but sndstat says: 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. Does this mean no sound driver accepted these devices? =20 </pre> </blockquote> <pre class=3D"moz-quote-pre" wrap=3D""> Devices are called /dev/dsp*, see sound(4) man page (at least the FILES section). $ ls /dev/pcm* zsh: no matches found: /dev/pcm* $ cat /boot/kernel/kernel > /dev/dsp (alien sounds) </pre> </blockquote> <pre class=3D"moz-quote-pre" wrap=3D""> 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= system. 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 us= es device.hints vice loader.conf. I did my setup long ago. Good luck, Vlad =20 It's been so long, I had forgotten I had submitted a bug.</pre> </blockquote> <span style=3D"color: rgb(255, 255, 255); font-family: Verdana, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 700; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: nowrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(153, 0, 0); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">FreeBSD Bugzilla =E2=80=93 Bug=C2=A0254200</span> <blockquote type=3D"cite" cite=3D"mid:20230516174318.760ad9db@happy.dwarf7.net"> <pre class=3D"moz-quote-pre" wrap=3D""> but it was closed as a dupl= icate of <a class=3D"bz_bug_link=20 bz_status_Open " title=3D"Open - Unable to make HDMI sound work= s with HD630" href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D= 237340" style=3D"color: rgb(0, 0, 0); font-family: Verdana, sans-serif; f= ont-size: small; font-style: normal; font-variant-ligatures: normal; font= -variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans:= 2; text-align: start; text-indent: 0px; text-transform: none; white-spac= e: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; = background-color: rgb(255, 255, 255);">bug 237340</a><span style=3D"color= : rgb(0, 0, 0); font-family: Verdana, sans-serif; font-size: small; font-= style: normal; font-variant-ligatures: normal; font-variant-caps: normal;= font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start;= text-indent: 0px; text-transform: none; white-space: normal; widows: 2; = word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(= 255, 255, 255); text-decoration-thickness: initial; text-decoration-style= : initial; text-decoration-color: initial; display: inline !important; fl= oat: none;"><span>=20 </span></span></pre> </blockquote> which has been ignored for years.=C2=A0 This is why I stopped using FreeBSD a few years ago.<br> <blockquote type=3D"cite" cite=3D"mid:20230516174318.760ad9db@happy.dwarf7.net"> <pre class=3D"moz-quote-pre" wrap=3D""> </pre> </blockquote> </body> </html> --------------ru00Yw6GevB34M8yTC76C9Vf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5c8a76ef-dbb2-b676-216b-2cb46ff3d943>