LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Multiple alsa hardware situation? (in Debian) (https://www.linuxquestions.org/questions/linux-hardware-18/multiple-alsa-hardware-situation-in-debian-354031/)

sausagejohnson 08-16-2005 09:02 PM

Multiple alsa hardware situation? (in Debian)
 
Hi Guys, I have a situation where one harddrive needs to operate in two different hardware configurations and the alsa audio is the only thing dogging me. The two audio hardware configs are:

1) VIA 82xx
2) Intel 8x0

Basically I need to be able to take the harddrive out of the machine with the intel soundcard and into the machine with the VIA sound hardware without having to change configuration files everytime.

If I change the /etc/modprobe.d/sound file to load my appropriate module, it works in that specified hardware. I need the box to attempt to load both drivers. The following two configs work in their appropriate machines, but not in the other:

Code:

cat /etc/modprobe.d/sound

alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0

and

Code:

cat /etc/modprobe.d/sound

alias snd-card-0 snd-via82xx
options snd-via82xx index=0

I tried to get tricky and combine them with:

Code:

alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0
alias snd-card-0 snd-via82xx
options snd-via82xx index=0

also tried...

Code:

alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0
alias snd-card-1 snd-via82xx
options snd-via82xx index=1

.. but in both attempts the audio would work in only one machine. The configurations are perfect, the kernel and set ups are correct and good. I just need someone to make a suggestion how either module can neatly load when appropriate, just like normal modules like ethernet, etc do when there's multiple modules present.

Many thanks.

sausagejohnson 08-17-2005 06:54 PM

Not 100% the ideal situation, but it was solved at: http://www.linuxquestions.org/questi...postid=1805882


All times are GMT -5. The time now is 10:26 PM.