Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 1st May 2008
corey_james corey_james is offline
Uber Geek
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Default 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

#cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
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
Reply With Quote

kernel module, snd, snd_driver, sound

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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

All times are GMT. The time now is 05:09 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick