Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 10:04:12 +0300
From:      "Vladislav V. Zhuk" <admin@dru.dn.ua>
To:        Odhiambo Washington <wash@wananchi.biz>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Device busy
Message-ID:  <20020423070314.GH8644@dru.dn.ua>
In-Reply-To: <20020423063932.GB43364@ns2.wananchi.com>
References:  <20020423055234.GB8644@dru.dn.ua> <20020423063932.GB43364@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 23, 2002 at 09:39:32AM +0300, Odhiambo Washington wrote:

> > > play -d /dev/dsp0.2 -v 4 /usr/ftp/pub/wav/TEST.WAV
> > sox: Can't open output file '/dev/dsp0.2': Device busy
> >
> > "lsof | grep dsp" - don't show anything
> >
> > Who lock this device??
>
> cd /dev && sh MAKEDEV all

I always do this after make world and reboot

> Is the device listed, even, when you do ls -al /dev/ds*

# ls -al /dev/ds*
lrwxrwxrwx  1 root  wheel         4  9 apr 19:39 /dev/dsp -> dsp0
lrwxrwxrwx  1 root  wheel         6  9 apr 19:39 /dev/dsp0 -> dsp0.0
crw-rw-rw-  1 root  wheel   30,   3 18 apr 16:15 /dev/dsp0.0
crw-rw-rw-  1 root  wheel   30, 0x00010003  9 apr 19:39 /dev/dsp0.1
crw-rw-rw-  1 root  wheel   30, 0x00020003 23 apr 09:50 /dev/dsp0.2
crw-rw-rw-  1 root  wheel   30, 0x00030003 22 apr 13:49 /dev/dsp0.3
lrwxrwxrwx  1 root  wheel         5  9 apr 19:39 /dev/dspW -> dspW0
lrwxrwxrwx  1 root  wheel         7  9 apr 19:39 /dev/dspW0 -> dspW0.0
crw-rw-rw-  1 root  wheel   30,   5  9 apr 19:39 /dev/dspW0.0
crw-rw-rw-  1 root  wheel   30, 0x00010005  9 apr 19:39 /dev/dspW0.1
crw-rw-rw-  1 root  wheel   30, 0x00020005  9 apr 19:39 /dev/dspW0.2
crw-rw-rw-  1 root  wheel   30, 0x00030005  9 apr 19:39 /dev/dspW0.3

after MAKEDEV all:

# ls -al /dev/ds*
lrwxrwxrwx  1 root  wheel         4 23 apr 09:58 /dev/dsp -> dsp0
lrwxrwxrwx  1 root  wheel         6 23 apr 09:58 /dev/dsp0 -> dsp0.0
crw-rw-rw-  1 root  wheel   30,   3 23 apr 09:58 /dev/dsp0.0
crw-rw-rw-  1 root  wheel   30, 0x00010003 23 apr 09:58 /dev/dsp0.1
crw-rw-rw-  1 root  wheel   30, 0x00020003 23 apr 09:58 /dev/dsp0.2
crw-rw-rw-  1 root  wheel   30, 0x00030003 23 apr 09:58 /dev/dsp0.3
lrwxrwxrwx  1 root  wheel         5 23 apr 09:58 /dev/dspW -> dspW0
lrwxrwxrwx  1 root  wheel         7 23 apr 09:58 /dev/dspW0 -> dspW0.0
crw-rw-rw-  1 root  wheel   30,   5 23 apr 09:58 /dev/dspW0.0
crw-rw-rw-  1 root  wheel   30, 0x00010005 23 apr 09:58 /dev/dspW0.1
crw-rw-rw-  1 root  wheel   30, 0x00020005 23 apr 09:58 /dev/dspW0.2
crw-rw-rw-  1 root  wheel   30, 0x00030005 23 apr 09:58 /dev/dspW0.3

sound don't appear:

> play -d /dev/dsp0.2 -v 4 /usr/ftp/pub/wav/TEST.WAV
sox: Can't open output file '/dev/dsp0.2': Device busy

--
Vladislav V. Zhuk (06267)3-60-03  admin@dru.dn.ua  2:465/197@FidoNet.org

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?20020423070314.GH8644>