LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   [Newbie] [FreeBSD] Error while initializing the sound driver (https://www.linuxquestions.org/questions/linux-hardware-18/%5Bnewbie%5D-%5Bfreebsd%5D-error-while-initializing-the-sound-driver-319059/)

kloss 05-01-2005 11:36 AM

[Newbie] [FreeBSD] Error while initializing the sound driver
 
Hello all

I installed FreeBSD today (I fast never used Unix/Linux OS before) and this was quite simple. But I still have a problem with my sound card. When KDE starts up, I see the following message box :
Code:

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue, using the null output device.

Indeed, I have no sound and no directory or file called dsp in the /dev/ directory. I tried to solve the problem myself by recompiling the kernel with "device pcm" but it did not work :
Code:

Error: device "pcm" is unknown
I also tried with "device sound" and i could recomplie the kernel, but I have still the same error. I would like to copy-paste the lsmod result but when I type lsmod (with the root account) I just see :
Code:

lsmod: Command not found.
Code:

alsaconfig
returns also
Code:

Command not found
I certainly missed something, but I do not know what.

NB : I installed FreeBSD Release 5.4 and during the installation, i did not select any packet (except kde and bash), so I have very few programs installed.

Thanks a lot for your help, I've searched a solution with google, but was unsuccessful.
++
Kloss

kloss 05-01-2005 02:37 PM

I added snd_ich_load="YES" to the file /boot/loader.conf and it solved the problem -- I mean, I can hear mp3s, but the sound crunches.
But I really don't knwo why the lsmod command (among others) is not recognized...
++
Kloss

wixil 06-01-2005 01:09 PM

Hi,
I tried this for FreeBSD 5.4 and it worked. Got my sound.

1. log on as root
2. cd /boot/defaults
3. vi loader.conf

move down to sound module

4. set snd_driver_load="YES"

5. Save and Restart your machine.


All times are GMT -5. The time now is 05:52 PM.