From owner-freebsd-multimedia@FreeBSD.ORG Wed Nov 12 19:30:02 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A27671065678 for ; Wed, 12 Nov 2008 19:30:02 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 260558FC0A for ; Wed, 12 Nov 2008 19:30:01 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 227677742; Wed, 12 Nov 2008 21:30:01 +0200 Message-ID: <491B2EB7.8080701@FreeBSD.org> Date: Wed, 12 Nov 2008 21:29:59 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.17 (X11/20081029) MIME-Version: 1.0 To: Andriy Gapon References: <4910CD23.9090902@icyb.net.ua> <491162E9.4020400@FreeBSD.org> <4911AA93.9050603@icyb.net.ua> <4911B9FE.6000505@FreeBSD.org> <4912E1A5.6040206@icyb.net.ua> <491AEB24.8030109@icyb.net.ua> <491AFF68.9080104@FreeBSD.org> <491B0D30.2050102@icyb.net.ua> <491B1023.2090605@icyb.net.ua> In-Reply-To: <491B1023.2090605@icyb.net.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Intel 82801I hda, STAC9271D codec: problem(s) 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: Wed, 12 Nov 2008 19:30:02 -0000 Andriy Gapon wrote: >> With this hint (hint.hdac.0.cad2.nid10.config="misc=1") I now get >> playback from both front and back. Also, I just tested that 'mic' record >> source corresponds to back connector and 'monitor' to front connector, >> both work ('line' is not tested). >> >> One minor complaint is that there are the following knobs for mixer: >> $ mixer >> Mixer vol is currently set to 92:92 >> Mixer pcm is currently set to 93:93 >> Mixer speaker is currently set to 30:30 >> Mixer rec is currently set to 45:45 >> Recording source: monitor >> >> Because there is no volume control for mic or monitor, program like kmix >> display only "outputs" panel and there is no "inputs" panel. Because of >> that I can not switch recording sources via gui. >> But this is very minor. There are no dedicated controls for that inputs, only for mixed signal. That's why driver does not reports them. > And, BTW, it seems that both nodes 21 and 24 in record path have volume > controls. But I am not sure if it is worthwhile to expose them bot to mixer. Driver tries to use as much amplifiers as possible, but it assigns controls only to some predefined cases: pcm, vol, rec plus one for control each input source. Assigning more controls without possibility to document their purpose will just confuse users. > Also, I am not sure why we have both vol and pcm knobs when there is > only one node with volume ability in the play path. Is this because of > softpcm quirk somewhere? If as in this case, there is no dedicated amplifiers for pcm and vol, driver uses same amplifier for both controls. Just to be as universal as possible. -- Alexander Motin