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.
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.
I've tried alsaconf. It comes up with two options, intel8x0, and legacy. I'm guessing that legacy is the wrong one, so I tried the former one. It runs fine. I try playing a file afterwards, and no sound. I run kmix, put everything up high, and it still doesn't work. Anything else that I should try?
I'm not sure what the two files that I need to edit and create are though. I've edited a lot of files trying to get this to work, so I'm not sure which ones you're refering to.
Do you have alsa compiled as modules? I was unable to use sound after compiling them into kernel. And use newer kernel.(I use 2.6.7 cuz it was on the second Slack CD)
Originally posted by bobwhoops Ok, I got alsamixer to work by adding the -c1 flag. Still no sound though.
And I looked at the alsa homepage, but I could only find instructions to compile it into the kernel and things like that.
Edit: I'll look again though.
Seems pretty much as if you have some other device plugged to your machine that is in any way able to record or produce sound. Perhaps a webcam with microphone? If so, I'll guess this "sound" device (linux detects this also as a sound device because it handles sound in any way) is recognized by alsa first and therefore set up as your default sound device (/dev/sound/dsp0). The problem is that most applications want to play sound through this device, and, in case it is only a microphone or something like that, this simply won't work. I've worked around that by editing my /etc/modules.conf (/etc/modprobe.conf on 2.6 kernels). I'll post an example here:
Code:
/etc/modprobe.conf
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.8 ---
alias snd-card-0 snd-intel8x0 #my soundcard
alias snd-card-1 snd-usb-audio #my webcam microphone
alias sound-slot-0 snd-intel8x0
alias sound-slot-1 snd-card-1
# --- END: Generated by ALSACONF, do not edit. ---
This way, my soundcard is set up as snd-card-0, which is the default sound device most apps use (as written above).
Originally posted by bobwhoops
** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): Device or resource busy
I can kill arts to get rid of that warning, but again no change.
Did you choose the right output plugin within XMMS? XMMS 1.2.10 comes with ALSA support, you can choose it in the preferences (I think).
Did you unmute the mixer channels? I know this might be a stupid question, but there are people complaining about no sound and forgot to unmute the channels they use (I am one of them ;-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.