Re: [Alsa-user] How to load a sound bank automatically ?
Brought to you by:
perex
From: Bernez K <ber...@fr...> - 2002-06-30 19:50:42
|
Thank you Frank, but it doesn't work ... > > I just want to load automatically the sound bank into my sound card. > > This should work: > > 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 snd-card-0 snd-emu10k1 > > post-install snd-synth-emu10k1 /usr/bin/sfxload > /usr/share/sounds/sf2/8mbgmsfx.sf2 In my /etc/modules.conf I have exactly the same lines for "alias". I replaced: "post-install snd-seq /usr/local/bin/sfxload /usr/share/sounds/sf2/8mbgmsfx.sf2" by: "post-install snd-synth-emu10k1 /usr/local/bin/sfxload /usr/share/sounds/sf2/8mbgmsfx.sf2" and now I can see more modules loaded at starting but no snd-seq-oss and sfxload is still requesting /dev/sequencer :-) NB: are you sure of snd-synth-emu10k1 ? (snd-emu10k1-synth ?) lsmod: sr_mod 15160 0 (autoclean) (unused) snd-emu10k1-synth 4384 0 (unused) snd-emux-synth 26368 0 [snd-emu10k1-synth] snd-seq-midi-emul 4912 0 [snd-emux-synth] snd-seq-virmidi 2872 0 [snd-emux-synth] snd-seq-midi-event 3160 0 [snd-seq-virmidi] snd-seq 37228 0 [snd-emux-synth snd-seq-midi-emul snd-seq-virmidi snd-seq-midi-event] snd-emu10k1 58720 0 (autoclean) [snd-emu10k1-synth] snd-hwdep 3616 0 (autoclean) [snd-emu10k1] snd-rawmidi 12256 0 (autoclean) [snd-seq-virmidi snd-emu10k1] snd-seq-device 4128 0 (autoclean) [snd-emu10k1-synth snd-emux-synth snd-seq snd-emu10k1 snd-rawmidi] snd-ac97-codec 22976 0 (autoclean) [snd-emu10k1] snd-pcm 49600 0 (autoclean) [snd-emu10k1] snd-timer 9728 0 (autoclean) [snd-seq snd-pcm] snd-util-mem 1424 0 (autoclean) [snd-emux-synth snd-emu10k1] snd 27048 0 [snd-emux-synth snd-seq-virmidi snd-seq-midi-event snd-seq snd-emu10k1 snd-hwdep snd-rawmidi snd-seq-device snd-ac97-codec snd-pcm snd-timer snd-util-mem] soundcore 4068 4 [snd] Strange also, /var/log/messages seems better: I had: jun 29 21:35:19 localhost alsasound: Starting sound driver: snd-emu10k1 Jun 29 21:35:20 localhost kernel: lp0: compatibility mode jun 29 21:35:22 localhost alsasound: done jun 29 21:35:22 localhost alsasound: /dev/sequencer: No such file or directory jun 29 21:35:22 localhost alsasound: modprobe: post-install snd-seq failed jun 29 21:35:24 localhost rc: Lancement de alsasound : succeeded I have now: jun 29 22:53:16 localhost alsasound: Starting sound driver: snd-emu10k1 Jun 29 22:53:16 localhost kernel: lp0: compatibility mode jun 29 22:53:19 localhost alsasound: done jun 29 22:53:20 localhost rc: Lancement de alsasound : succeeded But, I still need to find a trick to load snd-seq-oss automatically. ?? Bernez ------------------------------------------------------------------------ Mandrale-Linux-8.2 (Kernel-2.4.18-6mdk) with DEVFS support CreativeLabs SoundBlaster Live! - alsa-0.9.0beta12 |