From owner-freebsd-questions Wed Dec 12 6:44:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fac13.ds.psu.edu (fac13.ds.psu.edu [146.186.61.98]) by hub.freebsd.org (Postfix) with ESMTP id 8C94C37B41C for ; Wed, 12 Dec 2001 06:44:19 -0800 (PST) Received: from fac13.ds.psu.edu (localhost.ds.psu.edu [127.0.0.1]) by fac13.ds.psu.edu (8.11.6/8.11.3) with ESMTP id fBCEhe804901; Wed, 12 Dec 2001 09:43:41 -0500 (EST) (envelope-from hawk@fac13.ds.psu.edu) Message-Id: <200112121443.fBCEhe804901@fac13.ds.psu.edu> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Siegbert Baude Cc: "questions@freebsd.org" Subject: Re: restoring the audio device (pcm) when "already in use" In-Reply-To: Your message of "Wed, 12 Dec 2001 11:56:00 +0100." <3C1737C0.EE2B324B@gmx.de> From: dochawk@psu.edu Date: Wed, 12 Dec 2001 09:43:40 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Siegbert suggested, > > I use pcm, and every application (well, at least those that can send > > messages) tell me that the audio device is already in use --which is > > wrong. How do I figure out what has wrongly locked it? > lsof|grep dsp > suspect candidate #1: KDE's artsd > Am I right? nope :) fac13ttyp1:hawk>lsof | grep dsp fac13ttyp1:hawk>lsof | grep audio fac13ttyp1:hawk> In fact, fac13ttyp1:hawk>lsof | grep dev | grep -v -e tty -e null wish8.3 333 hawk 6w VREG 116,196613 387 25298 /usr (/dev/ad0s2f) wish8.3 1590 hawk 5w VREG 116,196613 172 25316 /usr (/dev/ad0s2f) lsof 4863 hawk 3r VCHR 2,0 0t0 6302 /dev/mem lsof 4863 hawk 4r VCHR 2,1 0xc19ffd80 6301 /dev/kmem I think this problem set in before I rebuilt the system on monday, and I listened to a game on sunday, so i think it must be something on my system . . . hawk -- What part of "non-negotiable" didn't you understand? /"\ ASCII ribbon campaign dochawk@psu.edu Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of X and postings. Penn State until it pays my retainer. / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message