Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2003 12:59:42 -0400
From:      epilogue@attcanada.ca
To:        "Tiarnan O'Corrain" <ocorrain@yahoo.com>
Cc:        questions@freebsd.org
Subject:   /dev/dsp inaccessible
Message-ID:  <20030820125942.7f80231d.epilogue@attcanada.ca>
In-Reply-To: <20030820093354.11393.qmail@web11203.mail.yahoo.com>
References:  <20030819181332.40076ecf.epilogue@attcanada.ca> <20030820093354.11393.qmail@web11203.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Aug 2003 02:33:54 -0700 (PDT)
"Tiarnan O'Corrain" <ocorrain@yahoo.com> wrote:

> 
> --- epilogue@attcanada.ca wrote:
> > unfortunately, i don't have an *.raw files to try so i simply tried
> > to cat somefile.wav > /dev/dsp  (and also to /dev/audio)
> > both produce sound a screeching sound reminiscent of japanese noise
> > bands   :)
> 
> That's good sign! It shows the device is configured. Do any of
> the command-line tools work... mpg123 &c? Try setting the
> sound device explicitly (eg mpg123 -a /dev/dsp foo.mp3). Try
> it also as root.

IT WORKS!!!     (...and as joe-user.  no need for root.    :)
 
> > cat /dev/sndstat
> > FreeBSD Audio Driver (newpcm)
> > pcm0: <ESS Technology Maestro-2E> at I/O port 0x1400 irq 5 (4p/0r/4v
> > channels duplex)
> 
> ~(0)% cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0: <ESS Technology Allegro-1> at io 0x3000 irq 5 (4p/1r/0v channels
> duplex)
> 
> There was a post yesterday explaining this. Apparently the driver
> doesn't support recording (yet).

missed that one.  will follow issue closely.  thanks for the tip.

> It seems to me that the driver is working, and that your problems
> are somewhere higher in the stack.

it is such a relief to know that /dev/dsp is not broken.  i now just need to find out
exactly what is preventing these other programs from accessing it. 

i suppose that the programs i am trying to use probably only require recompiling,
but perhaps with different options...    i'll have a look.

thanks again, T.

> Tiarnan



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