LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-06-2004, 12:20 AM   #1
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Rep: Reputation: 30
multiple soundcards lead to ALSA problems??


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:

modprobe snd-emu10k1;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

the result:

/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.

thanks
 
Old 05-06-2004, 01:27 AM   #2
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
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.
 
Old 05-06-2004, 07:29 AM   #3
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Original Poster
Rep: Reputation: 30
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:

Module Size Used by Not tainted
snd-pcm-oss 37860 0 (unused)
snd-mixer-oss 12536 0 [snd-pcm-oss]
keybdev 2052 0 (unused)
mousedev 4212 1
hid 21476 0 (unused)
usbmouse 2040 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
usb-storage 66400 0 (unused)
parport_pc 14820 0
parport 23400 0 [parport_pc]
uhci 24508 0 (unused)
usbcore 59436 1 [hid usbmouse usb-storage uhci]
emu10k1-gp 1352 0 (unused)
gameport 1420 0 [emu10k1-gp]
8139too 14408 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
pcmcia_core 39972 0
ide-scsi 9360 0
snd-emu10k1 63012 0
snd-pcm 55880 0 [snd-pcm-oss snd-emu10k1]
snd-timer 13572 0 [snd-pcm]
snd-hwdep 4836 0 [snd-emu10k1]
snd-page-alloc 6324 0 [snd-emu10k1 snd-pcm]
snd-util-mem 1136 0 [snd-emu10k1]
snd-ac97-codec 44508 0 [snd-emu10k1]
snd-rawmidi 12768 0 [snd-emu10k1]
snd-seq-device 3888 0 [snd-emu10k1 snd-rawmidi]
snd 30340 0 [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-hwdep snd-util-mem snd-ac97-codec snd-rawmidi snd-seq-device]
soundcore 3396 6 [snd]
agpgart 44004 0 (unused)


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.


Last edited by timsch75; 05-06-2004 at 08:07 AM.
 
Old 05-06-2004, 09:22 AM   #4
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Original Poster
Rep: Reputation: 30
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?
 
Old 05-06-2004, 11:10 AM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
Did you try
Code:
chmod 666 /dev/mixer*
chmod 666 /dev/dsp*
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.
 
Old 05-08-2004, 09:07 AM   #6
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Original Poster
Rep: Reputation: 30
Did you try

code:

chmod 666 /dev/mixer*
chmod 666 /dev/dsp*


Just did, and VIOLA, sound. thanks.

tim s
 
Old 03-08-2005, 03:22 PM   #7
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Rep: Reputation: 15
I'm having a similar problem

Hello Everyone,

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

Can anyone help

Thanks
Ccool
 
Old 03-13-2005, 11:50 AM   #8
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Rep: Reputation: 15
Ok, to whoever is looking for a similar solution.

I've been told to install and work with jackd (http://jackit.sourceforge.net/) with qtjack http://qjackctl.sourceforge.net/to configure jack... it helps, somehow
 
Old 03-13-2005, 12:10 PM   #9
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 33
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Soundcards in ALSA jp_ Slackware 7 12-11-2006 03:31 PM
setting up two soundcards with alsa. shorty_boy Linux - Software 0 06-29-2005 07:22 PM
using multiple soundcards Quis Linux - Hardware 1 02-02-2005 04:41 AM
Configure Two soundcards, ALSA...How? Outabux Debian 0 12-15-2004 12:48 PM
Two soundcards and ALSA josiah Linux - Hardware 0 09-11-2004 02:57 PM


All times are GMT -5. The time now is 10:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration