Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2002 19:07:21 +0000
From:      Oli Kuemmel <bsd@gvs.dyn.bawue.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: /dev/dsp: Device busy
Message-ID:  <20020502190721.A63245@gvs.dyn.bawue.de>
In-Reply-To: <3CD0F7A4.4030903@netvalue.com>; from erwan@netvalue.com on Thu, May 02, 2002 at 10:24:04AM %2B0200
References:  <20020430224551.A2720@walnut.hh59.local> <3CD0F7A4.4030903@netvalue.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Erwan Arzur <erwan@netvalue.com> 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: <Creative EMU10K1> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020502190721.A63245>