SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Ok, I'm new to Slackware and relatively new to GNU/Linux (about 2 months). I've used Debian, Ubuntu and SuSE 9.2 Pro so far. I'm checking out Slackware 10.1 and really like it so far. Here's the problem. When I installed Slackware, I had my Audigy LS installed just to see if it would work, I've never gotten it to work with any of the other distros I mentioned. It didn't. So I slapped in my old SB live which has worked with every distro I mentioned with no tweaking at all, just plug and play. With Slackware, an unusual problem has occurred. I have sound, I can aplay from a command prompt, I have system sounds, however, I can't adjust the volume from the volume control in the panel. When I try it just jumps back to the lowest setting when I drag it up. Also, if I try to launch volume control application from multimedia (using Gnome 2.6), I get the following message:
"Sorry, no mixer elements and/or devices found"
Obviously, there is a sound device running since I can play wave files and hear system sounds, however, my CD player doesn't work, figure it has something to do with this issue. Also, in Gnome, under Applications>Desktop Preferences>Advanced>Multimedia Systems Selector, you have the option of selecting and testing what sound system - ALSA, OSS or ESS - is to be used. On all my other Linux installs, those have always been the options and they always work with the SB live. On this install (Slackware 10.1) the only thing listed is 'Custom' and it does nothing except cause the selector application to crash if you try to pipe (test) the sound. It's looking like my suspicions this issue may have been caused by my not having the SB live installed when I installed Slackware is probably what's causing this strange behavior. Maybe this is a Gnome issue and has occurred because I didn't have the card in at install. Anyone have any ideas? I have never had any trouble getting an SB live to work with either Linux or Gnome, it always works by default. Thanks.
Thing is, when I run KDE everything works perfectly, I even have xine running commercial DVDs with fully synced surround sound.Seems like a Gnome issue rather than a kernel issue. What do ya think?
Check to see if you have /dev/dsp, if not that's your culprit. As the other poster stated, GNOME uses ESD and, unless I'm mistaken, ESD looks for /dev/dsp.
Another thing you might want to do, if you haven't already, is to run alsaconf as root. This is an automated ALSA setup "routine" that will make sure (well mostly sure anyway) that your system is set up to run ALSA at boot. After alsaconf runs type in, again as root:
Code:
alsactl store
Also, check to see if you have /etc/rc.d/rc.alsa AND that it is set to run at boot (executable). The easiest way to do this is to open a terminal and just type in dir /etc/rc.d (don't have to be root). If rc.alsa is yellow then it's set to start at boot. If it ain't yellow, log in as root and type in:
Code:
chmod 755 /etc/rc.d/rc.alsa
If you don't have an rc.alsa, re-install the alsa-utils-1.0.8 package from the 10.1 CD. Also, make sure the alsa-oss package from the cd is installed. You can do this from the terminal (user or root no matter) by typing in:
Code:
dir /var/log/packages/alsa*
This will display all the alsa packages installed on your PC. If the alsa-oss-1.0.8 isn't installed you will need to install it as well. BTW, this isn't OSS (as it has been depreciated) what this is, is ALSA's OSS compatibility layer for programs that still look for OSS stuff in /dev (like /dev/dsp).
Now all the necessary ALSA packages are installed, your mixer settings are saved and ALSA will start at boot. A couple more things to be "on the safe side". You will need to edit either the /etc/modules.conf (2.4 kernel) or the /etc/modprobe.conf (2.6 kernel) and add the following to the end:
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
Originally posted by MMYoung Another thing you might want to do, if you haven't already, is to run alsaconf as root. This is an automated ALSA setup "routine" that will make sure (well mostly sure anyway) that your system is set up to run ALSA at boot. After alsaconf runs type in, again as root:
Code:
alsactl store
Also, check to see if you have /etc/rc.d/rc.alsa AND that it is set to run at boot (executable). The easiest way to do this is to open a terminal and just type in dir /etc/rc.d (don't have to be root). If rc.alsa is yellow then it's set to start at boot. If it ain't yellow, log in as root and type in:
Code:
chmod 755 /etc/rc.d/rc.alsa
If you don't have an rc.alsa, re-install the alsa-utils-1.0.8 package from the 10.1 CD. Also, make sure the alsa-oss package from the cd is installed. You can do this from the terminal (user or root no matter) by typing in:
Code:
dir /var/log/packages/alsa*
This will display all the alsa packages installed on your PC. If the alsa-oss-1.0.8 isn't installed you will need to install it as well. BTW, this isn't OSS (as it has been depreciated) what this is, is ALSA's OSS compatibility layer for programs that still look for OSS stuff in /dev (like /dev/dsp).
Now all the necessary ALSA packages are installed, your mixer settings are saved and ALSA will start at boot. A couple more things to be "on the safe side". You will need to edit either the /etc/modules.conf (2.4 kernel) or the /etc/modprobe.conf (2.6 kernel) and add the following to the end:
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
HTH,
MMYoung
I'll give all this a go when I can, I'm using my Debian boot right now. It's small (6 gig) but works perfectly. Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.