Sound device...

Support with sound and multimedia cards on GhostBSD
Post Reply
Richard
Posts: 9
Joined: Mon Oct 21, 2024 4:56 am

Sound device...

Post 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.
User avatar
neville
Developer
Posts: 144
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: Sound device...

Post by neville »

User avatar
neville
Developer
Posts: 144
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: Sound device...

Post by neville »

Basically you have to run

cat /dev/sndstat

And change the default sound device by putting an entry in

/etc/sysctl.conf
Richard
Posts: 9
Joined: Mon Oct 21, 2024 4:56 am

Re: Sound device...

Post by Richard »

hi, thanks for replying.
So I open /etc/sysctl.conf with sudo gedit and add an entry, but which entry?
Richard
Posts: 9
Joined: Mon Oct 21, 2024 4:56 am

Re: Sound device...

Post 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.
User avatar
neville
Developer
Posts: 144
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: Sound device...

Post 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?
Richard
Posts: 9
Joined: Mon Oct 21, 2024 4:56 am

Re: Sound device...

Post 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.
Richard
Posts: 9
Joined: Mon Oct 21, 2024 4:56 am

Re: Sound device...

Post 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! ;)
Post Reply