From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 2 09:54:05 2009 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 CD52C1065670; Wed, 2 Sep 2009 09:54:05 +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 DC03D8FC08; Wed, 2 Sep 2009 09:54:04 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA00530; Wed, 02 Sep 2009 12:54:02 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1MimXS-0000uW-1p; Wed, 02 Sep 2009 12:54:02 +0300 Message-ID: <4A9E40B9.2050004@icyb.net.ua> Date: Wed, 02 Sep 2009 12:54:01 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: Alexander Motin References: <4A980B19.4090801@icyb.net.ua> <4A9815F3.9010601@FreeBSD.org> In-Reply-To: <4A9815F3.9010601@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org Subject: Re: forcing two channel output 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, 02 Sep 2009 09:54:05 -0000 on 28/08/2009 20:37 Alexander Motin said the following: > Andriy Gapon wrote: >> Please see verbose dmesg here: >> http://people.freebsd.org/~avg/ga-ma780g-ud3h/verbose.dmesg.txt [snip] > You can do whatever you like: disable them with as=0 or turn into many > separate devices with as=15, or even turn them into many additional inputs. Alexandr, so I thought that splitting them off into separate devices was a cool idea and I did the following: hint.hdac.1.cad0.nid21.config="as=15 seq=0" hint.hdac.1.cad0.nid22.config="as=15 seq=0" hint.hdac.1.cad0.nid23.config="as=15 seq=0" Now I got 3 additional pcm/dsp devices. New dmesg is available here: http://people.freebsd.org/~avg/ga-ma780g-ud3h/verbose.2.dmesg.txt New setup works but it is not without problems. 1. Output to dsp4 works perfectly. 2. Output to dsp6 doesn't work at all - a process writing to it gets stuck and the following can be seen in system log: pcm6: chn_write(): pcm6:virtual:dsp6.vp0: play interrupt timeout, channel dead hdac1: timeout in reset 3. Output to dsp5 is the most strange. If I write to it after using dsp4 then it works but sound goes to the same jack as for dsp4 (Black at Rear). If I write to it after using dsp6 then it doesn't work just the same as dsp6 itself. The same message go to the log (with "dsp6") in them. I suspect that there could be some hardware quirk, but I think that the behavior of dsp5 points to a possible driver issue. Thank you for the help! -- Andriy Gapon