From nobody Thu Jul 04 16:54:31 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 4WFN6N6qh4z5Nt2p for ; Thu, 04 Jul 2024 16:54:36 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 4WFN6N50rqz4sqF; Thu, 4 Jul 2024 16:54:36 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-7f3ca6869d1so34744839f.0; Thu, 04 Jul 2024 09:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720112074; x=1720716874; 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=vtx/poR4RCAzFvA7ijt+jHIEntGhlfTBQCL/YXTkKqs=; b=EFbKdnATWSC8kiJ6VV6pKS5ztNM5XXwmk0nS7eZ/Mz+62V6/lEu8aEm8w/R3f/cOfP 17BlH7fg1F1vRNgTp8QvpQk6N/12WI8eGxy7j3ieQq3gVg18Ru4sLLUu1cGAHX1Yb6Kx HWEaSPTcFZFghHgMeFb6zw5blclCaERo1LHZeh7k6Feo/Db+o7kSb995UPZ3fXrdY27h zKfSeD79oi6lGeEb3uRC30hpieq65rsM6mZDSSOTHZSrJQdvp9Hb4Hog6nbz575gNIRY cmZj6Nril0b5xHNNa7v+w6t7hxRL3J/TjF7tZGLsmT5ZPbMQ65xu9H7tmSxUQSbcj15w GC4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720112074; x=1720716874; 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=vtx/poR4RCAzFvA7ijt+jHIEntGhlfTBQCL/YXTkKqs=; b=EOMBRe8s2hy/NTFJsgZQVB0Gic3Z4L3DyF1CL1+ytSkG183CHRTOpxN7WIDXkLQKDK Yq0YesIlcsTuDCxXz0Sdw/2iMweESzhjW1ZBdzwdhEyCGFnGQpKKDmrGS9pUF9hw7u5R +CcKN0Ova9Ge+c7kVgo4m7f4OjzX1TOrCMs8tis/fHhy6kdrJB9Y9aKT5w/5lpEpvE3+ eEXi89yGiy6tpkHf0n4cj0PeVpRbqJCCabF5M57feI20lUKUEDQwLJA1407TRKVBivzz xPF5B4GSPr0IDXayoxcVJWjQc52ls35ebvWvXZEly2VL9ur3MOFopqfSEd96hBOsir1M BI/g== X-Forwarded-Encrypted: i=1; AJvYcCUnFOfY0gkw7kP9A9AUrISPXafGKJOzwz36Ec8h/sn4JZGBY0jg0IyhHYG6nNtZyTYuldtvOwM4j3k8kYTlfXhso0Lc33drBMkpLw== X-Gm-Message-State: AOJu0Yxbk2lX3mykFKFJ2Yg9PCqFKMTJvufyX0A4JkPnVE/exOubecSD m6u1B+/SyV4iBk40QyFobMv5m1waU7hlyoPyq536RgalTohYbQ+GqBIB/g== X-Google-Smtp-Source: AGHT+IEdbLcCEZCBRNjzgnW58tqhGuauAhVEoDLySyOl79g4OA56LbZMWiL4ojRw1/E1tyTfCArG+w== X-Received: by 2002:a5d:88d0:0:b0:7f6:1cb2:8027 with SMTP id ca18e2360f4ac-7f66e02aa5bmr256019539f.17.1720112073960; Thu, 04 Jul 2024 09:54:33 -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 8926c6da1cb9f-4bb742bd3desm4020571173.152.2024.07.04.09.54.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jul 2024 09:54:33 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Message-ID: Date: Thu, 4 Jul 2024 12:54:31 -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: 4WFN6N50rqz4sqF Here's a run of my testSound shell script: testSound Begin FreeBSD testSound on Envy ************************************************************ FreeBSD Audio Driver Installed devices: pcm0: on hdaa0 (1p:1v/1r:1v)         snddev flags=0x2e2         [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004         interrupts 0, underruns 0, feed 0, ready 0 [b:2048/1024/2|bs:2048/1024/2]         channel flags=0x2100         {userland} -> feeder_mixer(0x00200010) -> {hardware}         pcm0:play:dsp0.p0[pcm0:virtual_play:dsp0.vp0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000         interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]         channel flags=0x10000000         {userland} -> feeder_root(0x00000000) -> {hardware}         [pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005         interrupts 0, overruns 0, feed 0, hfree 512, sfree 512 [b:512/256/2|bs:512/256/2]         channel flags=0x2100         {hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland}         pcm0:record:dsp0.r0[pcm0:virtual_record:dsp0.vr0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000         interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]         channel flags=0x10000000         {hardware} -> feeder_root(0x00000000) -> {userland} pcm1: on hdaa0 (1p:1v/1r:1v)         snddev flags=0x2e2         [pcm1:play:dsp1.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004         interrupts 0, underruns 0, feed 0, ready 0 [b:2048/1024/2|bs:2048/1024/2]         channel flags=0x2100         {userland} -> feeder_mixer(0x00200010) -> {hardware}         pcm1:play:dsp1.p0[pcm1:virtual_play:dsp1.vp0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000         interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]         channel flags=0x10000000         {userland} -> feeder_root(0x00000000) -> {hardware}         [pcm1:record:dsp1.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005         interrupts 0, overruns 0, feed 0, hfree 512, sfree 512 [b:512/256/2|bs:512/256/2]         channel flags=0x2100         {hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland}         pcm1:record:dsp1.r0[pcm1:virtual_record:dsp1.vr0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000         interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]         channel flags=0x10000000         {hardware} -> feeder_root(0x00000000) -> {userland} pcm2: on hdaa1 (1p:1v/0r:0v) default         snddev flags=0x2e7         [pcm2:play:dsp2.p0]: spd 48000, fmt 0x00200010, flags 0x00006100, 0x00000004         interrupts 0, underruns 0, feed 0, ready 0 [b:2048/1024/2|bs:2048/1024/2]         channel flags=0x6100         {userland} -> feeder_mixer(0x00200010) -> {hardware}         pcm2:play:dsp2.p0[pcm2:virtual_play:dsp2.vp0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000         interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]         channel flags=0x10000000         {userland} -> feeder_root(0x00000000) -> {hardware} No devices installed from userspace. Default Sound device=2 /dev/dsp2 vol.volume: 1.00:1.00 -> 1.00:1.00 rec.volume: 0.00:0.00 -> 0.00:0.00 pcm0:mixer: on hdaa0 (play/rec)     vol       = 1.00:1.00     pbk     pcm       = 1.00:1.00     pbk     speaker   = 0.58:0.58     rec     line      = 0.01:0.01     rec src     mix       = 0.74:0.74     rec     rec       = 0.00:0.00     pbk     igain     = 0.00:0.00     pbk     ogain     = 1.00:1.00     pbk vol.volume: 1.00:1.00 -> 1.00:1.00 mic.volume: 0.00:0.00 -> 0.00:0.00 rec.volume: 0.00:0.00 -> 0.00:0.00 pcm1:mixer: on hdaa0 (play/rec)     vol       = 1.00:1.00     pbk     pcm       = 1.00:1.00     pbk     mic       = 0.00:0.00     rec src     rec       = 0.00:0.00     pbk     igain     = 0.00:0.00     pbk     ogain     = 1.00:1.00     pbk vol.volume: 1.00:1.00 -> 1.00:1.00 pcm2:mixer: on hdaa1 (play) (default)     vol       = 1.00:1.00     pbk     pcm       = 1.00:1.00     pbk pcm0: on hdaa0 (1p:1v/1r:1v) pcm1: on hdaa0 (1p:1v/1r:1v) pcm2: on hdaa1 (1p:1v/0r:0v) default End   FreeBSD testSound on Envy ************************************************************ 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