From owner-freebsd-multimedia@FreeBSD.ORG Wed Nov 5 14:27:42 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 CC8201065670 for ; Wed, 5 Nov 2008 14:27:42 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 112758FC1A for ; Wed, 5 Nov 2008 14:27:41 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA05287; Wed, 05 Nov 2008 16:15:47 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4911AA93.9050603@icyb.net.ua> Date: Wed, 05 Nov 2008 16:15:47 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Alexander Motin References: <4910CD23.9090902@icyb.net.ua> <491162E9.4020400@FreeBSD.org> In-Reply-To: <491162E9.4020400@FreeBSD.org> Content-Type: text/plain; charset=UTF-8 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, 05 Nov 2008 14:27:42 -0000 on 05/11/2008 11:10 Alexander Motin said the following: > Andriy Gapon wrote: >> I have Intel DG33TL (BLKDG33TLM) mainboard based on G33 chipset, it >> features Sigmatel STAC9271D HDA codec. >> http://www.intel.com/Products/Desktop/Motherboards/DG33TL/DG33TL-overview.htm >> >> I use stable/7 (amd64) as of yesterday. >> I tried both unpatched snd_hda and slightly tweaked "new snd_hda" via >> hda.7.20080913.patch. > > I didn't have uploaded new patches since first commit to the -CURRENT. I > have just uploaded latest (20081030) diffs against 7-STABLE and complete > directory archive from 8-CURRENT. Try them please and report what you > will get. > > According to logs you should get analog playback by pcm0 via rear > connectors and front headphones with audio redirection on jack > detection, plus digital playback via pcm1. pcm0 recording will work with > rear mic and line-in connectors, pcm1 recording will use front mic > connector. As always it is widely configurable, read -CURRENT man page > for details. Alexander, thank you! I tried the updated patch and there are some improvements. Headphones playback: works only through pcm0 and only through rear connector. Front jack playback doesn't work using either pcm device. It used to work with stock stable_7 driver. Also it seems that volume of playback is lower than it used to be. Recording: I tested only rear jack and it seems that it works only through pcm1(!). Nothing is recorded through pcm0 whatever recording source I tried (btw, by default recording source for pcm0 was unset). So for now I am using only rear jacks and I use pcm0 for playback and pcm1 for recording. This is Good Enough(thanks!) but I am curious if there is a room for improvement. I read through the update man page, but I am probably too dense to figure which knobs I should try changing. There is just too many possibilities. BTW, here are the mixer command outputs: $ mixer -f /dev/dsp0 Mixer vol is currently set to 80:80 Mixer pcm is currently set to 80:80 Mixer speaker is currently set to 75:75 Mixer rec is currently set to 80:80 Recording source: monitor $ mixer -f /dev/dsp0 =rec mixer: unknown device: =rec ... devices: vol, pcm, speaker, rec rec devices: line, monitor $ mixer -f /dev/dsp1 Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer mic is currently set to 80:80 Mixer rec is currently set to 80:80 Recording source: mic $ mixer -f /dev/dsp1 =rec ... devices: vol, pcm, mic, rec rec devices: mic New verbose dmesg is here: http://www.icyb.net.ua/~avg/hda.newer.dmesg.gz Thank you again. -- Andriy Gapon