Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2009 09:07:08 +0100
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        Vladimir Terziev <vladimirt@partygaming.com>
Cc:        freebsd-hackers@freebsd.org, Matthias Apitz <guru@unixarea.de>
Subject:   Re: /dev/dsp* & /dev/audio* devices not present
Message-ID:  <20090108080708.GE1462@roadrunner.spoerlein.net>
In-Reply-To: <1231398405.2842.1.camel@daemon2.partygaming.local>
References:  <20090107181032.GA2808@rebelion.Sisis.de> <1231398405.2842.1.camel@daemon2.partygaming.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 08.01.2009 at 09:06:45 +0200, Vladimir Terziev wrote:
> Hi Matthias,
> 
> i configured Ekiga and during the configuration process it didn't find
> any Audio device, so i think /dev/dsp* devices must be present, isn't
> it ?

Please run
% cat /dev/sndstat
% ls -l /dev/dsp0 /dev/dsp0.0

The reason you are not seeing them with 'ls /dev/dsp*' is because devfs
is creating the nodes when they are open(2)'ed. Using shell globbing will
search the output of readdir(2) for matches to dsp* where devfs has no
way of dynamically creating nodes (which ones should it create anyway?)

This is a FAQ really.

Cheers,
Ulrich Spoerlein
-- 
It is better to remain silent and be thought a fool,
than to speak, and remove all doubt.



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