LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   change detected default sound card in ubuntu 10.10 (https://www.linuxquestions.org/questions/ubuntu-63/change-detected-default-sound-card-in-ubuntu-10-10-a-857918/)

linuxhippy 01-21-2011 11:08 PM

change detected default sound card in ubuntu 10.10
 
I'm using mythbuntu 10.10 with 2 pci tuner cards and 1 SB PCI sound card. My system is detecting my tuner cards as audio devices and making one of those my default sound card. Which file do I change to make the SB card the default sound card?

It's probably an alias statement inside a file...

impert 01-22-2011 05:38 PM

If I'm not mistaken and if you're using alsa, then you can edit /etc/modprobe.d/alsa-base.conf and add a line:
Code:

options snd-xxxxxx index=-2
replacing snd-xxxxxx with the name of the module for the card you don't want to use. If you want to use both, but want card y as the default rather than card x, then try:
Code:

options snd-yyyyyy index=0
options snd-xxxxxx index=1

(you can add other cards, setting the index to 2,3 etc)

linuxhippy 01-22-2011 09:29 PM

I cannot seem to get both cards working at the same time in mythtv and then in mplayer. My 2 tuner cards are identical PCI cards that are Pinnacle 23040 tuner cards and lspci shows this:

04:00.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
04:00.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
04:00.2 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
04:01.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
04:01.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
04:01.2 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)


My audio card is a Creative Sound Blaster Audigy PCI that shows up as this with lspci:

04:02.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)

The HWCL here shows this as the modules:

snd-pcm-oss
snd-mixer-oss
snd-emu10k1
snd-pcm
snd-hwdep
snd-util-mem
snd-page-alloc
snd-rawmidi
snd-seq-device
snd-ac97-codec
gameport
ohci1394

I just want to make one of the above Audigy modules set to index=0 in that conf file. Which module do I use...I've used snd-emu10k1 with no results.


All times are GMT -5. The time now is 04:26 AM.