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 been trying to get ALSA to work for me with slack9.1, but I've not had any success. I have two soundcards, a SBLiveBasic and a Creative audiopci card, as well as a Probe Legacy ISA chip. I run Alsaconf and it shows all of these, of which I choose Live to configure. I get the message to "enjoy" so I assume it went OK. when I run Alsamixer, however, the card shown is Ensonique audioPCI, which I don't recognize, but assume it is not Live card, and besides I do not see anything referring to unmute. I installed (not updated) the latest alsa drivers using slapt-get and updated to kernel 2.4.26 using installpkg. I attempted to install the following modules into the kernel with the commands:
/lib/modules/2.4.26/kernel/sound/pci/emu10k1/snd-emu10k1.o.gz: init_module: No such device
/lib/modules/2.4.26/kernel/sound/pci/emu10k1/snd-emu10k1.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26/kernel/sound/pci/emu10k1/snd-emu10k1.o.gz: insmod /lib/modules/2.4.26/kernel/sound/pci/emu10k1/snd-emu10k1.o.gz failed
/lib/modules/2.4.26/kernel/sound/pci/emu10k1/snd-emu10k1.o.gz: insmod snd-emu10k1 failed
/lib/modules/2.4.26/kernel/sound/acore/seq/oss/snd-seq-oss.o.gz: init_module: Device or resource busy
/lib/modules/2.4.26/kernel/sound/acore/seq/oss/snd-seq-oss.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26/kernel/sound/acore/seq/oss/snd-seq-oss.o.gz: insmod /lib/modules/2.4.26/kernel/sound/acore/seq/oss/snd-seq-oss.o.gz failed
/lib/modules/2.4.26/kernel/sound/acore/seq/oss/snd-seq-oss.o.gz: insmod snd-seq-oss failed
Here are lines from dmesg that seem appropriate
Creative EMU10K1 PCI Audio Driver, version 0.20, 18:16:46 Apr 14 2004
PCI: Found IRQ 5 for device 00:0a.0
emu10k1: EMU10K1 rev 8 model 0x8022 found, IO at 0xa000-0xa01f, IRQ 5
ALSA rawmidi.c:1495: unable to register OSS rawmidi device 0:0
EMU10K1/Audigy soundcard not found or device busy
ALSA mixer_oss.c:1261: unable to register OSS mixer device 0:0
ALSA pcm_oss.c:2417: unable to register OSS PCM device 0:0
Creative EMU10K1 PCI Audio Driver, version 0.20, 18:16:46 Apr 14 2004
PCI: Found IRQ 5 for device 00:0a.0
emu10k1: EMU10K1 rev 8 model 0x8022 found, IO at 0xa000-0xa01f, IRQ 5
ALSA rawmidi.c:1495: unable to register OSS rawmidi device 0:0
Creative EMU10K1 PCI Audio Driver, version 0.20, 18:16:46 Apr 14 2004
PCI: Found IRQ 5 for device 00:0a.0
emu10k1: EMU10K1 rev 8 model 0x8022 found, IO at 0xa000-0xa01f, IRQ 5
EMU10K1/Audigy soundcard not found or device busy
ALSA mixer_oss.c:1261: unable to register OSS mixer device 0:0
ALSA pcm_oss.c:2417: unable to register OSS PCM device 0:0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
ALSA seq_oss.c:226: can't register device seq
Any ideas? Is there a problem with having more than one soundcard? It seems like my problems are many.... I hope not.
I still don't understand the purpose of two soundcards. What is the purpose? Why not take out your extra soundcards and focus on making one of them work? Have you tried rebooting to see if hotplug sorts all of the module loading out for you? Maybe try rebooting and running the command
Code:
lsmod
That will show you which modules get loaded automatically. Maybe that will give you a hint as to what the problem is. I'm a big fan of tearing out everything that isn't working and that I don't need. Then you can fix what isn't working that you do need. Finally, add back the extra stuff and try to get it to work.
Sorry, long paragraph. Just reboot and let hotplug sort things out. Then lsmod right off the bat and post the output. I'm sure that will give someone a clue as to what is going on.
I have two soundcards in because the first one (creative) was not good for one audio design software package I wanted to use, so I had to get the Live. I never took out the first one since it never had any problems with any of my other OSes (Suse, Windows). I will take it out now, though, to see if that'll make Slack happy.
EDIT
OK, I removed the creative card and rebooted. Here is the output for lsmod:
I reran alsaconf and got the message that ALSA was ready for use. I ran alsamixer and it did come up as the Live volumes, but still don't see any setting for unmuting anything. I did a sound test in Control Center and get no sound.
I get the following artsmessage on startup of KDE:
Sound server informational message: Error while initializing sound driver: device /dev/dsp can't be opened (Permission denied). The sound server will continue, using the null output device.
OK, I've been searching and it seems that my problems are permission related since I have sound as root. I've followed some suggestions on other threads, such as
chmod a+rwx /dev/snd
cd /dev/snd
chmod a+rw *
but still no sound and the same error message at startup.
I've also looked into adding user to the audio group
As root, adduser {your username} audio
logout login.
Should do it.
but cannot find an "audio" group. What am I missing?
If you prefer to use the audio group, you have to add the audio group and change the ownership of your sound devices so that they are in owned by the audio group. If you're changing the permissions with chmod, you don't have to do the group thing, though a lot of people will tell you you should for security.
I know this is an old post, but I have a similar problem. I have 2 sound cards, both are working individually (both in slack 10 and windoze).
What I want to do is to take an input from one card and output it in another. I know I can do it in windoze, but I don't know how to do it in Linux. The reason for this is that I have a lot of device to plug in, but not enough input jacks, and the microphone jacks are mono only, so it's not really good :s
All you need to do is tell the kernel what are is what, in modprobe.conf you need to secify what is card 0 and what is card 1... the kernel is trying to load modules for a card that are not for those modules.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.