Installing sound card driver

From: Doug Denault <doug_at_safeport.com>
Date: Fri, 14 Apr 2023 21:43:38 UTC
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