Page 1 of 1
Sound device...
Posted: Mon Oct 21, 2024 5:10 am
by Richard
Hi, GhostBSD has an annoying flaw: every time i turn on my computer, i have to tell it which is the correct audio output hardware (in my case it's a Creative digital USB sound bar).
It is seen regularly and works fine, but if I tell it...
Solutions?
Thank you.
Re: Sound device...
Posted: Mon Oct 21, 2024 8:07 am
by neville
Re: Sound device...
Posted: Mon Oct 21, 2024 8:10 am
by neville
Basically you have to run
cat /dev/sndstat
And change the default sound device by putting an entry in
/etc/sysctl.conf
Re: Sound device...
Posted: Mon Oct 21, 2024 11:23 am
by Richard
hi, thanks for replying.
So I open /etc/sysctl.conf with sudo gedit and add an entry, but which entry?
Re: Sound device...
Posted: Mon Oct 21, 2024 12:39 pm
by Richard
cat /dev/sndstat
Installed devices:
pcm0: <NVIDIA HDMI... default
pcm1: <NVIDIA HDMI...
pcm2: <Creative Technology...
basically pcm2 Creative Technology, should become the default.
Re: Sound device...
Posted: Mon Oct 21, 2024 8:47 pm
by neville
Edit your/etc/sysctl.conf file and put this in it
hw.snd.default_unit=2
Then reboot
That should do it.
BTW what is the sound chip on your motherboard?
Re: Sound device...
Posted: Tue Oct 22, 2024 5:09 pm
by Richard
My Intel B75 O.E.M. motherboard does not have any analog audio chip, it only outputs digital audio from the graphics card's HDMI port or USB ports.
Re: Sound device...
Posted: Tue Oct 22, 2024 5:20 pm
by Richard
neville wrote: ↑Mon Oct 21, 2024 8:47 pm
Edit your/etc/sysctl.conf file and put this in it
hw.snd.default_unit=2
Then reboot
Thank you very much, problem solved!