The sound card is identified as: > hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0 > hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0 > pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0 > hdacc1: <Realtek (0x0230) HDA CODEC> at cad 0 on hdac1 > hdaa1: <Realtek (0x0230) Audio Function Group> at nid 1 on hdacc1 > pcm1: <Realtek (0x0230) (Analog)> at nid 33 and 18 on hdaa1 > pcm2: <Realtek (0x0230) (Right Analog Mic)> at nid 25 on hdaa1 There are 2 channels. Sound never comes from the speakers, but headset plays it ok. When the laptop was purchased, Windows played sounds okay. 12.0-PRERELEASE #0 r340721
Try experimenting with sysctl hw.snd.default_unit.
(In reply to Conrad Meyer from comment #1) It allows to change hw.snd.default_unit in 0,1,2 range, but this didn't make any difference.
Have you tried playing with the nids, along the lines of in this message? https://lists.freebsd.org/pipermail/freebsd-current/2018-October/071461.html