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 have been trying to get alsa working. (and yes I have searched through most threads for this answer..cant find it...
The problem seems to be that I have no sound from PCM. I have CD sound working in console and KDE3.1, but nothings works as far as PCM goes. I also can't figure out to get the default card to card #1 (Card#0 is dummy).
I try:
aplay -d card1 /opt/kde/share/sounds/pop.wav
Playing WAVE '/opt/kde/share/sounds/pop.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
(it looks like it played, but no sound...)
I have stored settings for card #1. I have tried everything I can think of.. I am sure alsa is loaded right...hmm? The Mic works, cd sound works...no pcm. (And it is nomuted). Anyway, I did notice that the device /dev/snd/pcm does not exist. the only file even close to pcm is /dev/pcmixer
And as I mentioned: Is there a way to set card #1 as default? it would save on the typing!
Somehow, I think you and I are in the same boat. I have yet to get any answers, but if I do, I will let you know what worked for me. If you are interested to see my post, here it is:
I'm still a n00b, but I've successfully compiled a kernel that works pretty decently on my notebook (Thinkpad r40) You need to compile in (as a module):
oss-pcm-module
oss-mixer-module
They are under the "drivers -> sound -> Alsa" in menuconfig, you must compile them as a module as by default they are called as modules from whatever /etc/rc.d file they are called from, I _BELIEVE_ .. don't quote me on that, since I don't have my notebook with me right now to check.
You can compile them directly into the kernel also so they don't need to load them as modules tho, course then your still gonna get an error when your system boots as you'll be loading those components as part of the kernel, then it will error later on calling again to try to load them as modules. You'll have to find the correct config file and edit out the module calls.
Hope I've been of some small help. If I am mistaken, please, don't kill me, I'm a n00b and still learning myself
Originally posted by mooky I'm still a n00b, but I've successfully compiled a kernel that works pretty decently on my notebook (Thinkpad r40) You need to compile in (as a module):
oss-pcm-module
oss-mixer-module
They are under the "drivers -> sound -> Alsa" in menuconfig, you must compile them as a module as by default they are called as modules from whatever /etc/rc.d file they are called from, I _BELIEVE_ .. don't quote me on that, since I don't have my notebook with me right now to check.
You can compile them directly into the kernel also so they don't need to load them as modules tho, course then your still gonna get an error when your system boots as you'll be loading those components as part of the kernel, then it will error later on calling again to try to load them as modules. You'll have to find the correct config file and edit out the module calls.
Hope I've been of some small help. If I am mistaken, please, don't kill me, I'm a n00b and still learning myself
I got alsa working for the most part. I finally had to get the new drivers 1.0.3, then compile the kernal with JUST sound support. I then compiled the alsa driver, and lib, and utils.
Dont forget to uninstall old ALSA packages with removepkg or pkgtool. (I prefer pkgtool for this). THEN install all the new ALSA stuff. (1.0.3b at time of writing). I then recompiled the kernal again with alsa and alsaoss-emulation compiled in as MODULES. This finally got it working correctly. It loads my card on boot and does everything it's suppose to. (after i ran alsamixer then alsactl store) that turns the pcm and master on, and then saves that as default info. It is a shame it couldn't have just worked the way I had it, as I feel alsa should be able to be compiled in as non-mondule. But oh well...it works...well almost..in kdm, artsd has to be turned off or it doesn't want to work right. and I have found some other problems. But at least most things are working now.
-b
Last edited by bonecrusher; 03-23-2004 at 09:01 AM.
Just a quick update,
I got everything working under KDE 3.2.1!
I am a happy person now. I set Artsd to on but selected Auto instead of ALSA. (For Audio device section). And then turned it back on... rebooted, and then everything started working fine.. (CD/Xmms/et al) Anyway, I guess installing new KDE/new ALSA/New Kernel, finally paid off. If I can help anyone out let me know, and I will go into more detail about what I did to get it all working. So at any rate I am sitting here listening to a Moby mp3 while writing you in Konquerer. Ahhh... (Sigh of relief...)
-b
Last edited by bonecrusher; 03-23-2004 at 09:03 AM.
Yea, It's a good feeling, huh? I just went thru the same crap. Could play music thru xmms but that was it. No sound server, no alsamixer, no audio cd playing.... Uninstalled all alsa packages and compiled new ones from source and everything works great now.... Modified modules.conf to load all the necessary mods that the new alsa built... sox doesn't whine about stuff anymore either... Those default slack-paks are compiled so generically that they don't seem to FULLY support any card... Just enough to have BASIC sound I guess.... Using a specific ./configure switch for your card probably helps alot too...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.