From owner-freebsd-stable Thu May 2 12: 8:12 2002 Delivered-To: freebsd-stable@freebsd.org Received: from bender.bawue.de (bender.bawue.de [193.197.13.1]) by hub.freebsd.org (Postfix) with ESMTP id CD2F337B417 for ; Thu, 2 May 2002 12:08:08 -0700 (PDT) Received: from tp.bir2.netz (dialin-118.endus.de.easynet.net [212.224.13.118]) by bender.bawue.de (Postfix) with ESMTP id 681F348B9B for ; Thu, 2 May 2002 21:09:34 +0200 (CEST) Received: (from bsd@localhost) by tp.bir2.netz (8.11.3/8.11.3) id g42J7L063561 for freebsd-stable@freebsd.org; Thu, 2 May 2002 19:07:21 GMT (envelope-from bsd) Date: Thu, 2 May 2002 19:07:21 +0000 From: Oli Kuemmel To: freebsd-stable@freebsd.org Subject: Re: /dev/dsp: Device busy Message-ID: <20020502190721.A63245@gvs.dyn.bawue.de> Mail-Followup-To: freebsd-stable@freebsd.org References: <20020430224551.A2720@walnut.hh59.local> <3CD0F7A4.4030903@netvalue.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CD0F7A4.4030903@netvalue.com>; from erwan@netvalue.com on Thu, May 02, 2002 at 10:24:04AM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Erwan Arzur wrote: > Martin Kaeske wrote: > > Hello, > > I'm running FreeBSD-4.5-STABLE (cvsup and build 24 Apr). > > If i try to play an audiofile (mp3 with mpg123 as well as > > cat an au-file to /dev/dsp) i get a "Device busy" error. So > > my questions is: Are there any recent changes to pcm-code that > > could result in such an error? (It worked fine with 4.5-RELEASE and > > still works under DOS, so i think the hardware is okay) > > If it is of importance, i can play Audio-CDs with cdcontrol. > > I also tried lsof to see if there is a process holding /dev/dsp open. > > And yes i ran mergemaster after the buildworld :) > > > > Thanks in advance > > Martin > > > > fstat /dev/dsp ? Also trouble with sound here: pcm0: port 0xd600-0xd61f irq 10 at device 11.0 on pci0 4.5-STABLE #9: Tue Apr 30 19:53:04 UTC 2002 $ fstat /dev/dsp* USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME oli mpg123 8918 4 / 747 crw-rw-rw- dsp0.1 w /dev/dsp0.1 root x11amp 8874 14 / 1478 crw-rw-rw- dsp0.0 w /dev/dsp0.0 While user oli:wheel won't be able to play audio using x11amp which worked before - "Couldn't open audio!". This is not about permissions, is it? Gruss, oli . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message