Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2002 10:39:03 -0500 (CDT)
From:      John Utz <john@utzweb.net>
To:        Heiko Recktenwald <uzs106@ibm.rhrz.uni-bonn.de>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: "/dev/dsp invalid"
Message-ID:  <Pine.LNX.4.44.0205071030150.24503-100000@jupiter.linuxengine.net>
In-Reply-To: <20020507112023.J356-100000@localhost.b.lab.net>

next in thread | previous in thread | raw e-mail | index | archive | help
hmm, OTOH....

On Tue, 7 May 2002, Heiko Recktenwald wrote:

> Hi, sorry to ask such a stupid thing, but I have no idea what to do.
> xaudio, mpg123 work fine, but play or cecilia complain about /dev/dsp
> being an invalid device.

grep the src of mpg123 and cecilia for /dev/dsp. i am betting that the 
open*() is different between the two. look at the code leading up to the 
call and see if any of the variables are filled out differently.

if that is the case, then just make cecilia's opening of /dev/dsp look 
just like mpg123's.

or, (different, harder, and perhaps not any better) hack the driver src to 
support the additional semantics.

now, it may be that the difference in semantics might be needed for the 
thing that cecilia might want to do with /dev/dsp, so hacking cecilia to 
open the device successfully might just move the breakage to somewhere 
else :-)

> Tried it with different two soundcards that were
> here, both soundblaster, one vibra and one "dsp 4.13". There is sbc0 and
> pcm1 in dmesg. Google suggested to reboot a labtop in a similar situation.
> Can I do something more ? The system here is 4.4 Release.

this is usually due to Windows leaving the laptop in a state unexpected by 
FreeBSD. i think you have a different problem here.

> Maybe some hardware is broken, cant remember something like this when I
> used the machine some months ago. What I cant understand is that mp3s play
> fine. Maybe I should try to install another play.

i am really betting quite strongly on my first assertion being correct! 
but i obviously could be wrong....

> H.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-multimedia" in the body of the message
> 

-- 

John L. Utz III
john@utzweb.net

Idiocy is the Impulse Function in the Convolution of Life


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0205071030150.24503-100000>