From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 21 19:52:11 2007 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 ADABB16A41A; Sat, 21 Jul 2007 19:52:11 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from smtp2.sccoast.net (smtp2.sccoast.net [66.153.203.174]) by mx1.freebsd.org (Postfix) with ESMTP id 81A6D13C458; Sat, 21 Jul 2007 19:52:11 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from 156.138-pool-xdsl-mi.sccoast.net ([66.153.138.156]:57773 helo=volatile.chemikals.org) by smtp2.sccoast.net with esmtp (Exim 4.60) (envelope-from ) id 1ICKzp-0007zg-4I; Sat, 21 Jul 2007 15:52:09 -0400 Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.8/8.13.8) with ESMTP id l6LJq9mD035427; Sat, 21 Jul 2007 15:52:09 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Sat, 21 Jul 2007 15:52:09 -0400 (EDT) From: Wes Morgan To: Ariff Abdullah In-Reply-To: <20070722033151.6a3a6551.ariff@FreeBSD.org> Message-ID: References: <20070721222514.21f77e56.ariff@FreeBSD.org> <20070722033151.6a3a6551.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii Cc: multimedia@FreeBSD.org Subject: Re: HDA recording 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: Sat, 21 Jul 2007 19:52:11 -0000 On Sun, 22 Jul 2007, Ariff Abdullah wrote: > On Sat, 21 Jul 2007 14:40:29 -0400 (EDT) > Wes Morgan wrote: >> On Sat, 21 Jul 2007, Ariff Abdullah wrote: >> >>> On Sat, 21 Jul 2007 09:47:00 -0400 (EDT) >>> Wes Morgan wrote: >>>> Is recording via HDA working for anyone? When last I tried, back >>> in > May, I was able to record. However I'm not sure how old the >>> kernel > I was running was... As it stands now, I reverted hda >>> back to > 20070320_0043 (not the pcm driver though) and it still >>> doesn't > work. I tried rolling back the entire sound >>> infrastructure but it > would not compile. >>>> >>>> The error I'm seeing is: >>>> >>>> pcm0:virtual:dsp0.vr0: record interrupt timeout, channel dead >>>> >>>> /dev/sndstat is: >>>> >>>> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) >>>> Installed devices: >>>> pcm0: at memory >>>> 0x80000000 irq 22 kld snd_hda [20070710_0047] [MPSAFE] >>> (1p:1v/1r:1v > channels duplex default) >>>> >>> >>> Try disabling vrec. dev.pcm.%d.rec.vchans=0 >> >> Now I get: >> >> pcm0:record:dsp0.r0: record interrupt timeout, channel dead >> >> instead. > > Try this patch: > > http://people.freebsd.org/~ariff/test/channel.c.diff > > > else, try enabling polling mode. Still get timeouts, with polling on, vchan recording off, with/without the patch, and all permutations of the three I could think of.