From owner-freebsd-questions Wed Feb 17 16:15:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 178E21101A for ; Wed, 17 Feb 1999 16:15:43 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.1/8.9.1) id SAA74611; Wed, 17 Feb 1999 18:15:41 -0600 (CST) Date: Wed, 17 Feb 1999 18:15:41 -0600 From: Dan Nelson To: Jonathan Fosburgh Cc: FreeBSD-Questions Subject: Re: /dev/pcaudio: cat: stdout: device busy Message-ID: <19990217181540.A74396@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: ; from "Jonathan Fosburgh" on Wed Feb 17 17:43:10 GMT 1999 X-OS: FreeBSD 3.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Feb 17), Jonathan Fosburgh said: > The above error is what I receive when I try to cat a .au file into > /dev/pcaudio. The device is configured and spkrtest works, so I know that > is not the problem. The error leads me to believe that something is > accessing the device, but I don't know how to determine that. Can anyone > help with this? I found nothing in the archives relevent. /dev/pcaudio returns EBUSY if you try to open it twice. It also might return EBUSY if it couldn't acquire the two timers it needs. You might want to add some debugging to /sys/i386/isa/pcaudio.c and see what's up. If you think something still has the device open, see what "fstat /dev/pcaudio" prints. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message