From owner-freebsd-current Tue Nov 30 11:31:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id 58B7215A12 for ; Tue, 30 Nov 1999 11:31:32 -0800 (PST) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id UAA10100 for ; Tue, 30 Nov 1999 20:31:30 +0100 (MET) Received: by bofh.enst.fr (Postfix, from userid 12426) id A36B2D253; Tue, 30 Nov 1999 20:31:29 +0100 (CET) Message-ID: <19991130203129.A2004@enst.fr> Date: Tue, 30 Nov 1999 20:31:29 +0100 From: Pierre Beyssac To: freebsd-current@freebsd.org Subject: can't use vat (and only vat) with newpcm Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm having problems running vat with newpcm: after opening the device the sound begins for a fraction of a second, then stops. Maybe this has to do with the fact that vat uses /dev/audio and not /dev/dsp; I've tried to open /dev/dsp instead and change the device format but the result is the same. Or maybe this has to do with the non-blocking opening done by vat (I've changed this too, same result). But strangely enough, a cat > /dev/audio, amp or mpg123 all work ok. The chip is the following. The kernel is configured with just "device pcm0". From a ktrace, vat does nothing but writes to the device. pcm0: at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 unknown0: at port 0x3a0-0x3a7 on isa0 unknown1: at port 0xf00-0xf07 on isa0 unknown2: at port 0x330-0x331 on isa0 -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message