From owner-freebsd-stable Thu Mar 1 1:42:44 2001 Delivered-To: freebsd-stable@freebsd.org Received: from unity.agava.ru (unity.agava.ru [194.67.45.132]) by hub.freebsd.org (Postfix) with ESMTP id 3651237B719; Thu, 1 Mar 2001 01:42:20 -0800 (PST) (envelope-from m_ilya@agava.com) Received: from relay2.agava.net.ru (2.oivt.mipt.ru [193.125.142.2]) by unity.agava.ru (Postfix) with ESMTP id 1A6F64392E3; Thu, 1 Mar 2001 12:42:09 +0300 (MSK) Received: from gw.office.agava.ru (2.oivt.mipt.ru [193.125.142.2]) by relay2.agava.net.ru (Postfix) with ESMTP id 7D71D4381F; Mon, 26 Feb 2001 18:30:12 +0300 (MSK) Received: from juil.domain (juil.domain [192.168.1.50]) by gw.office.agava.ru (Postfix) with ESMTP id 357485EC1; Mon, 26 Feb 2001 18:30:12 +0300 (MSK) Received: by juil.domain (Postfix, from userid 1001) id DC07E1F2; Mon, 26 Feb 2001 18:29:53 +0300 (MSK) To: Brett Taylor Cc: Gregory Bond , Andreas Ntaflos , questions@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: /dev/dsp problems with "play" (usr/ports/audio/play), but not with wavplay (usr/ports/audio/wavplay) References: From: Ilya Martynov Date: 26 Feb 2001 18:29:53 +0300 In-Reply-To: Message-ID: <86snl1laxa.fsf@juil.domain> Lines: 61 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "BT" == Brett Taylor writes: BT> Hi guys, BT> On Mon, 26 Feb 2001, Gregory Bond wrote: >> > I've got a weird little problem... trying to play wavefiles via >> > 'play' (usr/ports/audio/play) results in the following (SB Live): >> > >> > play: /dev/dsp: Invalid argument >> >> Hmm, I'm tracking down a similar problem with waveplay >> (/usr/ports/audio/ waveplay). The first time this is run after a >> reboot is OK, but from then on it will not work - it gets the same >> error (doing a SOUND_PCM_WRITE_CHANNELS ioctl). BT> I have a problem which may be related - if I use splay or BT> xanim, it usually works the first time, but trying it more BT> than once during a single login usually results in BT> /dev/dsp already in use BT> But it's not.. :-) I thought at first something with my sound BT> was screwed up, but xmcd still works, but anything going BT> through dsp fails (splay, xanim, gqmpeg etc). I've also seen this (or something simular). I've sent bug report to freebsd-multimedia@FreeBSD.ORG some time ago. If anybody intersted I'll repeat it here: =========>my email to freebsd-multimedia@FreeBSD.ORG here>====== I've seen twice my Aureal Vortex 8810 card stops working after several days of uptime. Both times I've seen it after having XMMS playing mp3 files from NFS share for several days (my PC at work always up and I'm listen misic via headphones - so I often leave XMMS playing for several days). XMMS plays mp3s via esd. So I belive sound stop working if sound device /dev/dsp is keeped opened for several days. Applications that use sound occasionally find that /dev/dsp is busy. For example: $ esd /dev/dsp: Device busy I'm sure that nobody holds this device opened - I've checked it with lsof. /dev/dsp0.2, /dev/dsp0.3, /dev/dsp0.4 also are busy. The only solution I know is reboot. ==========>end of email>============================================ Last time I don't use esound from XMMS and I've not seen this problem anymore. -- Ilya Martynov AGAVA Software Company, http://www.agava.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message