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 1JTNiv-0002KL-P8 for garchives@archives.gentoo.org; Sun, 24 Feb 2008 20:45:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE436E04F1; Sun, 24 Feb 2008 20:45:23 +0000 (UTC) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by pigeon.gentoo.org (Postfix) with ESMTP id BEE81E04F1 for ; Sun, 24 Feb 2008 20:45:23 +0000 (UTC) Received: by wa-out-1112.google.com with SMTP id k34so1533846wah.10 for ; Sun, 24 Feb 2008 12:45:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=jKQjRg7OEof+ePe+VKHDywixYfc3WPdTVUhkl32fG5U=; b=A6DokzrCsb2TAJgZTMoFATtsx8xPEkFGCv+GxWCWB5gQcHfzw1boBKIpsNedWaDzkhgFeHcdHaTscdDGKSGvP8RyfCzffeHvW88rZhOKgANIaPYdZzHzbsw2AAX/u3BvZ63g53Us/VuZPJ8iYAoICIjxNj2LAo1iEmzPXLPtHP8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=b8Hqz4zXaNr3+sa29fBxKrnBcxteHJPaMxbP/F89MO0nK1aE3Tw0flxbhJGkSTAHVvKWBv3blyZefj3GItrQkJT8rGTU0TI8jZiySWrQFeJpjAvYncll0BV+lwS40ESqNs4ZNlUGzTggwiy4ZPxTK0w3EpTywWrq/AtXMlkTYUE= Received: by 10.114.123.1 with SMTP id v1mr2426787wac.147.1203885923311; Sun, 24 Feb 2008 12:45:23 -0800 (PST) Received: by 10.115.110.15 with HTTP; Sun, 24 Feb 2008 12:45:23 -0800 (PST) Message-ID: <49bf44f10802241245yf93de1flcf0cb7fd087eff44@mail.gmail.com> Date: Sun, 24 Feb 2008 12:45:23 -0800 From: Grant To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Switch between sound cards? In-Reply-To: <1203885220.10427.113.camel@NOTE_GENTOO64.PHHEIMNETZ> 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> <1203885220.10427.113.camel@NOTE_GENTOO64.PHHEIMNETZ> X-Archives-Salt: 66d6601b-f5b8-4caf-bd82-1b27c0919340 X-Archives-Hash: d5b6134488a4e19adea202f0c368165d > > > > I have a USB sound card and an internal sound card in my laptop. Is > > > > there a way to switch between them while the system is booted? Is > > > > module loading/unloading via modprobe the best way to do it? > > > > > > > > - Grant > > > > -- > > > > gentoo-user@lists.gentoo.org mailing list > > > > > > > > > > > > > > Why switch between them when you can use them both at the same time as > > > hw:0 and hw:1? > > > > Thanks Mark. After studying your config, here is mine: > > > > alias snd-card-0 snd-hda-intel > > options snd-hda-intel index=1 > > options snd-hda-intel model=acer > > > > alias snd-card-1 snd-usb-audio > > options snd-usb-audio index=0 > > > > 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 > > > > I get sound from the USB card but not from the internal card > > (snd-hda-intel). How can I tell the system to turn off the USB card > > and turn on the internal card? > > > > - Grant > > > > You might want to take a look at the new pulseaudio daemon. I don't use > it but as far as I know it's perfect for complex setups like yours. > Think of it as a (transparent, if necessary) layer between your software > and alsa. It should be easier to reconfigure than alsa. > > You could use it (or the older the older jack daemon) to send audio to > both devices. Alright, but it seems like ALSA has some native support for multiple cards. Does anyone have more than one sound card and the ability to switch between them in native ALSA? - Grant -- gentoo-user@lists.gentoo.org mailing list