From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JdUEn-0005Lq-GN for garchives@archives.gentoo.org; Sun, 23 Mar 2008 17:44:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77E82E04B2; Sun, 23 Mar 2008 17:44:03 +0000 (UTC) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by pigeon.gentoo.org (Postfix) with ESMTP id 42055E04B2 for ; Sun, 23 Mar 2008 17:44:03 +0000 (UTC) Received: by wa-out-1112.google.com with SMTP id k34so3135931wah.10 for ; Sun, 23 Mar 2008 10:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=CdkS35/57AWw1S6Ybi/2vPi+/UBtbAbg4Lg9Mq0frHs=; b=qRRIgMYuITuDhNNuYrpGVDX9Steh7lBz9Wx6Ws/FOm/6xw9q+4Yxsl6dLEaUINISqgcw3/CHzUaP0jxOfnHxZ8Gn8kw0W8GZBrhr/mDwPavU7q1XTI82MRAemvTefUm27meVJk2nJJmB5GCdLtsq/XjB5XW07rCQoMRqFbBdoRo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jNm5c9jURHM7mRUMMsGuMxhlrwS+KhaJj8VTxsIKoStXrWu88eHfBzKn7PYSu2eSWalFVrUqZ5G1hxHulb+wxk8cSSbAGTNO23bn4VRZNy5z9xbIFIf/UM0651Dkg6S0okrLpY1IEjyvfKi9dsZeCXiL2B66ayU8971qW2TRu4M= Received: by 10.114.191.1 with SMTP id o1mr9954276waf.117.1206294242668; Sun, 23 Mar 2008 10:44:02 -0700 (PDT) Received: by 10.114.39.8 with HTTP; Sun, 23 Mar 2008 10:44:02 -0700 (PDT) Message-ID: <49bf44f10803231044mbdc5bf0u9a2f9c52fc9d4e1@mail.gmail.com> Date: Sun, 23 Mar 2008 10:44:02 -0700 From: Grant To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Switch between sound cards? In-Reply-To: <5bdc1c8b0802242012s328baa32gc5d6000e0f84363b@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49bf44f10802240944t774af531k422ba0ed07c777a1@mail.gmail.com> <5bdc1c8b0802241001if4d244bqcc8a91ddf8f30ee1@mail.gmail.com> <49bf44f10802241134y75a8d01bhb7e1a231232caab5@mail.gmail.com> <5bdc1c8b0802241344o28dc5d4ayef27a11245bf0adf@mail.gmail.com> <49bf44f10802241521r1fbbc8f2sa942cb968a0080df@mail.gmail.com> <5bdc1c8b0802242012s328baa32gc5d6000e0f84363b@mail.gmail.com> X-Archives-Salt: 62bc27fb-aa10-4d15-b76d-5e1e76be96de X-Archives-Hash: 5a2c7d1ecc97706d065b79ded92d629e > Grant, > On the previous machine where I gave you the modules.d/alsa file I > use the onboard sound chip for most sound but my main card is a 26 > input, 26 output RME HDSP 9652 card. > > On my wife's machine, and out MythTV backend server, we use the > intel-hda oinboard sound chip for most audio but we also have an > external usb sound card that converts from USB to TOS link which I use > to drive our home theater receiver. I'm putting the alsa file at the > end of this post. > > Note that on this machine when we want to play audio using Aqualung > through the onboard device this is the command in the Gnome launcher: > > /usr/bin/aqualung -o alsa -d hw:0,0 > > while if we want to play through the USB device we use this: > > /usr/bin/aqualung -o alsa -d hw:1,0 > > Not sure why you'd be having trouble. We use this technique on > Aqualung, mplayer, xine and MythTV. The basic idea works once you get > it under control. > > Good luck, > Mark Hi Mark, Sorry for the delay in writing back. I've been out of town. I thought this over and what I need is to send all audio to the USB card if it is present, otherwise to the internal card. The only exception is twinkle (voip) should always deal with the internal card. Luckily twinkle has internal settings for that. I can't get alsa to fall back to the internal card if USB isn't present. Can that be done with a single config in alsa, or do I need to change configs to change cards or use pulseaudio? alias snd-card-0 snd-usb-audio options snd-usb-audio index=0 alias snd-card-1 snd-hda-intel options snd-hda-intel index=1 options snd-hda-intel model=acer alias sound-slot-0 snd-card-0 alias sound-slot-1 snd-card-1 alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss options snd cards_limit=2 - Grant -- gentoo-user@lists.gentoo.org mailing list