LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-19-2004, 02:28 PM   #1
Doolspin
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Slackware 9.1/10/10.1 RedHat circa 2000, Knoppix, OpenSuse 10.0/10.1
Posts: 122

Rep: Reputation: 15
Can't get sound to work..ever!


This has became a pain...

Every time i start to do something with KDE i get this message.
"
Sound server infomational message:

Error while initializing the the sound driver:

device /dev/dsp can't be opened (No such device)

The sound server will continue, using the null output device
"

I've tryed everything i know, in not a newbie or a admin. So any help would be greatly
 
Old 08-19-2004, 04:09 PM   #2
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
When you say I tried everything, did you try opening a sound file as root? If you did and it works, then your problems is on the permissions of /dev/dsp You just do the following:

Code:
chmod 0666 /dev/dsp*
chmod 0666 /dev/mixer*
chmod 0666 /dev/audio*

Last edited by LinuxGeek; 08-19-2004 at 04:13 PM.
 
Old 08-19-2004, 04:22 PM   #3
Doolspin
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Slackware 9.1/10/10.1 RedHat circa 2000, Knoppix, OpenSuse 10.0/10.1
Posts: 122

Original Poster
Rep: Reputation: 15
No it still doesn't work. BTW im just using the SiS sound on my board.
 
Old 08-20-2004, 01:36 PM   #4
Doolspin
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Slackware 9.1/10/10.1 RedHat circa 2000, Knoppix, OpenSuse 10.0/10.1
Posts: 122

Original Poster
Rep: Reputation: 15
Any one have any ideas?
 
Old 08-21-2004, 09:51 AM   #5
gerryp500
LQ Newbie
 
Registered: Aug 2004
Location: Oxford
Distribution: Redhat
Posts: 1

Rep: Reputation: 0
Hi Doolspin,

I've never tried using Slackware but if sounds like you have the same onboard sound chip as me. There's a
whole series of modules that you'll need to load at boot time to get the sound devices to work.

Use
Code:
/sbin/lspci
to find out if you have the SiS7012 multimedia chip. If so then you'll need the following modules:
Code:
i810_audio
ac97_codec and
soundcore
You can load these using the command /sbin/modprobe [modulename]. If your system is anything like mine then
it will rememeber that they were loaded manually and then load them automatically next time. Alternatively you
can manually add them to the /etc/modules.conf file.

Your /etc/modules.conf file will also need the following lines (or something similar) if they don't exist already.
Code:
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
If you still don't get any joy you should examine the system logs using
1. dmesg
2. tail -n 60 /var/log/messages (you'll need to be root to do this).

Hope this is helpful. This won't necessarily be exactly the solution you need for your system but this is how I
managed to get mine working (I used to get exactly the same message as you every time KDE started).

Gez
 
Old 08-21-2004, 01:04 PM   #6
Doolspin
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Slackware 9.1/10/10.1 RedHat circa 2000, Knoppix, OpenSuse 10.0/10.1
Posts: 122

Original Poster
Rep: Reputation: 15
Okay Gez, Looks like i have the Sis 7012. Found it in '# dmesg' loaded all the mods, tryed it again and still nothing. Same error.
 
Old 08-23-2004, 04:13 PM   #7
Doolspin
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Slackware 9.1/10/10.1 RedHat circa 2000, Knoppix, OpenSuse 10.0/10.1
Posts: 122

Original Poster
Rep: Reputation: 15
Dead thread?
 
Old 08-23-2004, 04:19 PM   #8
djchris
LQ Newbie
 
Registered: Apr 2004
Posts: 12

Rep: Reputation: 0
I don't know what version you use for slackware but if it's 9.1 or higher i recommend to compile alsa.
it's much better and easier then Open Sound System http://www.alsa-project.org.

Good Luck,

DJ Chris
 
Old 08-23-2004, 04:29 PM   #9
rhorn
LQ Newbie
 
Registered: Aug 2004
Location: Wisconsin, US
Distribution: Debian
Posts: 7

Rep: Reputation: 0
You may also want to try running /dev/MAKEDEV

The modules may be loaded, but perhaps the devices are not there?
 
Old 08-23-2004, 05:10 PM   #10
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
I don't know slackware - and this should not happen if its a default install - but:

maybe slackware is using devfs (without devfsd) - or you told it to do so...

when using devfs - the device-files are named differently i.e. /dev/dsp is not there - instead it is here: /dev/sound/dsp - or here: /dev/snd/...

try if this is the case - and if so - use devfsd which provides a compatibility mode - so you have the old devices too - and everything can work again

find out how devfsd is to be set up - if what I said is applicable at all...

or maybe you did not load the drivers for your card yet - if using devfs, the devices are created on demand - if no drivers are loaded, the devices don't exist (yet)
 
Old 08-23-2004, 10:09 PM   #11
Doolspin
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Slackware 9.1/10/10.1 RedHat circa 2000, Knoppix, OpenSuse 10.0/10.1
Posts: 122

Original Poster
Rep: Reputation: 15
Thanks all of you, im gonna give these a try here in a little bit, ill let you know how it turns out
 
Old 08-28-2004, 06:40 PM   #12
Doolspin
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Slackware 9.1/10/10.1 RedHat circa 2000, Knoppix, OpenSuse 10.0/10.1
Posts: 122

Original Poster
Rep: Reputation: 15
Hey guys, just wanted to thank everyone for all your help, sorry if i sounded like a dick. It was rather frustrating. FYI i bought a cheap sound card from a local computer show, and installed it. Still didn't work, so i got the newest Also. Ran that and BAM, works. Thanks again all. Om Shanti
 
Old 08-28-2004, 06:48 PM   #13
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Shame. I also have that message when I install Slack (I have an Intel-8x0 soundcard) and I fix it by downloading the latest alsa-drivers, -lib and -utils and installing them exactly as directed on the alsa site. Then I have sound.

Oh well, it's good that you found one solution.
 
  


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
Startup Sound Works... CD Sound Doesn't Work... GNewbie MEPIS 8 01-02-2006 10:35 PM
Sound servers dont work Properly, no sound everywhere! starfly Linux - Hardware 1 04-01-2005 09:53 PM
Need to run system-config-sound after every boot too make sound work in FC2 jrbiochem Linux - Hardware 11 08-04-2004 07:08 AM
midi / synth sound with SIS7012 aka Intel i8x0 onboard sound card does not work wahwah Linux - Hardware 1 11-10-2003 05:25 PM
Need help getting sound blaster live to work instead of onboard sound JakeWolf Linux - Newbie 8 04-29-2002 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:10 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