Professional Web Applications Themes

how to change the used soundcard - Ubuntu

I've got two soundcards. The one which is autodetected is not the one I want to use. I find the card I want to use in /proc/asound/ as card2 The card I don't want to use is listed there as card 0. How I can activate card2 and disable card0 ?...

  1. #1

    Default how to change the used soundcard

    I've got two soundcards. The one which is autodetected is not the one
    I want to use. I find the card I want to use in /proc/asound/ as card2
    The card I don't want to use is listed there as card 0.
    How I can activate card2 and disable card0 ?
    Uwe Guest

  2. #2

    Default Re: how to change the used soundcard

    On Tue, 10 Oct 2006 17:39:46 +0200, Uwe Bosse wrote:
     

    If they are two physically separate sound cards merely remove the one you
    don't want to access (Card 0). However if card 0 is on the motherboard
    you will need to determine what switch/bios setting is required to cripple
    it. (This is assuming that you don't have some need to have both
    available simultaneously which would require a somewhat different
    resolution.)

    Tom Guest

  3. #3

    Default Re: how to change the used soundcard

    Uwe Bosse wrote: 

    I believe the solution is to add something like the following to
    /etc/modprobe.d/alsa-base:

    options snd-via82xx index=1
    options snd-emu10k1 index=0

    This makes the soundblaster live appear as card0, and the onboard sound
    card1 (the names of your drivers should appear earlier in the file, if
    you're not sure).


    Kim.
    kimble Guest

  4. #4

    Default Re: how to change the used soundcard

    kimble wrote:
     

    My alsa-base file looks like this:
    ####################################### BEGIN OF FILE ###############
    # autoloader aliases
    install sound-slot-0 /sbin/modprobe snd-card-0
    install sound-slot-1 /sbin/modprobe snd-card-1
    install sound-slot-2 /sbin/modprobe snd-card-2
    install sound-slot-3 /sbin/modprobe snd-card-3
    install sound-slot-4 /sbin/modprobe snd-card-4
    install sound-slot-5 /sbin/modprobe snd-card-5
    install sound-slot-6 /sbin/modprobe snd-card-6
    install sound-slot-7 /sbin/modprobe snd-card-7

    # Cause optional modules to be loaded above generic modules
    install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS &&
    { /sbin/modprobe -Qb snd-ioctl32 ; : ; }
    install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS &&
    { /sbin/modprobe -Qb snd-pcm-oss ; : ; }
    install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS &&
    { /sbin/modprobe --Qb snd-mixer-oss ; : ; }
    install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS &&
    { /sbin/modprobe -Qb snd-seq-midi ; /sbin/modprobe --quiet
    snd-seq-oss ; : ; }

    # Cause optional modules to be loaded above sound card driver modules
    install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1
    $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
    install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx
    $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

    # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
    install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS &&
    { /sbin/modprobe -Qb saa7134-alsa ; : ; }
    # Prevent abnormal drivers from grabbing index 0
    options snd-bt87x index=-2
    options snd-atiixp-modem index=-2
    options snd-intel8x0m index=-2
    options snd-via82xx-modem index=-2
    options snd-usb-audio index=-2
    options snd-usb-usx2y index=-2
    ###################################### END OF FILE #########################

    unfortunately I don't find the driver I want. It must be like
    snd_cmipci or something like that, because it is a
    CMI8738-MC6 - C-Media PCI CMI8738-MC6 card.

    The solution to switch off the on-board-card in the BIOS probably will work,
    but I want to understand how to switch to the desired card within the
    running system. It looks like my pci-card is configured correctly (it
    appears in /proc/asound/cards), so there must be a way to activate it!
    Arven Guest

  5. #5

    Default Re: how to change the used soundcard

    Tom Clydesdale wrote:

     

    That is the case.
     

    I am interested in a different solution too!

    Arven Guest

  6. #6

    Default Re: how to change the used soundcard

    Uwe Bosse wrote: 

    You did go in to the "Preferences" and select "Sound" and change the
    default sound card?

    On the volume slider you can right click and select preferences and
    change which sound card is affected by the slider.

    --

    Cecil
    KD5NWA
    www.qrpradio.com www.hpsdr.com

    "Sacred Cows make the best Hamburger!" Don Seglio Batuna
    Don Guest

  7. #7

    Default Re: how to change the used soundcard

    Don Seglio schrieb:
     
    >
    > You did go in to the "Preferences" and select "Sound" and change the
    > default sound card?
    >
    > On the volume slider you can right click and select preferences and
    > change which sound card is affected by the slider.
    >[/ref]

    This is true, but I only find a way to change the mixer settings for a
    specific sound card (and this works, indeed), but I do not find a way to
    select the soundcard to which the sound-data are sent, for example by
    amarok or aplay. alsa is used, so I guess there must be a command for alsa
    to select the soundcard.
    Uwe Guest

  8. #8

    Default Re: how to change the used soundcard

    On 2006-10-12, Uwe Bosse <ms> wrote: 
    >>
    >> You did go in to the "Preferences" and select "Sound" and change the
    >> default sound card?
    >>
    >> On the volume slider you can right click and select preferences and
    >> change which sound card is affected by the slider.
    >>[/ref]
    >
    > This is true, but I only find a way to change the mixer settings for a
    > specific sound card (and this works, indeed), but I do not find a way to
    > select the soundcard to which the sound-data are sent, for example by
    > amarok or aplay. alsa is used, so I guess there must be a command for alsa
    > to select the soundcard.[/ref]

    In amarok you can choose which soundcard to use.
    From memory:
    Select xine output plugin
    In the 'output' section (Can't remember the exact name) enter
    hw:0
    or
    hw:1
    or
    plughw:0 (I think)
    or
    plughw:1 (I think)

    to choose between first and second soundcards.

    I, for example, have amarok playing through one soundcard (hw:0) to send music
    to my kitchen and mplayer through a different soundcard (hw:1) to play video
    sound to my TV.

    --
    -Toby, who...
    Add the word afiduluminag to the subject
    field to cirvent my email filters.
    Ignore any mail delivery error.
    Toby Guest

  9. #9

    Default Re: how to change the used soundcard



    I don't find something like this. There is a field "output plugin", where I
    can select alsa or oss. But not the hardware used.

    Uwe Guest

  10. #10

    Default Re: how to change the used soundcard

    On 2006-10-13, Uwe Bosse <ms> wrote: 
    >
    > I don't find something like this. There is a field "output plugin", where I
    > can select alsa or oss. But not the hardware used.[/ref]

    I'm home now and can see that I was a little wrong from memory.

    In amarok settings, choose 'engine'
    For sound system, choose 'xine'
    For output plugin, go 'alsa'
    Under ALSA Device configuration, Mono and Stereo, use either
    hw:0
    hw:1
    hw:2
    plughw:1
    plughw:2
    (experiment to work out which is which card)

    fwiw, I have two soundcards, and use the setting plughw:2 in Amarok
    under both mono and stereo.

    HTH

    --
    -Toby, who...
    Add the word afiduluminag to the subject
    field to cirvent my email filters.
    Ignore any mail delivery error.
    Toby Guest

Similar Threads

  1. Capture Sound from Soundcard AND Mic
    By Dimitris24sta23 in forum Macromedia Flash Flashcom
    Replies: 1
    Last Post: March 23rd, 05:36 AM
  2. FlashPlayer Mac not playing through soundcard
    By jkalla in forum Macromedia Flash Player
    Replies: 1
    Last Post: March 11th, 03:10 AM
  3. Recording SoundCard Output
    By mProductions in forum Macromedia Flash Flashcom
    Replies: 3
    Last Post: August 21st, 11:36 AM
  4. Soundcard does not work
    By Jay Lynn in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: September 17th, 05:37 PM
  5. i815 Soundcard Problem
    By Ratheesh K K in forum Debian
    Replies: 0
    Last Post: July 10th, 08:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139