Adam Jones writes:
 > #O#n 31-Oct-02, de|ire wrote:
 > 
 > > naturally the first port of call is "have i used the snddevices script
 > > to generate the dev entries" and the answer is yes. after using it
 > > *alsa appears to work fine* BUT my problem is that on restart, the
 > > /dev/snd directory *completely disappears* forcing me to use
 > > ./snddevices again before i can use alsa!!
 > 
 > >From the sound of it, you're using devfs - hence your /dev is not
 > actually stored on-disk, but is generated dynamically by the kernel.
 > 
 > You could disable devfs, and then snddevices would work as you expect,
 > but that's probably not the best solution.  Anyone here who's using
 > devfs care to comment?

>From what I can tell it happens when the drivers are loaded.  I am
using devfsd which is a compatibility daemon for devfs.  

Here is what mine looks like:

jlm@uxjlm:~ > ls -la /dev/snd    
total 0
drwxr-xr-x    1 root     root            0 Dec 31  1969 .
drwxr-xr-x    1 root     root            0 Dec 31  1969 ..
crw-rw-rw-    1 root     root     116,   0 Dec 31  1969 controlC0
crw-rw-rw-    1 root     root     116,  32 Dec 31  1969 controlC1
crw-rw-rw-    1 root     root     116,  64 Dec 31  1969 controlC2
crw-rw-rw-    1 root     root     116,  96 Dec 31  1969 controlC3
crw-rw-rw-    1 root     root     116, 128 Dec 31  1969 controlC4
crw-rw-rw-    1 root     root     116, 160 Dec 31  1969 controlC5
crw-rw-rw-    1 root     root     116, 192 Dec 31  1969 controlC6
crw-rw-rw-    1 root     root     116, 224 Dec 31  1969 controlC7
crw-rw-rw-    1 root     root     116,   4 Dec 31  1969 hwC0D0
crw-rw-rw-    1 root     root     116,   8 Dec 31  1969 midiC0D0
crw-rw-rw-    1 root     root     116,  24 Dec 31  1969 pcmC0D0c
crw-rw-rw-    1 root     root     116,  16 Dec 31  1969 pcmC0D0p
crw-rw-rw-    1 root     root     116,  33 Dec 31  1969 timer

Here a couple of others:

jlm@uxjlm:/dev > ls -la /dev/dsp
lr-xr-xr-x    1 root     audio           9 Oct 23 08:43 /dev/dsp -> sound/dsp

jlm@uxjlm:/dev > ls -la /dev/sound/*
crw-------    1 root     audio     14,   4 Dec 31  1969 /dev/sound/audio
crw-------    1 root     audio     14,  10 Dec 31  1969 /dev/sound/dmfm
crw-------    1 root     audio     14,   9 Dec 31  1969 /dev/sound/dmmidi
crw-rw-rw-    1 root     audio     14,   3 Dec 31  1969 /dev/sound/dsp
crw-------    1 root     audio     14,   2 Dec 31  1969 /dev/sound/midi00
crw-rw-rw-    1 root     audio     14,   0 Dec 31  1969 /dev/sound/mixer

One of the problem I had initially with devfs were permissions.
devsfd allows you to muck with permissions so that when /dev/
entries are created they have to the right permissions set.


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to