Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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).
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.
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)
Distribution: Slackware 9.1/10/10.1 RedHat circa 2000, Knoppix, OpenSuse 10.0/10.1
Posts: 122
Original Poster
Rep:
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.