From nobody Fri May 19 19:27:57 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QNH1V43s7z4CHsK for ; Fri, 19 May 2023 19:27:58 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QNH1T3zgQz3HCc for ; Fri, 19 May 2023 19:27:57 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b="T43Bx/7d"; spf=pass (mx1.freebsd.org: domain of freebsdlouisville@gmail.com designates 2607:f8b0:4864:20::82d as permitted sender) smtp.mailfrom=freebsdlouisville@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qt1-x82d.google.com with SMTP id d75a77b69052e-3f52d303bcdso36984841cf.0 for ; Fri, 19 May 2023 12:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684524477; x=1687116477; h=in-reply-to:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=TSYXtDsEGnH8MWmI1kmyAnLtTPqPO6ELbP9XJj3T7Ls=; b=T43Bx/7dBhCM9PVQBf7uDwaHGH5ZnBVZitd4n2ClXMBvB4RWLV+q/dErAHW1vt44Xq Yot+riAM/Z+DeuyvCNJTStF+/uRWbxnAnxcMGfcd5/+cj2va3namIbwbQtRAaa/J/SoD T5cWr9c9JYLUisgiX2uGFFL3rAOUC2eNMY4HlBErDJwfOMDLv55HEtkxyYeue2cYi/SH SARkYjNXyow81JmfXanSnjuT9w8p4mcBM1dxr7A8jNpQS9Gup89UM0UjtYrQx6zn3Wr0 9euDHM6NkzpfC4ijGF4/SRzlaPp8tYDdZXIAaCFYxd1572vLg5VP+HRHRVkRwojF9Q1U Qgeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684524477; x=1687116477; h=in-reply-to:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TSYXtDsEGnH8MWmI1kmyAnLtTPqPO6ELbP9XJj3T7Ls=; b=Ws2gy2J13i0REz6qDnBJmQPiqjxZvH3yOiIa4o09F8bNqBVsM+oj6ioSg/Hmys+60l 46Kj+b7FAW7GSugXoiW0wRvnChJiAar0wQKNaRtTbIS2JakxtuU+vxuHpyvDXWhhrtkr B7Q+lDhpj5HFJb04Wu2cu8NYN3NCKPr+5pou/cH/9qqAjQ4w+3d1aU4KkJmIy2MV16mB qKk2EILO/Dc4W3fshJFrV8PhEXfuJThhmIXcdKAbxGOGo1eKZX36cG6Z7a+MSTy31B7t TufitOdjWS1yzpnb9LgOKxAycyoK00cXv8ntTxWnvntyVcHcf5GES7MGQz5g399FvFU5 oikA== X-Gm-Message-State: AC+VfDyvK5V9Umvv/kYlFUToAN1fC002hgplFoRY3hgYDlXRWTmtNunZ xTv0cRG598RXj29scrLkoU++1l+q/HjW3w== X-Google-Smtp-Source: ACHHUZ6Ezo31hG3JGoWNg/rOfevsN54LJEcaVFisrgbZgMvLBHws+l6npqk4bByAatN3xjCNBbJqJw== X-Received: by 2002:ac8:5e50:0:b0:3f4:efa2:a70b with SMTP id i16-20020ac85e50000000b003f4efa2a70bmr5111996qtx.58.1684524476740; Fri, 19 May 2023 12:27:56 -0700 (PDT) Received: from [192.168.2.5] (254.sub-75-221-175.myvzw.com. [75.221.175.254]) by smtp.gmail.com with ESMTPSA id f23-20020a05620a15b700b007591cc41ed6sm1322826qkk.25.2023.05.19.12.27.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 May 2023 12:27:55 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Content-Type: multipart/alternative; boundary="------------ru00Yw6GevB34M8yTC76C9Vf" Message-ID: <5c8a76ef-dbb2-b676-216b-2cb46ff3d943@Gmail.com> Date: Fri, 19 May 2023 15:27:57 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: Sound support Content-Language: en-US To: Vlad Markov , questions@freebsd.org References: <278bd4a8-8a36-984c-78b8-3b66af48befa@Gmail.com> <20230516174318.760ad9db@happy.dwarf7.net> In-Reply-To: <20230516174318.760ad9db@happy.dwarf7.net> X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82d:from]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_TO(0.00)[optonline.net,freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org] X-Rspamd-Queue-Id: 4QNH1T3zgQz3HCc X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N 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 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: (play/rec) default >>> pcm1: (play/rec) >>> pcm2: (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 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


On 5/16/2023 5:43 PM, Vlad Markov wrote:
On Sun, 14 May 2023 15:16:30=
 +0200
Yuri &=
lt;yuri@aetern.org> wrote:

Steven Friedrich wrote:
On 5/13/23 2:22 PM, Stev=
en 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:

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
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 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.
FreeBSD Bugzilla =E2=80=93 Bug=C2=A0254200
 but it was closed as a dupl=
icate of bug 237340=20
which has been ignored for years.=C2=A0 This is why I stopped using FreeBSD a few years ago.

    
--------------ru00Yw6GevB34M8yTC76C9Vf--