July 16th, 2003, 01:47 AM
FreeBSD / KDE No Sound
I recently installed FreeBSD and KDE onto a Dell Dimension Desktop. The sound card is listed as Creative Sound Blaster Audio PCI chip with 64-voice wavetable synthesis" on Dells web site.
I get the following error on boot or when trying to get the sound:
Error while initializing sound driver: /dev/dsp can't be opened (No such file or directory) The sound server will continue, using null output device.
I am new to this and appreciate any help.
July 16th, 2003, 02:10 PM
Driver (aka kernel module) not loaded?
July 16th, 2003, 02:17 PM
That seems like the problem, any idea how i go about finding/installing what I need?
July 16th, 2003, 04:19 PM
How about reading The FreeBSD Handbook?
"Chapter 16.2: Setting Up the Sound Card" sounds really interesting to me...
July 16th, 2003, 04:53 PM
I've been to this page, and read this chapter and don't find the instructions to be all together clear.. As far as I can tell all it wants me to do is add "device pcm" to the kernel config? What about dev/dsp how does that get there from adding a line to the kernel? I assume I need to download something?
July 16th, 2003, 07:33 PM
FreeBSD 5+: nothing to be done. /dev/dsp will appear magically once the module is installed. "devpts" is the name of this trick. A whole filesystem as interface to your kernel drivers.
FreeBSD 4.?: the "mknod" command. This creates single pseudo-files as interface to your kernel drivers.
Which one are you using?
July 16th, 2003, 07:33 PM
July 16th, 2003, 08:08 PM
I'm not entirely sure of the version. I just installed it, via FTP. I made the 2 floppies, and chose the distibution labeld "ALL" I would assume I have the most recent version. Again I am new to this. If you can detail some basic instructions even a fool could follow, I'd much appreciate it. Thanks -
July 17th, 2003, 01:52 PM
The step by step instructions about how to compile your kernel are in chapter 9.3. How to get the /dev/dsp after installing the new kernel is explained step by step in chapter 9.5.
- start text editor of your choice to edit "MYKERNEL" and add "device pcm" after the last line. Save and quit.
-bash-2.05b# cd /usr/src/sys/i386/conf
-bash-2.05b# cp GENERIC MYKERNEL
- find out the OS version like this:
You can see that I am running 4.8-RELEASE. (if you have a 5.X you need to read the manual now because everything is different from here on)
-bash-2.05b# uname -a
FreeBSD enterprise.home 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Sat May 10 22:58:13 CEST 2003
The "#" sign in the prompt says I am logged in as root. And never continue with the next step if you get any error messages.
-bash-2.05b# /usr/sbin/config MYKERNEL
-bash-2.05b# make depend
-bash-2.05b# make install