The devfs code of alsa seems to not work correctly.
Even though my setup is as described below, the device /dev/sound/dsp1 for example, is not created (just check the whole mail).

Creating a device manually does the job, but creating a device on boot is annoying.

My setup is SoundBlaster Live + onboard C-Media.

====
$ lsmod | grep ^snd
snd-pcm-oss 38308 0 (unused)
snd-mixer-oss 12664 0 [snd-pcm-oss]
snd-cmipci 17676 0
snd-opl3-lib 6628 0 [snd-cmipci]
snd-mpu401-uart 3120 0 [snd-cmipci]
snd-emu10k1 69840 0
snd-ac97-codec 30436 0 [snd-emu10k1]
snd-pcm 60576 0 [snd-pcm-oss snd-cmipci snd-emu10k1]
snd-timer 11080 0 [snd-opl3-lib snd-pcm]
snd-rawmidi 13824 0 [snd-mpu401-uart snd-emu10k1]
snd-util-mem 1392 0 [snd-emu10k1]
snd-hwdep 4256 0 [snd-opl3-lib snd-emu10k1]
snd-seq-device 4268 0 [snd-opl3-lib snd-emu10k1 snd-rawmidi]
snd 27980 0 [snd-pcm-oss snd-mixer-oss snd-cmipci snd-opl3-lib snd-mpu401-uart snd-emu10k1 snd-ac97-codec snd-pcm snd-timer snd-rawmidi snd-util-mem snd-hwdep snd-seq-device]
====
$ cat modules.conf | tail +68 | head -36 | grep -v ^# | grep .
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-emu10k1
alias snd-card-1 snd-cmipci
options snd-emu10k1 index=0 id=LIVE enable=1 enable_ir=1
options snd-cmipci index=1 id=CMEDIA enable=1
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
options snd cards_limit=2
====
$ ls -l /dev/sound/
total 0
crw-rw---- 1 root audio 14, 12 Jan 1 1970 adsp
crw-rw---- 1 root audio 14, 4 Jan 1 1970 audio
crw-rw---- 1 root audio 14, 9 Jan 1 1970 dmmidi
crw-rw---- 1 root audio 14, 3 Jan 1 1970 dsp
crw-rw---- 1 root audio 14, 2 Jan 1 1970 midi00
crw-rw---- 1 root audio 14, 0 Jan 1 1970 mixer
crw-rw---- 1 root audio 14, 18 Jan 1 1970 unknown
====
$ uname -a
Linux tank.my.home 2.4.20-x2 #1 Sat Dec 28 20:37:05 JST 2002 i686 AMD Athlon(TM) XP 1800+ AuthenticAMD GNU/Linux
====
$ cat /proc/asound/oss/devices
2: [0- 2]: raw midi
0: [0- 0]: mixer
3: [0- 3]: digital audio
12: [0-12]: digital audio
18: [1- 2]: raw midi
26: [1-10]: hardware dependent
16: [1- 0]: mixer
19: [1- 3]: digital audio
28: [1-12]: digital audio
====

Using this data to create devices like:

# mknod c /dev/sound/dsp1 14 19
# mknod c /dev/sound/mixer 14 16

solved the problem. Hope the alsa developers read this mail.

--
/^^^^^^^^^^^^^^^^^^^^^^^^^^^\/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
/ Georgi Georgiev (-< / 'Scuse me, while I kiss the sky! \
\ [EMAIL PROTECTED] /\ .o)\ -- Robert James Marshall (Jimi) /
/ +81(90)6266-1163 V_/_ |(/)/ Hendrix \
\___________________________/\__________________________________/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to