From nobody Thu Jul 4 16:51:25 2024 X-Original-To: freebsd-stable@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 4WFN2p2mt3z5NsvY for ; Thu, 04 Jul 2024 16:51:30 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WFN2n6XvHz4rn5; Thu, 4 Jul 2024 16:51:29 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-79c05313eb5so57038885a.1; Thu, 04 Jul 2024 09:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720111887; x=1720716687; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from:from:to :cc:subject:date:message-id:reply-to; bh=VzjxzgWxEDLBN71bshaZ8ka7CTejXhP0VlvtbjeFrXY=; b=Pcdu++GCiagGioqKI8ylYjzEAgtnttbxv/1VaPikmOVMGRzh/0GitA6m4K27ahODvz 36U77Fz+AQwrAZnbGkhsR52/3ixxoc5uPZZed1zH7dDxvxWUbD+BogpSInU7JS1+eGiW GJPSPTh37LGTkgti2gCSUKEOGTt5iGULF6E2hdZvFjsbc8N5m7W9AG6PkJnnPo7VrY/V kw/gra9E7SRRRQIXLvu/hmr5yfEZe7LwJhJKsAiTchbhXNRwpJVtEV96quHpSEnX4oXb ieaY80q6EgnzH2igXBqvhuRZPSGCDt1verXOZ9Y2KNpcetynELb99YU4GQCI2SLmlKmz qiGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720111887; x=1720716687; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VzjxzgWxEDLBN71bshaZ8ka7CTejXhP0VlvtbjeFrXY=; b=Ip3xyiJMLmfUO4v9EJ+0G42tlRj9wiMprE7V5EB9s5uyqIySGRC7gcC9KrJ2sjLNsq Ehuso3LWtdrm4ZD0f+p6+guTJY68+KcvHrdgNOq1VrfdBM4O6q9VKf1ROcWq2ZCzgpaO zKeM1NM1//V8BMCog4U+S2eTBTTKUgxqltZmZzOa43GFKD26r8o9BBfj/PE/uHbxlklV qkmlolEbBWTQ05ryW1LljTvesxFEHvb85qhbyw+aEH+XZHEM1BRxs9KZydhTYfPiwKEH ZDsXHXTkxzXvKjAKAFgDWj42ELyTHfwLOyjqYNC3PCYMLE4iL9pKJidpBQf9iMvTjYum PXpQ== X-Forwarded-Encrypted: i=1; AJvYcCUdlR/uZwfR8NzmDxevdzR47tIogehoY1nNUmKMVP6uDyua7RCMvCYWaJ5VRgxJyeqQ2c/P70oVjsOX7eTb6pC1gpqpj9DRnXzgoQ== X-Gm-Message-State: AOJu0Yw4DNE+BfF8Ayc1E2Rc2WBMk1t3L8SUE26aM+RLifGbFH+thp3R Z0x6VpDcH5ojbORm3QdXZRd6+CikrZ3SXhI9TjI+/sSssZA7g+SErz2oEQ== X-Google-Smtp-Source: AGHT+IHiOEFl+/cpLNJl0hJI8/tbrx3mzV24pb8a/DYiMmFtYKrV6FfbvywwRfDeGTDzm+pMvrjbbA== X-Received: by 2002:a05:620a:b0e:b0:79d:72fc:7f2e with SMTP id af79cd13be357-79eee2e4f66mr212963885a.78.1720111887625; Thu, 04 Jul 2024 09:51:27 -0700 (PDT) Received: from ?IPV6:2600:1015:a032:296:5cc1:62c7:acd0:18eb? ([2600:1015:a032:296:5cc1:62c7:acd0:18eb]) by smtp.gmail.com with ESMTPSA id af79cd13be357-79d6925ecb3sm693101685a.10.2024.07.04.09.51.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jul 2024 09:51:27 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Message-ID: Date: Thu, 4 Jul 2024 12:51:25 -0400 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: freebsd hdmi audi To: =?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?= Cc: Dave Cottlehuber , FreeBSD Stable References: <3d40cb00-9fbb-4809-b6d9-fa40944cc62c@app.fastmail.com> <86frsp17jc.fsf@ltc.des.dev> Content-Language: en-US In-Reply-To: <86frsp17jc.fsf@ltc.des.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4WFN2n6XvHz4rn5 I already have that sir: cat /etc/sysctl.conf.local net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 # net.inet.ip.fw.verbose_limit=5 hw.snd.default_unit=2 hw.snd.verbose=2 Also, I have written a testSound shell script: cat testSound #!/bin/sh echo "Begin `uname -s` `basename -s .sh $0` on `uname -n`" echo "************************************************************" cat /dev/sndstat default_unit=`sysctl hw.snd.default_unit|awk '{print $2}'` echo -e "\nDefault Sound device=$default_unit\n" echo /dev/dsp$default_unit mixer -f /dev/mixer0 vol=100 rec=0 mixer -f /dev/mixer1 vol=100 mic=0 rec=0 mixer -f /dev/mixer2 vol=100 # beep -g 100 -D 2000 -d /dev/dsp$default_unit # beep -g 100 -D 2000 -d /dev/dsp0 # beep -g 100 -D 2000 -d /dev/dsp1 # beep -g 100 -D 2000 -d /dev/dsp2 for dsp in /dev/dsp* do #echo -n "$dsp  " cat /dev/sndstat|grep -m 1 pcm`echo -n $dsp|cut -c 9-`; beep -g 100 -D 2000 -d $dsp done echo "End   `uname -s` `basename -s .sh $0` on `uname -n`" echo "************************************************************" I get sound out of the rear 1/8" and front 1/8" jacks, but not hdmi.  I can also boot cinnamoin mint or kde neon and I get audio out of hdmi on those OSes. My speaker system is plugged into the back of my monitor and only freebsd fails to provide sound out of it. I've been trying to get freebsd to fix this for years.  I now use linux for desktop use because of this.  I prefer freebsd, and am quite proficient at the shell, but I need a GUI for a system to be truly usable. On 7/4/24 11:49, Dag-Erling Smørgrav wrote: > Steven Friedrich writes: >> Installed devices: >> pcm0: on hdaa0 (1p:1v/1r:1v) >> [...] >> pcm1: on hdaa0 (1p:1v/1r:1v) >> [...] >> pcm2: on hdaa1 (1p:1v/0r:0v) default >> [...] > add > > hw.snd.default_unit=2 > > to /etc/sysctl.conf and reboot. > > DES