Hi, Currently before running a MIDI file I need to load manually the sound bank into my sound card with sfxload. Because sfxload requests /dev/sequencer, I load manually snd-seq-oss in order to create it. And then I can run: $ sfxload /usr/share/sounds/sf2/8mbgmsfx.sf2
I just want to load automatically the sound bank into my sound card. I will try to explain hereafter what my configuration is but I apologise for my bad understanding of what my machine is doing. I put a link in /etc/rc5.d to load /etc/init.d/alsasound when starting. In /etc/modules.conf I have: # ALSA specific settings alias char-major-116 snd alias snd-card-0 snd-emu10k1 # OSS compatibility 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 alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss # Options options snd-emu10k1 snd_index=0 snd_id="SBLIVE" snd_enable=1 options snd snd_cards_limit=1 snd_device_mode=0666 snd_device_gid=17 snd_device_uid=0 # Misc pre-remove snd /usr/sbin/alsactl store post-install snd /usr/sbin/alsactl restore post-install snd-seq /usr/bin/sfxload /usr/share/sounds/sf2/8mbgmsfx.sf2 /var/log/messages gives me an error each time like "/usr/bin/sfxload failed". In /etc/devfsd.conf I have: # Enable full compatibility mode for old device names REGISTER .* MKOLDCOMPAT UNREGISTER .* RMOLDCOMPAT # Gives r/w permissions on sound devices REGISTER ^sound/.* PERMISSIONS root.audio 660 REGISTER ^snd/.* PERMISSIONS root.audio 660 Before doing anything lsmod gives: Module Size Used by Tainted: P snd-seq-midi 3424 0 (unused) snd-seq-midi-event 3160 0 [snd-seq-midi] snd-seq 37228 0 [snd-seq-midi snd-seq-midi-event] snd-emu10k1 58720 0 (autoclean) snd-hwdep 3616 0 (autoclean) [snd-emu10k1] snd-rawmidi 12256 0 (autoclean) [snd-seq-midi snd-emu10k1] snd-seq-device 4128 0 (autoclean) [snd-seq-midi 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-emu10k1] snd 27048 0 [snd-seq-midi 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 2 [snd] What is missing in my configuration ? Why is it needed to load an OSS compatible module to load sound bank even when I want to use ALSA driver and not OSS ? Can I have some help please ? Bernez ------------------------------------------------------------------------ Mandrale-Linux-8.2 (Kernel-2.4.18-6mdk) with DEVFS support CreativeLabs SoundBlaster Live! - alsa-0.9.0beta12 ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user