Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2023 17:43:38 -0400 (EDT)
From:      Doug Denault <doug@safeport.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Installing sound card driver
Message-ID:  <alpine.BSF.2.00.2304141741430.35981@bucksport.safeport.com>

index | next in thread | raw e-mail

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: <Realtek ALC280 (Analog 2.0+HP/2.0)> (play/rec) default
     pcm1: <Realtek ALC280 (Rear Analog)> (play/rec)
     No devices installed from userspace.

dmesg | grep pcm

     pcm0: <Realtek ALC280 (Analog 2.0+HP/2.0)> at nid 20,21 and 26 on hdaa1
     pcm1: <Realtek ALC280 (Rear Analog Mic)> at nid 24 on hdaa1
     pcm0: <Realtek ALC280 (Front Analog Mic)> at nid 26 on hdaa1
     pcm1: <Realtek ALC280 (Rear Analog)> 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: <Realtek ALC280 (Analog 2.0+HP/2.0)> (play/rec) default
     pcm1: <Realtek ALC280 (Rear Analog)> (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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2304141741430.35981>