Sound on FreeBSD
Setting sound up on FreeBSD is quite simple and well documented but here's a simple how-to.
There are two ways to add sound support to FreeBSD - compile the driver into the kernel or dynamically load the driver. I'll just detail the latter as it's faster and easier.
First you will need to load the driver, if you know the driver name, you can load it straight away. If not, load the whole lot and hope one binds.
Depending which version of FreeBSD you are running it will be :
# kldload snd
# kldload snd_driver
If you have loaded all the sound drivers with the above command, you can see the specific driver you have loaded by doing the following
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
pcm0: <VIA VT8237> at io 0xb400 irq 22 kld snd_via8233 [MPSAFE] (5p:1v/1r:1v channels duplex default)
In this case snd_via8233 is the driver being used.
To make sure this driver loads on boot, you'll need to edit /boot/loader.conf. In this case i would put the following in this file:
If you want all the drivers to load ( for whatever reason ) you can put the following in loader.conf
* Note: if anyone notices any errors in this how-to, please correct them
|kernel module, snd, snd_driver, sound|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Recording sound with external sound card||backrow||OpenBSD General||5||21st August 2009 08:17 PM|
|FreeBSD 7.2 amd64 no sound||erim||FreeBSD General||5||3rd June 2009 07:54 AM|
|Sound||JimC||FreeBSD General||9||15th August 2008 06:05 PM|
|Have no sound freeBSD 7.0||yavko||FreeBSD Installation and Upgrading||3||31st July 2008 10:20 AM|
|problem with Virtual Sound Channels in FreeBSD 7||casper007||FreeBSD Installation and Upgrading||3||16th July 2008 04:22 PM|