[solved]multiple soundcards

hi,
i have two soundcards: the internal card of my laptop and an usb card connected to the dock of the laptop.
is there a command that let me set the default sound card? at the moment i have to unload both modules and then reload the module for the usb card, so that it becomes card0, i.e. the default one. that's not a good solution since it fails, if the card is in use. is it possible to switch cards on the fly without closing applications that have a card in use? could this be done with the aid of pulseaudio?
ccc1
Last edited by ccc1 (2010-02-10 12:33:56)

syre wrote:
http://wiki.archlinux.org/index.php/Adv … sound_card
tried that?
sorry, i guess it didn't make myself clear enough. i need hotpluging:
.) laptop is not connected to the dock -> internal card is the only sound, therefore the default. that's fine of course.
.) i connect my laptop to the dock -> card1, the usb sound card, appears. i would need now a script or command that change card1 to the default card. preferably without having to close down all audio applications.
ccc1

Similar Messages

  • Multiple soundcard

    Hi all,
    If a computer is equipped with multiple soundcard, is it possible in air to target different devices for playback?
    eg. play music on 1 card and play the sound of a vidoe to a different one?
    Searched the AIR capabilities, but did not find an answer.
    Does anybody know if it is possible and if so how to get this working
    TIA

    Yes, It'll work as long as your music/dvd player supports selecting the output device. i do it with 5.1 and a seperate headset for voice.

  • How to use multiple soundcards

    Hi all,
    I dare to post my question again, because I didn't get any answer that could really help me.
    Is it possible to produce sound on the output channels of multiple soundcards. I want to generate different waveforms aon different channels and I don't know how to accomplish this.
    How can I select the soundcard on which to produce the signals?
    How can i select the channel (left / right) on which to produce the signals?
    Could someone provide a code example how to select the different soundcards / channels?
    Thanks very much in advance
    Michael

    Hi all,
    I dare to post my question again, because I didn't get any answer that could really help me.
    Is it possible to produce sound on the output channels of multiple soundcards. I want to generate different waveforms aon different channels and I don't know how to accomplish this.
    How can I select the soundcard on which to produce the signals?
    How can i select the channel (left / right) on which to produce the signals?
    Could someone provide a code example how to select the different soundcards / channels?
    Thanks very much in advance
    Michael

  • [Solved] Multiple wallpapers on MATE with Compiz

    Hi.
    I wanted to make MATE work with Compiz so it would let me have multiple wallpapers with the Wallpapers feature in ccsm. When I set the settings in ccdm, it doesn't work.
    I googled it, and although it showed me a few settings I should change in the configuration editor, it did nothing.
    What should I do so I can make it work?
    EDIT: solved. Basically, I removed nautilus (I don't want to use it anymore) -- it was also conflicting with caja, and set the show_desktop in apps/caja/preferences to false.
    Note: setting the show_desktop to false will mean removing icons from desktop. I don't know how to put them back up, but I will look it up later.
    Last edited by Technicolor (2012-09-13 13:42:55)

    fabertawe wrote:
    Technicolor wrote:
    EDIT: solved. Basically, I removed nautilus (I don't want to use it anymore) -- it was also conflicting with caja, and set the show_desktop in apps/caja/preferences to false.
    Note: setting the show_desktop to false will mean removing icons from desktop. I don't know how to put them back up, but I will look it up later.
    Ah, of course, Nautilus was managing the desktop. You can turn that off from Nautilus in its preferences so you can still use it as the file manager (if I remember right). Well that's how it worked with Gnome 2 anyway. BTW, isn't Caja their name for Nautilus, so the same thing?
    As for icons, I don't use or want those on my desktop so I've never looked into a replacement functionality but this might be something you have to give up to have Compiz manage the wallpapers.
    p.s. If you're looking for an amazing file manager then check out SpaceFM.
    It's just a file manager, right?
    I'm looking at it right now, it looks amazing.

  • Sound input read multiple soundcards

    Heey everybody,
    I have a problem. I want to read two different signals at the same time from 2 different soundcards. 1 internal soundcard from my laptop, and 1 usb soundcard. 
    So i used the Acquire Sound VI.
    Reading both signals at the same time is not a problem until i set the measuring time to about more that 30 seconds. It gets a buffer overflow.
    So i tried to do the following:
    I first made this with 1 signal first, and it worked perfectly, every second it got updated.
    But, when i added the second signal it only wanted to read the first second of the first signal and then it got stuck, and i had to stop the software by closing it. And then killing labview with the taskmanagement thingey from windows.
    Anyone have any idea what the problem is?
    Greetings,
    Jory 
    Solved!
    Go to Solution.

    Ok, never mind, i've solved it. I made the buffers larger (at the sound input configure block) and now it works like a charm

  • [SOLVED] multiple issues after ram upgrade

    hi everyone!
    2 new ram modules arrived this morning, which i hastily installed in my machine. this is where the fun starts...
    issue 1: no initramfs
    so the boot process starts normally it seems. i get past grub and the initramfs starts to load. thats also where it stops dead.
    a little google-fu reveals that i should try and chroot from a live iso and recreate mkinitcpio. seems easy enough... but:
    issue 2: cannot boot live iso
    multiple tries fail, when i finally stumble upon a post mentioning that the live iso cant handle large amounts of ram that well. adding
    ram=2048M
    gets me one step further. but still no dice. this time she just reboots after systemd does its thing.
    what seems like hours later, i manage to get to the root prompt by also adding
    nomodeset acpi=off
    to the kernel line. so far so good. seems my nvidia gtx 970 and nouveau dont play nice, but that seemed to solve that.
    next up: chrooting and rebuilding the initramfs. following the instructions in the beginners guide, i try and mount my root partition, which leads to...
    issue 3: cannot mount btrfs root partition
    mkdir works fine for the mount point. no problems there. the mount command itself seems to work somewhat too, telling me that sda1 is a btrfs filesystem on an ssd (which it is). then, however, a mysterious series of lines pop up telling me that it is "calling CRDA to update world regulatory domain"...
    about a dozen lines of information appear and stop dead yet again.
    utterly defeated, i decide its time to do some old fashioned hardware debugging. so i swap out the ram modules (2 sets of 2), popping them in multiple configs in the appropriate slots. memtest64 runs through fine in all configurations. nothing special to be found in the bios either. the 2 sets are from different manufacturers (a-data doesnt make the original set anymore - and havent produced a new set with the same specs), though i did pay attention to the timings, clockspeed and size (everything matches on paper). ending up at the last resort: putting everything back together again as it was originally, i reboot, praying for a familiar boot sequence and maybe even a gdm login prompt. but no such luck today. i am now stuck at
    issue 4: putting humpty dumpty back together again
    grub loads up normally. systemd fires up and im now faced with this:
    INFO task mount:172 blocked for more than 120 seconds.
    Not tainted 3.19.2-1-ARCH #1
    "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    INFO task btrfs-transacti:194 blocked for more than 120 seconds.
    ...repeats last INFO a few times...
    so that brings us up to speed i guess. im out of ideas and the interwebs dont seem to have anything more to offer with my somewhat intricate set of problems. i know most of you are tinkerers like myself, and i hope theres someone out there that can help me out. to help you help me, here are a few specs and bits of info that might be of interest:
    mobo: gigabyte 990fxa-ud5
    cpu: amd fx 8350
    ram (old): 2x4GB a-data ddr3 2000Mhz C9
    ram (new): 2x4GB avexir ddr3 2000Mhz C9
    bios settings: defaults all around, except iommu is activated (iommu=pt added to kernel line to let bios handle iommu)
    gpu: nvidia gtx 970
    partitioning (from what i can remember - i can post exact info, if its needed):
    root: 60GB SSD (btrfs)
    home: 200GB SSD (btrfs)
    var: 20 GB on 1TB HDD (btrfs)
    storage: rest of the 1TB HDD (btrfs - i think. this may be an ext4 partition, im not 100% certain)
    any help or hints are greatly appreciated!
    thanks a lot in advance!
    regards,
    m.
    Last edited by miles969 (2015-04-03 17:10:30)

    thanks ewaller, but i had tried that before...
    turns out the arch iso was the culprit. i found an ubuntu-gnome live usb and popped it in. surprisingly, chrooting worked fine with that iso and i managed to boot successfully after running
    /usr/bin/mkinitcpio -p linux
    a few minor fixes (network device names had changed) and im up and running again... with all the ram, no less!
    thanks a lot again!
    regards,
    m.

  • [Solved] Multiple sounds at the same time

    Hello!
    I've just received my new Creative X-Fi Titanium since I was in need of an optical in socket and have spent a while trying to get it to work to my liking.
    I read through the ALSA wiki, read countless posts on the forums such as this one http://bbs.archlinux.org/viewtopic.php?pid=702994, tried several .asoundrc files and of course read the related arch wiki pages without much success.
    Everything is upmixed properly to 5.1 output but I still can't play two sounds at once - with one odd exception:
    When I have mpd playing and start a youtube video, sound will play but it will only output through the 2 front speakers and I can pause and unpause mpd normally, sound will return.
    When I pause mpd and play a youtube video, it gets upmixed properly but mpd returns "error: problems opening sound device".
    Mplayer returns [AO_ALSA] alsa-lib: pcm_hw.c:1291:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Invalid argument and [AO_ALSA] alsa-lib: pcm_dmix.c:1060:(snd_pcm_dmix_open) unable to open slave.
    Heroes of Newerth returns the same: ALSA lib pcm_dmix.c:1060:(snd_pcm_dmix_open) unable to open slave.
    fuser -v /dev/snd/*
    /dev/snd/controlC0: eyescream 27612 F.... Steam.exe
    /dev/snd/pcmC0D0p: eyescream 27612 F...m Steam.exe
    fuser -v /dev/dsp*
    zsh: no matches found: /dev/dsp*
    cat .asoundrc
    pcm.snd_card {
    type hw
    card 0 # change to your cards number or name
    # 6 channel dmix:
    pcm.dmix6 {
    type dmix
    ipc_key 1024
    ipc_key_add_uid false
    ipc_perm 0666
    slave {
    pcm "hw:0,0"
    rate 48000
    format "S32_LE"
    channels 6
    period_time 0
    period_size 1024
    buffer_time 0
    buffer_size 8192
    # upmixing:
    pcm.ch51dup {
    type route
    slave.pcm dmix6
    slave.channels 6
    ttable.0.0 1
    ttable.1.1 1
    ttable.0.2 0.6
    ttable.1.3 0.6
    ttable.0.4 0.5
    ttable.1.4 0.5
    ttable.0.5 0.5
    ttable.1.5 0.5
    pcm.duplex {
    type asym
    playback.pcm "ch51dup" # upmix first
    capture.pcm "hw:0"
    # change default device:
    pcm.!default {
    type plug
    slave {
    pcm "duplex"
    # for aoss
    #pcm.dsp "duplex"
    #pcm.dsp1 "duplex"
    If anyone could hint me in the right direction as to how I could get it to work properly or provide me with a working .asoundrc, I'd appreciate it!
    Last edited by eyescream (2010-02-25 19:30:30)

    eyescream wrote:I can have sound in mpd and mplayer at the same time now
    Good. So file the damned bug report against mpd. Right now would be a good time.
    eyescream wrote:but flash completely blocks sound off for other things.
    See thread. Prove to me that flash/firefox is blocking:
    fuser -v /dev/snd/* /dev/dsp*
    eyescream wrote:The problem now is that mpd only outputs through my front speakers, so it isn't being upmixed anymore.
    Forget about upmixing for the moment, until you've got the ALSA/OSS conflict solved.
    Edit: Use e.g.:
    audio_output {
    type "alsa"
    name "Sound Card"
    options "dev=dmixer"
    device "headphones"
    In /etc/mpd.conf or ~/.mpdconf, where the device string matches an ALSA pcm entry.
    eyescream wrote:What do you mean by not renaming "default" exactly?
    This, of course, from your own ~/.asoundrc
    # change default device:
    pcm.!default {
         type plug
         slave {
        pcm "duplex"
    Comment that section out, for the time being.
    Last edited by brebs (2010-02-25 02:43:54)

  • (SOLVED) Multiple users simultaneously

    How can i set up multiple users using the same resourses on a single computer at the same time. Can someone point me in the direction of some good reading material.
    Thanks
    Last edited by unilx (2012-02-08 05:04:17)

    You mean users like root and unpriviledged users or human users accessing keyboards, mice etc.?
    If the latter, try
    * https://wiki.archlinux.org/index.php/Xorg_multiseat
    * https://wiki.archlinux.org/index.php/Multi-pointer_X
    Last edited by karol (2012-02-08 04:15:10)

  • [SOLVED] Multiple Instances of Word 2010; Possible to Force Single Instance?

    Is it possible to either:
    Control Word instancing so that its a single instace application; OR
    Adjust the behavior so that if there's already an Word of word, new documents (no matter how they're launched) will open in the existing instance and NOT a new one?
    I have a user who tends to open documents en masse/in bulk, highlighting 2-8 at a time and opening them (alternate-click > open OR once selected hitting [Enter]).
    When they do this, multiple instances of Word are launched.
    Very rarely is there an instance for each document, but its usually close.  For example, if they opened 8 documents there might be 5-7 instances, with several instances showing 2 or more documents in View > Switch Windows.
    Multiple instances of Word are a problem for this user because they because a heavy user of Ctrl+F6 / Ctrl+Shift+F6.
    And when documents are spread out across multiple instances, this does not work: It does not allow them to cycle through all opened documents; It will only cycle through those that are within that particular instance of Word.
    Is this by design?
    Is this a change in the way earlier versions of Word behaved?
    Is this an 'undocumented feature' [or worse]?
    Can this behavior be controlled?

    No idea; I'd call it a bug.
    This behavior started with Word 2007 or 2010, earlier versions opened all documents within a single instance.
    See 1.
    No, unfortunately not.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • [SOLVED] Multiple sound cards don't work with Arch

    Before you post, make sure you do not list any of these programs that I should use, to configure everything:
    alsamixer
    alsaconf
    kmix
    xfce4-mixer
    edit: I need to specify what my default sound device is as I have 2 different sound cards, a Logitech ClearChat Comfort, and a TurtleBeach AK-R8.
    Websites of my sound products:
    http://www.turtlebeach.com/products/akr8/home.aspx
    http://www.realtek.com.tw/products/prod … ProdID=135
    http://www.fatal1ty.com/products/scards/660.php
    http://www.logitech.com/index.cfm/webca … 1&cl=US,EN
    I use Windows for gaming (in virtualbox) on America's Army, so good audio is a must when you play against the best.
    The reason I state that is because those lack the features I need. I am trying to find gnome-sound-properties and since I needed sound working very fast, and a distro that already has it installed, I am currently on Ubuntu (please do not harass me or insult me about this as I hate it very much and I need to get back to software development) since all I need to do is go to System > Preferences > Sound. Is a picture of what I am looking for:
    Last edited by Neo_The_User (2009-09-27 23:28:38)

    Solved. all i needed to do was turn up the center and surround thing in alsamixer. works now in true 5.1

  • Multiple soundcards

    Hi,
    I bought an usb sound card M-Audio Transit and I have trouble to get it work well. When I load the firmware using madfuload, I can see the card in /proc/asound/cards, but I don't know how to completely switch to it. Sound from some applications goes into M-Audio and from the others goes to Intel. How can I redirect all the sound to first or second card?  I wrote a small script to load firmware to Transit, because of change device id after reconnecting Transit, but it's still quite uncomfortable, because I have to run it everytime I connect Transit. Is there any way how to load firmware automaticaly after connecting Transit and redirect all the sound into it? And after disconnecting use Intel again? I've read something about udev rules, but everything I tried didn't work for me
    my /proc/asound/cards:
    0 [Intel ]: HDA-Intel - HDA Intel
    HDA Intel at 0xfc220000 irq 32
    1 [USB ]: USB-Audio - Transit USB
    M-Audio Transit USB at usb-0000:00:1a.0-1, full speed
    29 [ThinkPadEC ]: ThinkPad EC - ThinkPad Console Audio Control
    ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT12WW-1.01

    It ain't pretty. Basically, it mostly depends on what desktop, if any, you use. KDE & GNOME have their own way of managing the default sound card. If the app is written correctly, it should allow you to pick which soundcard to use (for instance, Audacity lets you choose both input and output devices).
    You can also play with .asoundrc. For instance,  mine (in ~) is:
    defaults.ctl.!card Intel
    defaults.pcm.!card Intel
    defaults.ctl.device 0
    defaults.pcm.device 0
    which often makes it so that the hardware sound card is the default device and the various USB headsets that show up need to be specially selected. Often, mind you

  • Multiple soundcards feasib

    I want to try a technique with Acid 5 which requires two sound cards. I have an Audigy 2 SZ in a Shuttle SP8P with no free expansion slots. I do, however, also have an NX.
    I suppose I could just go ahead and try it, but I've often gotten the impression that multiple sound card setups on the same PC are problematic for various reasons.
    I'm wondering if anyone has any advice on doing this.

    Well, I've gone ahead and done it. It wasn't an issue with the software exactly, it was a question of whether the PC would install them properly. I've read various posts over the years regarding attempts to have an SB and and MAudio, for example, and difficulties getting the drivers to install correctly for each card (e.g. the MAudio installer will try to install its drivers into the SB card and so on). As with games that won't work with multiple CD-ROMs, it's probably the result of an assumption by driver developers that there will only be one card on the machine.
    Really all I wanted to do was have another card that I could route through a hardware effects chain so as to play MIDI into the Acid track in real time with pedal effects. The Acid software should allow you to utilise both cards within the program as separate busses. As it happens, it doesn't seem to be enumerating the NX for some reason (although everything else does). Anyway, I could get a similar effect by playing the MIDI on my laptop and running it into the line in, but it wouldn't be as neat.
    Message Edited by rohan_p on <SPAN class=date_text>04-0-2005 <SPAN class=time_text>09:29 AM
    Message Edited by rohan_p on 04-0-2005 09:30 AM

  • [SOLVED]Multiple hotkeys for one action in fluxbox.

    Hi, all.
    This topic title is a question)
    I want two different hotkeys to do the same thing, for example:
    Mod1 F3 :Fullscreen
    Mod1 F11 :Fullscreen
    should both 'fullscreening' current window, but only the last hotkey (Mod1 F11) works.
    'man fluxbox-keys' didn't solve my problem. Need help how it should be in keys file.
    Solved: I forgot to reload config. ^^
    Given code works fine.
    Last edited by Coacher (2009-12-29 17:09:00)

    lol i forget to reload config all the time. helps doesn t it.

  • Solved - Multiple Problems Playing or Importing CDs with iTunes 7.5

    Greetings,
    I've been scanning these boards and seen multiple problems and solutions for the CD hangs and freezes in this upgrade. CDs would only play a song or two, then hang the program. Going to Preferences, Advanced, Importing, and unchecking the box for audio correction would allow CDs to play, but nothing could be imported. I checked and unchecked boxes, deleted and reinstalled Quicktime 7.3, 7.2, even 7.1.6. Nothing worked. The only solution, for me, was to uninstall iTunes, reboot, and then install the penultimate version, 7.4.3. I hope this helps...this has been a frustrating few days for me.
    You can find all older versions of iTunes free here:
    http://filehippo.com/download_itunes
    Just say no to bug-ridden fixes!
    JR

    I haven't tried but I don't see why not...program is back to working normally in all other respects. To clarify my earlier problem, when importing from CDs I received an error message that the files were "corrupted and unreadable". This error applied to every song on a CD which, after reverting to 7.4.3, imported fine.

  • Multiple soundcards with Logic Pro 7 ?

    Hi!
    I have been a long time user of Logic, although I am still using Logic Pro 6. (started with the 2.5 version around 8 years ago)
    There's something I can't see answered anywhere.
    I wonder if Logic Pro 7 has support for simultaneous use of different soundcards? (i.e. tracks 1-16 are being routed via outputs 1-16 on souncard A, and tracks 17-32 via soundcard B)
    Does anyone knows if this can be done?
    Thanks in advance.
    Andre'
    PowerMac G5 1.6   Mac OS X (10.3.2)  

    I wonder if Logic Pro 7 has support for
    simultaneous use of different soundcards?
    No, but the 10.4 operating system has (device aggregation). Unfortunately, you're still under 10.3 which doesn't support the combination of several sound cards and make them appear as one device in Logic.
    Combining sound devices has never been a feature of Logic, one had to rely on the features of the driver of the sound device manufacturer.
    Regards, Daniel
    G5   Mac OS X (10.4.6)  

Maybe you are looking for

  • Open item account line with flow type has to contain a partner

    Hi, I am getting the following error while doing periodic posting in flexible real estate management. " Open item account line with flow type Z240 has to contain a partner" " Open item account line with flow type Z820 has to contain a partner" Messag

  • How do I increase the size of a partition

    I have installed OS X on an external drive, I partioned the drive, one 20gig partition for the operating system and one 230 gig for data. I now want to increase the size of the OS partition to 30gig, can I do that without erasing the data on the part

  • MobileMe Gallery delay to AppleTV?

    I just uploaded a movie to my MobileMe Gallery, but it isn't showing in my AppleTV MobileMe gallery. Is there a delay in showing up in AppleTV? I

  • Where to find Oracle 9i Gateway for windows?

    Dear experts, I'm looking for Oracle 9i Gateway software because I have to reinstall an old machine and I haven't got the software. Do you know where can I find it? Because it is desupported and therefore it is not on Oracle web. Regards, Serra.

  • Vat Report with CreditMemo

    Dear Experts,                      I designed a VAT Report for A/R Invoice. But I need to combine A/R CreditMemo on it.  Please give me solution