From nobody Sun Mar 23 03:27:48 2025 X-Original-To: freebsd-desktop@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 4ZL1pq3nHwz5rdQW for ; Sun, 23 Mar 2025 03:28:03 +0000 (UTC) (envelope-from dhs@frame.work) Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (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 4ZL1pn63Vcz3txy for ; Sun, 23 Mar 2025 03:28:01 +0000 (UTC) (envelope-from dhs@frame.work) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=frame.work header.s=google header.b=jsaxbLbM; dmarc=pass (policy=quarantine) header.from=frame.work; spf=pass (mx1.freebsd.org: domain of dhs@frame.work designates 2607:f8b0:4864:20::102f as permitted sender) smtp.mailfrom=dhs@frame.work Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-2ff187f027fso7053205a91.1 for ; Sat, 22 Mar 2025 20:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=frame.work; s=google; t=1742700480; x=1743305280; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=eqDtenzLEof03fj/matmdHviN/vVZbvVbSUaCjilgIE=; b=jsaxbLbMNJVYB9nOI26jHJdyeSKDe26HGdmrN5Mt90liXVUBl4w6EGbygZePQVqyaP a3E1D9bGw+JQh3ktlWzZiknAwDSfrJVEGu8f/stG2muBo7sM+TM3MN1BJ3tlCVFCSoVT n6EKSlSf4v3pXODQ9MsUa4lzndSRMvXAlTv7PLTje3Pn510UkhmsDQqZdpGqM2Nj4im/ sNRzdI3CHRBqtETF7HPnJzMiuotOZdxVq69WeE7BXHCc/oje0OQ3F9e5G39H1ojMuCMz VYSMUCh9bNpGGT2OYvN210q6BZktN1LLt9dz8bCo8t6SX+Lj15kPPEfcwz7JA5aJdyX2 VmXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742700480; x=1743305280; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eqDtenzLEof03fj/matmdHviN/vVZbvVbSUaCjilgIE=; b=Zc4ZfHxG/58lJAR1bQ1oEkbNX5cNzDLj8zR6f8tCc01nDpIcHQUdgseCb7jBzN+ILO pje655yPXbcsPXIe73Ft5cUtE76VKPYjClHOhMesYNzPoKgE0XW7lxrLLSh6wWwI1jKm nFuuwkaC2+TuDmvR0/mg7tX7yVrQr3SN7he6LeBGK/k0sxUU8vjSy7bRuvps6qH2SGmv /DO8vhWcSm3DVbFYqi7xMZ3OOWWZLJCVc2UtqTCpd1w4lLhGZvZqVxZnGif2HmXnd7au u6mxIb/daqAF1cOVzHdGAoWRX4LLgDPvCj8h7YUG2O4+Cu2HUrHqxDTW6nFHyqbjui6o /ktQ== X-Gm-Message-State: AOJu0Ywt+qD4FhtvAF85EJW2QFPFX/1SOrE0m/lNieWYJLmK6XFQaUBL 77iHXT03MoIn2JV9Ap91iwh1CWd+3I0SUeIinBF3ik9y5iRvZxbtYRVhpWS6qD4V4LHmT4xylJ4 LPadlfH9pkMZopVuJK4g6rUJaaNcYSgUS32UcrQ== X-Gm-Gg: ASbGncu+L/2tvywF1/FYRBL2cURy39/Ty//3HnfAwZ9fAq8T4CAWMtoR2NDXZSju/GE 63vC90zK+dgJvnUxwlx/pp04RNdEcCtiDm8owjtdR/Vx8qYzcLRyDvSX+Mf+AI1i1cW/xRo8/6O HVZfkCtEaTG5CBvz/ehCR+Zd9HD3TDfcSCaVE+ X-Google-Smtp-Source: AGHT+IGs1UINWpNQDc+qIo49qXKyMmFpPKWRkbFh8Dr7lMC7T82iV9gQsuOunhK5ONZ/isgvPxH0/FOGWDscpppWTGo= X-Received: by 2002:a17:90b:1848:b0:2ea:8aac:6ac1 with SMTP id 98e67ed59e1d1-3030f3efb95mr14588943a91.15.1742700480057; Sat, 22 Mar 2025 20:28:00 -0700 (PDT) List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Daniel Schaefer Date: Sun, 23 Mar 2025 11:27:48 +0800 X-Gm-Features: AQ5f1Jo25Vn1GkJCx_uDrwmOqIaD6UW9q-1E7snYcg8fl2lMakUeOQ_Ob03pJEo Message-ID: Subject: Re: Audio on Framework 16" AMD To: Christos Margiolis Cc: freebsd-desktop@freebsd.org, jrm@freebsd.org, emaste@freebsd.org Content-Type: multipart/alternative; boundary="00000000000010749f0630fa1346" X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; NEURAL_HAM_LONG(-0.97)[-0.972]; DMARC_POLICY_ALLOW(-0.50)[frame.work,quarantine]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[frame.work:s=google]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102f:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-desktop@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FROM_EQ_ENVFROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-desktop@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[frame.work:+] X-Rspamd-Queue-Id: 4ZL1pn63Vcz3txy X-Spamd-Bar: --- --00000000000010749f0630fa1346 Content-Type: text/plain; charset="UTF-8" Hi Christos, I thought I had tried the speakers on framework 16 and they were working? Maybe I'm misremembering. Are you saying before this patch the speakers weren't working at all, or with worse sound quality? The comments in the linked patch says Since sound quality from pin 23 seems to be better, assign this one as a back Thanks, Daniel On Sat, Mar 22, 2025, 03:15 Christos Margiolis wrote: > For people who own this laptop and have issues with the audio, I've > submitted a patch for review [1] to enable sound from the built-in > speakers. > > You will have also noticed that the 3.5mm headphone jack in this laptop > ...does not exist! However, there is the Audio Expansion Card [2] which > according to people who own it, works just fine. Please note that the > expansion card is a _separate_ sound (USB, uaudio) card so you cannot > get automatic speakers-to-headphones or built-in-mic-to-headset audio > switching with it. That's because, again, the built-in speakers/mic, and > the 3.5mm jack from the expansion card, are different sound cards > altogether. > > Solutions to this that I can see are: > > - Plug an external amplifier to the 3.5mm jack and plug any > headphones/mics/speakers there. Obviously, this is not practical if > you use the laptop outside. > - Switch between devices with mixer(8) on-demand. Note that hot-swapping > (i.e., getting sound from the new device _during_ playback) won't work > unless you use virtual_oss, until I commit the patch [3] to address > this issue. Further explanation on this in mixer(8)'s man page > sections for the -d and -v options. > > Christos > > [1] https://reviews.freebsd.org/D49416 > [2] https://frame.work/pl/en/products/audio-expansion-card > [3] https://reviews.freebsd.org/D49216 > > --00000000000010749f0630fa1346 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Christos,

I thought I had tried the speakers on framework 16 and they were working? = Maybe I'm misremembering.
Are you saying before = this patch the speakers weren't working at all, or with worse sound qua= lity?
The comments in the linked patch says
Since sound quality from pin= =C2=A023 seems to be better, assign this one as a back

Thanks,
Daniel


On Sat, Mar 22, 2025, 0= 3:15 Christos Margiolis <christo= s@freebsd.org> wrote:
For pe= ople who own this laptop and have issues with the audio, I've
submitted a patch for review [1] to enable sound from the built-in
speakers.

You will have also noticed that the 3.5mm headphone jack in this laptop
...does not exist! However, there is the Audio Expansion Card [2] which
according to people who own it, works just fine. Please note that the
expansion card is a _separate_ sound (USB, uaudio) card so you cannot
get automatic speakers-to-headphones or built-in-mic-to-headset audio
switching with it. That's because, again, the built-in speakers/mic, an= d
the 3.5mm jack from the expansion card, are different sound cards
altogether.

Solutions to this that I can see are:

- Plug an external amplifier to the 3.5mm jack and plug any
=C2=A0 headphones/mics/speakers there. Obviously, this is not practical if<= br> =C2=A0 you use the laptop outside.
- Switch between devices with mixer(8) on-demand. Note that hot-swapping =C2=A0 (i.e., getting sound from the new device _during_ playback) won'= t work
=C2=A0 unless you use virtual_oss, until I commit the patch [3] to address<= br> =C2=A0 this issue. Further explanation on this in mixer(8)'s man page =C2=A0 sections for the -d and -v options.

Christos

[1] https://reviews.freebsd.org/D49416
[2] https://frame.work/pl/en/produ= cts/audio-expansion-card
[3] https://reviews.freebsd.org/D49216

--00000000000010749f0630fa1346--