From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GekXV-0005Ln-Kd for garchives@archives.gentoo.org; Tue, 31 Oct 2006 03:43:50 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9V3fiXu030801; Tue, 31 Oct 2006 03:41:44 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9V3dcXP031311 for ; Tue, 31 Oct 2006 03:39:38 GMT Received: by nf-out-0910.google.com with SMTP id p46so191168nfa for ; Mon, 30 Oct 2006 19:39:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cc7vaLnb+pi4laBdIzsvvjEmRvBtmeBvmkPlqOZkdas+/FprV3KMAYWPLI8QeSUw36CCRqSs9IOvVLep30zKiFqCfqHsnq447jbgbK3nDnI0k0s8OTBZfRve+difBasvvR/etIqSjeXI1/9pfwqPZ1AE9WXsw5kK2LvjcUCAE0g= Received: by 10.82.118.2 with SMTP id q2mr960552buc; Mon, 30 Oct 2006 19:39:37 -0800 (PST) Received: by 10.82.98.1 with HTTP; Mon, 30 Oct 2006 19:39:37 -0800 (PST) Message-ID: <5bc4c4570610301939h1a11616dmfd93f3b1ff566c24@mail.gmail.com> Date: Tue, 31 Oct 2006 00:39:37 -0300 From: "Leandro Melo de Sales" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Usb sound and ALSA In-Reply-To: <7573e9640610301920r2815bc7csf679f933654420e8@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5bc4c4570610301654t5d4ff263qbe3ed72e85c13f5c@mail.gmail.com> <7573e9640610301920r2815bc7csf679f933654420e8@mail.gmail.com> X-Archives-Salt: fceed2e4-df12-48c8-9a72-9262f8434799 X-Archives-Hash: e08f3d9857d384abfe0967839742bc75 Hi... The device is configured and I type cat xxx > /dev/sound/dsp1 and I got an strange sound, but this prove that the device was recognized by the kernel. I also can control volume of the second audio device through alsamixer. The question is: how can I specify (on alsa) that the default device is /dev/sound/dsp1 or something like that? I tried to do what you said on Amarok, but the "Alsa Device Configuration" section is disabled, why? []s Leandro. 2006/10/31, Richard Fish : > On 10/30/06, Leandro Melo de Sales wrote: > > Hi list... > > > > I have an usb sound system from Gradiente company (an eletronic > > device factory) and I plugged it on my system. dmesg command shows > > this: > > > > input: Gradiente AS-M5X0 as /class/input/input3 > > input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-0000:00:1d.1-1 > > > > But when I play a mp3 media the sound is not forwarded to my usb > > device, instand, the sound is still played through my integrated > > laptop device. > > On windows I use it without problem. So, what do I have to do to > > forward the sound to my usb device? > > Probably windows is disabling any existing sound card or at least > making the USB the "default" sound device. Unfortunately there is no > equivalent with alsa currently. > > So assuming that you've got the alsa drivers loaded for this device > (/proc/asound/cards should contain two entries), you can usually > specify alsa device as "hw1,0". The exact method for doing this > depends on what app you are using. For example on amarok with the > xine it is under Configure Amarok... -> Engine -> ALSA Device > Configuration. If you enter hw1,0 for Stereo there, then 2 channel > audio should be played on the first pcm of the second sound card. > > You should also be able to do this with a .asoundrc file, with an entry like: > > pcm.default { > type hw > card 1 > device 1 > } > > The above is really primitive, without any dmix plugin (software > mixing), so only one app could use the device at a time unless it does > hardware mixing. Mostly this is just to give you an idea of where to > look! ;-) > > -Richard > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list