LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 07-29-2004, 10:59 AM   #1
arielrobaldo
LQ Newbie
 
Registered: Aug 2003
Location: Montevideo - Uruguay
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
Thumbs up one solution for: /dev/dsp cant be opened no such device Fedora Core 2


Hello,

hope this could be helpful for somebody else.

I've installed Fedora Core 2, with KDE 3.2, on a PC with mobo PCChips and a sound card Crystal Sound cd4281.

From the time I boot up and start KDE, I got the message from aRts:

Error while .......... /dev/dsp cant be opened, no such device.
Sound server will continue with the /dev/null output.....

During installation soundcard was autodetected and configured ok, but no sound was played.

After running sound card detection utility (hat->System configuration-> sound card detection) sound came up correctly but with any reboot the same problem re appear.

Tried a lot of things (updating libgnome, changing .kmcartsrc, changing permissions to /dev/dsp, installing arts-devel, etc) but nothing worked.

Finally using at the prompt of a command line terminal (as root):

#/sbin/lsmod

obtained a list of modules present.
I did it before running the sound card detection, and then repeated it after s.c. detection.

That showed that some modules were loaded with this utility that were not loaded during startup, causing the problem.
So I've added to my /etc/rc.d/rc.local the lines showed below ( extra modules loaded by s.c. detection utility):

/sbin/modprobe snd-mixer-oss
/sbin/modprobe snd-pcm-oss
/sbin/modprobe snd-seq
/sbin/modprobe snd-ainstr-fm
/sbin/modprobe snd-seq-midi-emul
/sbin/modprobe snd-seq-instr
/sbin/modprobe snd-opl3-synth
/sbin/modprobe snd-seq-midi-event
/sbin/modprobe snd-seq-midi
/sbin/modprobe snd-seq-oss

this loaded all those modules during startup and the problem dissapeared.

Maybe other systems require some other modules to be loaded in order to aRts working properly, then you should run /sbin/lsmod immediately after startup (with the problem) and then after s.c. detection (without the problem) and list all the new modules in order to add them to your rc.local.

Good luck!!!!!

Ariel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora core fedora device /dev/dsp can't be opened J3N7iL Linux - Hardware 3 06-30-2005 04:10 PM
device /dev/dsp can't be opened Benedictus Linux - Hardware 13 08-08-2004 05:40 PM
device /dev/dsp can't be opened kalif Linux - Software 26 08-31-2003 07:38 PM
No sound > device /dev/dsp can't be opened DarkGhost Linux - Hardware 1 12-25-2002 07:36 PM
Device /dev/dsp can't be opened... MatMan5959 Linux - Hardware 4 06-20-2002 12:13 PM


All times are GMT -5. The time now is 12:30 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration