LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-01-2005, 11:36 AM   #1
kloss
Member
 
Registered: Nov 2004
Location: France & Germany
Distribution: (Pure) Debian Etch & Sid
Posts: 116

Rep: Reputation: 15
[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

Last edited by kloss; 05-01-2005 at 11:50 AM.
 
Old 05-01-2005, 02:37 PM   #2
kloss
Member
 
Registered: Nov 2004
Location: France & Germany
Distribution: (Pure) Debian Etch & Sid
Posts: 116

Original Poster
Rep: Reputation: 15
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
 
Old 06-01-2005, 01:09 PM   #3
wixil
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while initializing the sound driver mohapi Linux - General 3 04-22-2005 01:06 PM
Error while initializing the sound driver e11 Linux - Newbie 13 10-22-2004 05:18 PM
<<Error while initializing the sound driver>> eloyj88 Slackware 4 07-29-2004 10:44 PM
Error while initializing sound driver Mutley101 Linux - Hardware 13 09-28-2003 07:34 AM
Error while initializing the sound driver brewhaha Linux - Hardware 2 06-28-2002 10:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration