Hi, I'm trying to setup ALSA on my box (last version I compiled was 0.5.x
months ago), in order to perform some stresstests using
a sequencer (Muse) that sends midi events to the disk sampler usin the alsa
seq API.
I sent a posting to alsa-user but I'm not on the list and did not get back
anything yet.
Sorry for the redundancy and stupid questions but it's not trivial to setup
ALSA :-)
Basically I compiled and installed alsa driver, lib and utils ( 0.9.0beta5)
on a 2.4.5 kernel. (snddevices were created)
The card is a SB Live! .
This is my /etc/modules.conf stuff:
# ALSA part
alias char-major-116 snd
options snd snd_major=116
alias snd-card-0 emu10k1
alias snd-card-0 snd-card-emu10k1
# OSS/Free part (emulation)
alias char-major-14 soundcore
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
modprobe snd-card-emu10k1 works ok:
[root@smp /root]# lsmod
Module Size Used by
snd-card-emu10k1 2112 0 (unused)
snd-emu10k1 49856 0 [snd-card-emu10k1]
snd-util-mem 1856 0 [snd-emu10k1]
snd-rawmidi 11872 0 [snd-emu10k1]
snd-seq-device 4016 0 [snd-card-emu10k1 snd-rawmidi]
snd-pcm 47104 0 [snd-emu10k1]
snd-timer 8896 0 [snd-pcm]
snd-hwdep 3696 0 [snd-emu10k1]
snd-ac97-codec 22624 0 [snd-emu10k1]
snd 25232 0 [snd-card-emu10k1 snd-emu10k1 snd-util-mem
snd-rawmidi snd-seq-device snd-pcm snd-timer snd-hwdep snd-ac97-codec]
Now my problem:
Applications using OSS work ok. (xmms , mpg123 etc), but native ALSA apps
refuse to work.
for example running aplay I get:
[benno@smp benno]$ aplay /tmp/test.wav
ALSA lib pcm.c:1048:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:455: audio open error: No such file or directory
similarly:
[benno@smp benno]$ alsamixer
ALSA lib control.c:525:(snd_ctl_open_noupdate) Invalid CTL default
alsamixer: function snd_ctl_open failed for default: No such file or
directory
Is this because I have no /etc/asound.conf file ?
What do I need to put in that file ?
I did look at the docs on the alsa site (joern's and john fulmers ones) but I
did not find anything describing my problem.
Can someone give me a quick hint (or point me to an useful URL) how to make
it work ?
thanks,
Benno.