/dev/dsp* & /dev/audio* devices not present
uspoerlein at gmail.com
Thu Jan 8 00:16:10 PST 2009
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 ?
% 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.
It is better to remain silent and be thought a fool,
than to speak, and remove all doubt.
More information about the freebsd-hackers