From nobody Fri Mar 21 19:15:17 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 4ZKBwn3jgDz5rZ35 for ; Fri, 21 Mar 2025 19:15:21 +0000 (UTC) (envelope-from christos@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZKBwn34Cwz3Ykc; Fri, 21 Mar 2025 19:15:21 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742584521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=Az4EGZJN9KgmDexxFrnQ7i/RxeQ2iD0rpt+w6kqp5t4=; b=MAAf4KGMLUigXTqwZmrRRV9gH1K+IJqK1UlnsYhQvlyuL0/u21+vL0/vkznm7ZS6c2sFxY yrP+PHIRTn5QtCRKiTEockRLRmzyVkjcFBC4yL23+0Ol0tPFac5hNtEVEE3agvZNWSMksx MsKWPV+iTOOHVfCLPOzPSqEoz1VoYtIS3rtyD3HKvprG/PDCZVqwim47UmEoEo29pgbykv D237K3+rsmLqcz4Ey3nLFURWbr6lp7Bbvf9MBGtCmBbdcUahloX5TFHKMJY5w26z7EE82U Vm6tu/ySlwu/DgV+/WHRenomlWaS/CnBXn0gr4zYsmS5dpeNMfYun6CJfcqaUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742584521; a=rsa-sha256; cv=none; b=kX3mOH7twZd0A3AOG16/EwO0zw1n/5FDOA3X3Pu99FLTL8L6Ohmf2XsAEurVGqaBLfyiZS vNXlkClvtGa9xY9XDuaOKko5hjBPhPNNuw6QV/DuJu0iDov6aevDRe5pVgNW1nzudQfQW/ uk/Ao3ZifO8BYJvqaXiTYldWO7kzjE+cUT6Z9/7pqKSILTynujbqAp4vIOA2yHPLJ416ct UVrKpk3rO2/RxjWF9VppOqYEucMlBnPMhedBCdWQIl7Ze/ptGeYF21LZm4eghKs6yZPNAt kuVyMtSqDmEWL5MLJ7LIOWkUKb/JXar7B+K76ZBdSoef26VYn9/0ojPnCw/7Bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742584521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=Az4EGZJN9KgmDexxFrnQ7i/RxeQ2iD0rpt+w6kqp5t4=; b=Jhg0cIjleoRVP89GWYcOlFBIVRaNc8lm9/W9hqk99c8F/VgIM1OW+0XOxjT/WLtsp90uxK Oc19ZZvWD8j2YCSBRZwV3T5osSH8Ps7VtOrgTDPAQh7w0dL8cclvVyE8Nt9GqEkj3ZlS25 oLlCs/sH5rhWueFO5v7Fv/kSzzBl8SBs0cuC07HCndwOnPJ6B23zQtqT31wdfswUxUzSfn 2IBZZqX463j02f1QvwJOEzWwk3r+TayIDbkyfBlwoJchENH4ZAz/9cyL8t5AxJXwfmJ6+u MhOMa3pAOhzOnDx46tO44lp/3zWupXz8i+7Ok+n04M1W/Y1FYXvI4TFpADs6Dw== Received: from margiolis.net (mail.margiolis.net [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) (Authenticated sender: christos/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZKBwm6h0Vzw92; Fri, 21 Mar 2025 19:15:20 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=mail; bh=+PeVBXbRy9NQt09 GR0hZxiziVLSEApg40Np7iJm8Npk=; h=subject:cc:to:from:date; d=margiolis.net; b=C6TEL2leIVzavF2ATXxI3J/oq7A+IiszdKHFNKmUH2i9M8uxkk6 PmmuQbvIKjvb8AqLrCsHPA02DCKekRfIWc1KOt2lhVf0CyR/nWqkTzj+PLcjQclRnFU+Hj SqOTpSWi7vqoqapLxdQ8duTZtNf3Rzc2F1qKRAqrStvjiBTMVk= Received: from pleb (public-gprs247735.centertel.pl [31.60.114.248]) by margiolis.net (OpenSMTPD) with ESMTPSA id 96b21750 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 21 Mar 2025 19:15:18 +0000 (UTC) Date: Fri, 21 Mar 2025 20:15:17 +0100 From: Christos Margiolis To: freebsd-desktop@freebsd.org Cc: jrm@freebsd.org, emaste@freebsd.org Subject: Audio on Framework 16" AMD Message-ID: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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