Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on February 02, 2010, 03:55:22 AM

Title: Multiple sound cards
Post by: bmarkus on February 02, 2010, 03:55:22 AM
It is not really a TC specific question. Anyhow, is it possible to use multiple sound cards with ALSA or OSS or at least to specifiy which one is used while other(s) disabled?
Title: Re: Multiple sound cards
Post by: Jason W on February 02, 2010, 04:24:37 AM
There are a couple of ways to do it with ALSA.  Normally alsaconf will let you set up one of them to use in preference to the other.  Also, blacklisting the module of one of them allows the /usr/local/etc/init.d/alsasound script to work for the non-blacklisted one.  It has been a long time since I used two sound cards, but I do remember using the blacklist method.

I don't normally use OSS but i am sure it has a means too.
Title: Re: Multiple sound cards
Post by: curaga on February 02, 2010, 05:04:29 AM
With ALSA I think you could add a module option in /etc/modprobe.conf, something like index=1 to decide which was the primary card.

OSS: http://www.opensound.com/wiki/index.php/Tips_And_Tricks#Changing_the_default_sound_output
Title: Re: Multiple sound cards
Post by: bmarkus on February 02, 2010, 05:18:17 AM
Thanks, will try it.
Title: Re: Multiple sound cards
Post by: yoshi314 on February 02, 2010, 06:21:54 AM
yup, this is what i do usually, because my tv tuner card sometimes registers as the first card in the system.

you should pass index= to sound modules for both cards. i don't remember whether it starts from 0 or from 1 - i usually pass index=5 to tuner and index=1 to my sound card.