From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 17 08:15:47 2009 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41CB61065672; Tue, 17 Mar 2009 08:15:47 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id C7AD78FC19; Tue, 17 Mar 2009 08:15:46 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2EEE2.dip.t-dialin.net [217.226.238.226]) by redbull.bpaserver.net (Postfix) with ESMTP id 1290D2E06B; Tue, 17 Mar 2009 08:57:43 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id E8773AD1D; Tue, 17 Mar 2009 08:57:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1237276660; bh=arQ3wAdMsZmWTxFljN1OhH8JLuHbME4LL 4rNoRl+Cp8=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2V2t/SxTVmSUQxU8nwp5UFuVHQQswax/egyM6idBXx7smuwLYwhxqdDenLDz7TQzu Rl9YE+YUWWKyT7xjZSeGq/s2dUxjR/Jm97z/OQkZxJPtrW9gVxqHu+9G9JA77v1w96P Ur8KFC1KkAiJg+3PuemLOt3xOnDvG86G31noq3J7037P/SzIGU/RMbwvAg9cDUmpmIV 6d+DpsAztpMGwg5x0I5x94tPShUWXhxAZjnrHsW1XYLy7qyKI4c2rDxnNrhJLyqWOcz tpbNmP2umw55hSjL2PhR6s8yX0T72UBNdm3scUcGS/xjqcXyhVW2pTIDW9wEld1vgyK onT1FjJCQ== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n2H7vdCs056237; Tue, 17 Mar 2009 08:57:39 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 17 Mar 2009 08:57:39 +0100 Message-ID: <20090317085739.107026pf46dpz6cg@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 17 Mar 2009 08:57:39 +0100 From: Alexander Leidinger To: jimmiejaz@gmail.com References: <49BEDC04.1080202@gmail.com> In-Reply-To: <49BEDC04.1080202@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 1290D2E06B.BE147 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.823, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10, TW_SN 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-questions@freebsd.org, multimedia@freebsd.org Subject: Re: snd_hda questions X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 08:15:47 -0000 Quoting Jimmie James (from Mon, 16 Mar 2009 =20 19:08:52 -0400): > With the recent snd_hda changes, I have more audio devices than ever: > hdac0: HDA Codec #0: Realtek ALC880 > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac0 > pcm2: at cad 0 nid 1 on hdac0 > pcm3: at cad 0 nid 1 on hdac0 The new HDA code supports more stuff of your HDA soundchip. As you can =20 see above you have controls for digital output (and maybe input) at =20 pcm0. > With hw.snd.default_unit=3D1 I have (adjusting vol and pcm changes =20 > volume level here.) > Mixer vol is currently set to 55:55 > Mixer pcm is currently set to 50:50 > Mixer mix is currently set to 0:0 Here you have probably the line-in and line-out jacks for analog data. > With hw.snd.default_unit=3D2 I have (adjusting vol and pcm does =20 > nothing here, 0:0 or 100:100 nothing changes) > Mixer vol is currently set to 0:0 > Mixer pcm is currently set to 0:0 > Mixer mic is currently set to 0:0 > Mixer mix is currently set to 60:60 > Mixer rec is currently set to 0:0 > Recording source: mic The new code knows about front-jacks and rear-jacks, is able to play =20 on multiple channels (think about discrete home cinema surround sound =20 like 5.1 or 7.1). What the above (and below refers to, I don't know, =20 you don't give enough info). > With hw.snd.default_unit=3D3 I have > Recording source: > > Mail notification sounds from Thunderbird are barely audible, and I =20 > can't control the volume for it. > Can someone point me in the right direction to control/use the =20 > different pcm* devices, the man pages aren't totally clear to me. You could look at /dev/sndstat (AFAIK the color codes of the jack are =20 listed there, but I'm not sure about this) and the verbose bootmessage =20 (boot -v), they give more information. You also need to test your =20 loudspeakers/headphone/whatever on each jack for each pcm device. If the sound still does not work as expected with a recent version of =20 FreeBSD, you need to send the (HDA) messages from a verbose boot to =20 this list with a description of what does not work as expected. Bye, Alexander. --=20 Never go to a doctor whose office plants have died. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137