Solved Manually turning on sound

I don't initially get sound I always have to do sysctl hw.snd.default_unit=0 for sound to come up. In this thread Terpentijn suggested I add sysctl hw.snd.default_unit=0 into /etc/sysctl.conf. Unfortunately that hasn't work for me.

Code:
$ cat /dev/sndstat
Installed devices:
pcm0: <Sigmatel STAC9221 (Rear Analog 5.1 Speaker)> (play) default
pcm1: <Sigmatel STAC9221 (Front Analog Headphones)> (play)
pcm2: <Sigmatel STAC9221 (Rear Digital)> (play/rec)
pcm3: <Sigmatel STAC9221 (Internal Digital)> (play)
No devices installed from userspace.

FreeBSD alpha 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64

Thanks for the help in advance.
 
Last edited:
I don't initially get sound I always have to do sysctl hw.snd.default_unit=0 for sound to come up. In this thread Terpentijn suggested I add sysctl hw.snd.default_unit=0 into /etc/sysctl.conf. Unfortunately that hasn't work for me.
Simply don't put the sysctl command in /etc/sysctl.conf, only hw.snd.default_unit=0.

sysctl(8) is for setting it on your live system.
 
Back
Top