From owner-freebsd-hardware@FreeBSD.ORG Tue Sep 21 07:12:24 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28C6516A4CE for ; Tue, 21 Sep 2004 07:12:24 +0000 (GMT) Received: from voruta.vu.lt (mail.vu.lt [193.219.80.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30D6F43D1F for ; Tue, 21 Sep 2004 07:12:23 +0000 (GMT) (envelope-from Dalius.Dobravolskas@mif.vu.lt) Received: from localhost (webmail.vu.lt [193.219.80.17]) by voruta.vu.lt (VU20031031) with ESMTP id i8L7BRgr022375 for ; Tue, 21 Sep 2004 10:11:27 +0300 (EEST) Received: from 84.32.69.76 ([84.32.69.76]) by webmail.vu.lt (IMP) with HTTP for ; Tue, 21 Sep 2004 10:11:23 +0300 Message-ID: <1095750683.414fd41bce51f@webmail.vu.lt> Date: Tue, 21 Sep 2004 10:11:23 +0300 From: Dalius.Dobravolskas@mif.vu.lt To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1257 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-eShield-AntiVirus: Passed X-eShield-AntiVirus-Message: Scanned by http://www.bluecoat.com/eShield X-eShield-AntiVirus: Passed X-eShield-AntiVirus-Message: Scanned by http://www.bluecoat.com/eShield Subject: sound duplex X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 07:12:24 -0000 Hello, I have some problems with sound full duplex. The same problem was in FreeBSD 5.2 and in 5.3-BETA4. > cat /dev/dsp > cat /dev/dsp there is silence then it plays recorded message for 1 second and prints error message: pcm0:record:0: record interrupt timeout, channel dead If I turn on vchans: > cat /dev/dsp > cat /dev/dsp plays for 1 second input from microphone almost at the same moment as recorded and prints the same error message: pcm0:record:0: record interrupt timeout, channel dead If I play something in background: cat filename > /dev/dsp and run while system is playing: cat /dev/dsp systems hangs - does not react to any events I tried various variants with vchans - result the same. Anybody could help me? I could also do some programming here if anybody could give me initial information. Some information: > cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0x1080,0x10e0,0x10d0 irq 7 (1p/1r/0v channels duplex default) > sysctl hw.snd hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 1 hw.snd.unit: 0 hw.snd.maxautovchans: 0 hw.snd.pcm0.buffersize: 16384 > uname -a FreeBSD lapas.mine.nu 5.3-BETA4 FreeBSD 5.3-BETA4 #3: Wed Sep 15 01:07:00 UTC 2004 root@lapas.mine.nu:/usr/src/sys/i386/compile/AKIRA i386 Dalius