From nobody Fri Apr 14 21:43:38 2023 X-Original-To: freebsd-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 4PyqhL1BPYz44r8H for ; Fri, 14 Apr 2023 21:43:46 +0000 (UTC) (envelope-from doug@safeport.com) Received: from freeport.safeport.com (freeport.safeport.com [147.160.157.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4PyqhK2Dvtz3kCv for ; Fri, 14 Apr 2023 21:43:45 +0000 (UTC) (envelope-from doug@safeport.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 147.160.157.114 as permitted sender) smtp.mailfrom=doug@safeport.com Received: from bucksport.safeport.com (bucksport.safeport.com [147.160.157.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by freeport.safeport.com (Postfix) with ESMTPS id 5806F44FF86 for ; Fri, 14 Apr 2023 17:43:38 -0400 (EDT) Date: Fri, 14 Apr 2023 17:43:38 -0400 (EDT) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: Installing sound card driver Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) 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 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4PyqhK2Dvtz3kCv X-Spamd-Bar: / X-Spamd-Result: default: False [-0.30 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:147.160.157.114]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US]; R_DKIM_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.ORG]; local_wl_ip(0.00)[147.160.157.114]; FROM_EQ_ENVFROM(0.00)[] X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_ip X-ThisMailContainsUnwantedMimeParts: N I am trying to set up audio on FreeBSD 12.4-RELEASE-p1 following the handbook and the FreeBSD foundation wiki So /boot/loader.conf is: cat /dev/sndstat next: cat /dev/sndstat cat /dev/sndstat Installed devices: pcm0: (play/rec) default pcm1: (play/rec) No devices installed from userspace. dmesg | grep pcm pcm0: at nid 20,21 and 26 on hdaa1 pcm1: at nid 24 on hdaa1 pcm0: at nid 26 on hdaa1 pcm1: at nid 27 and 24 on hdaa1 Following the setting to add for audio (I do not care about the mic) I added the following to /boot/device.hints hint.hdac.1.cad1.nid26.config="as=2 seq=1 device=speakers" Then cat /dev/sndstat Installed devices: pcm0: (play/rec) default pcm1: (play/rec) No devices installed from userspace. I assume I did not translate the output properly or this is just something I missed. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277