Disable one of two soundcards using the same module

I’m using Opensuse 11.2 with the fglrx-driver out of the ati-reposiotry.
This fglrx-driver installs a HDA-HDMI-Audio driver using the snd-hda-intel module.
My onboard via soundchip uses the same module: snd-hda-intel

With the hdmi-device set to the first device a few apps (like the flash-plugin) use the hdmi-device, which is not connected to any speaker.

I can’t switch the via-card to the first device in yast, because both cards use the kernel-module. I tried different things on /etc/modprobe.d/50-sound.conf with not results. And it is not possible to put the module on a blacklist, because both cards use it.

Is there any way to disable the hdmi-device or to set the via-device to default?

Here the output of aplay -l

Karte 0: HDMI [HDA ATI HDMI], Gerät 3: ATI HDMI [ATI HDMI]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 2: VT82xx [HDA VIA VT82xx], Gerät 0: ALC888 Analog [ALC888 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

And cat /proc/asound/cards

 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeafc000 irq 25
 2 [VT82xx         ]: HDA-Intel - HDA VIA VT82xx
                      HDA VIA VT82xx at 0xfebfc000 irq 17

And the codecs

head -n 1 /proc/asound/card0/codec*
Codec: ATI R6xx HDMI

head -n 1 /proc/asound/card2/codec*
Codec: Realtek ALC888

OK, I got following solution after a lot of tying.
Maybe there is something better, but this works for me:

*/etc/modprobe.d/50-sound.conf
*

options snd-hda-intel model=3stack-dig enable=1 index=0
options snd-hda-intel enable=1 index=1
options snd slots=snd-hda-intel,nd-hda-intel

# FVI2.LIkXaQ7lzkE:VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller)
alias snd-card-0 snd-hda-intel

# 2Oa+.qWSfLhLFky3:Radeon HD 3870 Audio device
alias snd-card-1 snd-hda-i

I’ve been away on business/vacation for the past 10 days and I am only now starting to review the old threads on sound … Congratulations on making as much progress as you have …

… my limited experience here suggests in some desktops (such as KDE4) this can be be a desktop setting that one can control to set priorities.

That looks liike a syntax error in “options snd slots=snd-hda-intel,nd-hda-intel

Also, since you do not specify the snd-card in the “enable” and “index” settings, I think the second “options snd-hda-intel enable=1 index=1” will simply replace the first “options snd-hda-intel model=3stack-dig enable=1 index=0”, although the 3stack-dig should still be in place.

Hello

I have a similar situation. An analogic high definition analog audio integrated card and and HDMI audio output in my Nvidia card. I boot first time my Linux with only HDMI output active, and got to play after configuring on YAST -> Audio -> Edit my HDMI audio card. Next, I activated the integrated high definition audio card (intel) and here began my problem. I try to configure the just activated audio card and I got a error message like:
“The kernel module snd-hda-intel for sound support could not be loaded.”

I want to use both audio outputs at same time, but they use same module but don’t know how to solve the error.

Could anybody help me??

Thank you

Addiotional info:

linux-02h1:~ # lspci -v | grep Audio
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)

linux-02h1:~ # cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe97c000 irq 18
1 [SAA7134 ]: SAA7134 - SAA7134
saa7133[0] at 0xfebff800 irq 21

linux-02h1:~ # cat /etc/modprobe.d/50-sound.conf
options snd-hda-intel probe_mask=0x102
options snd slots=snd-hda-intel

NXNs.lZXObWQ1a9D:nVidia Corporation

alias snd-card-0 snd-hda-intel

For openSUSE 12.2 and with the KDE Desktop you need to do two things:

  1. open YaST / Hardware / Sound and select/highlight the sound card you want to use with your mouse. Select Other button on bottom right and pick Set As Primary Card. This should make it device 0 and the top of the list of sound devices. If any devices are shown as not configured, I do edit them and I remove any duplicates if they exist, but in the end, the sound device you use should be device 0 & shown first.

  2. Next goto Menu / Configure Desktop / Hardware / Multimedia / Phonon / Audio Hardware Setup Tab / **Hardware Soundcard **and make sure that the audio device you do not use is using the Profile of **Off! **And for the device you use, pick a profile that works OK.

For more info I suggest you look at these two blogs: https://forums.opensuse.org/blogs/oldcpu/pulseaudio-basics-opensuse-pavucontrol-96/ & https://forums.opensuse.org/blogs/jdmcdaniel3/s-t-r-t-suse-terminal-audio-reporting-tool-version-1-11-61/

Thank You,