I already have that sir:
cat /etc/sysctl.conf.local
net.local.stream.recvspace=65536
net.local.stream.sendspace=65536
# net.inet.ip.fw.verbose_limit=5
hw.snd.default_unit=2
hw.snd.verbose=2
Also, I have written a testSound shell script:
cat testSound
#!/bin/sh
echo "Begin `uname -s` `basename -s .sh $0` on `uname -n`"
echo "************************************************************"
cat /dev/sndstat
default_unit=`sysctl hw.snd.default_unit|awk '{print $2}'`
echo -e "\nDefault Sound device=$default_unit\n"
echo /dev/dsp$default_unit
mixer -f /dev/mixer0 vol=100 rec=0
mixer -f /dev/mixer1 vol=100 mic=0 rec=0
mixer -f /dev/mixer2 vol=100
# beep -g 100 -D 2000 -d /dev/dsp$default_unit
# beep -g 100 -D 2000 -d /dev/dsp0
# beep -g 100 -D 2000 -d /dev/dsp1
# beep -g 100 -D 2000 -d /dev/dsp2
for dsp in /dev/dsp*
do
#echo -n "$dsp "
cat /dev/sndstat|grep -m 1 pcm`echo -n $dsp|cut -c 9-`; beep -g 100 -D
2000 -d $dsp
done
echo "End `uname -s` `basename -s .sh $0` on `uname -n`"
echo "************************************************************"
I get sound out of the rear 1/8" and front 1/8" jacks, but not hdmi. I
can also boot cinnamoin mint or kde neon and I get audio out of hdmi on
those OSes.
My speaker system is plugged into the back of my monitor and only
freebsd fails to provide sound out of it.
I've been trying to get freebsd to fix this for years. I now use linux
for desktop use because of this. I prefer freebsd, and am quite
proficient at the shell, but I need a GUI for a system to be truly usable.
On 7/4/24 11:49, Dag-Erling Smørgrav wrote:
Steven Friedrich <freebsdlouisvi...@gmail.com> writes:
Installed devices:
pcm0: <Realtek ALC671 (Rear Analog)> on hdaa0 (1p:1v/1r:1v)
[...]
pcm1: <Realtek ALC671 (Analog)> on hdaa0 (1p:1v/1r:1v)
[...]
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa1 (1p:1v/0r:0v) default
[...]
add
hw.snd.default_unit=2
to /etc/sysctl.conf and reboot.
DES