Date: Tue, 23 May 2023 10:59:23 +0200 From: Mathias Picker <Mathias.Picker@virtual-earth.de> To: Steven Friedrich <freebsdlouisville@gmail.com> Cc: questions@freebsd.org Subject: Re: Sound support Message-ID: <86h6s3o1xq.fsf@virtual-earth.de> In-Reply-To: <4542f03d-0f7e-8545-3773-6c440a56361a@Gmail.com> 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> <4542f03d-0f7e-8545-3773-6c440a56361a@Gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Steven Friedrich <freebsdlouisville@gmail.com> writes: > On 5/16/23 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.=C2=A0=20 >>>>> I don't >>>>> see any Realtek audio devices in FreeBSD 13.2-RELEASE=20 >>>>> Hardware Notes. >>>>> Am I out of luck? >>>>>=20=20=20 >>>> 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=20 >>> 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=20 >> 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=20 >> to make >> entries in /boot/loader.conf. The handbook explains how to do=20 >> this. It uses device.hints vice loader.conf. I did my setup=20 >> long ago. >> >> Good luck, >> >> Vlad >>=20=20=20 > Could someone that has audio going to hdmi on an Intel cpu,=20 > please post your > /boot/loader.conf? Hi Steven, I have absolutely nothing concerning sound in my loader.conf. The=20 only i915-related settings are # from https://vermaden.wordpress.com/2018/11/ # then modified for modern values # (mostly xxx.yyy to xxx.i915_yyy # INTEL DRM WITH graphics/drm-kmod PACKAGE (NEW) # SKIP UNNECESSARY MODE SETS AT BOOT TIME=20 # disable power-saving display c-state=20 # -1=3Dauto [default]; (-1=3Dauto [default]; 0=3Ddisable; 1=3Dup to DC5;=20 2=3Dup to DC6; 3=3Dup to DC5 with DC3CO; 4=3Dup to DC6 with DC3CO) compat.linuxkpi.i915_enable_dc=3D1 compat.linuxkpi.i915_disable_power_well=3D0 because I have problems with loosing the external monitor after=20 deep sleep. HDMI sound works without problems, on a Thinkpad X1 Yoga 3rd Gen. I=E2=80=99m not connected to the external monitor right now, so I have no=20 sndstat output for you. I=E2=80=99m running 13-STABLE from =E2=80=A6 two weeks ago I guess. Good luck, Mathias --=20 Mathias Picker=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 Gesch=C3=A4ftsf=C3=BChrer Mathias.Picker@virtual-earth.de virtual earth Gesellschaft f=C3=BCr Wissens re/pr=C3=A4 sentation mbH http://www.virtual-earth.de/ HRB126870 support@virtual-earth.de Westendstr. 142 089 / 1250 3943=20=20=20=20=20=20=20=20=20=20=20=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86h6s3o1xq.fsf>