Hi, I am desesperately trying to install and configure alsa in order to play MIDI file.
I already posted a number of messages and I thank all the people who tried to help me. This is a long list of what I did, configuration files and tests. Can anyone have a look on my problem ? I downloaded from http://www.alsa-project.org alsa-driver-0.9.0beta12.tar.bz2 alsa-lib-0.9.0beta12.tar.bz2 alsa-utils-0.9.0beta12.tar.bz2 I installed ALSA: for alsa-driver (This is a very simplified description): ./configure --with-cards=emu10k1 --with-sequencer=yes make su<password> make install for alsa-lib: ./configure make su<password> make install for alsa-util: ./configure make su<password> make install I modified /etc/modules.conf: --Begin-- alias usb-interface usb-uhci #alias sound-slot-0 emu10k1 probeall scsi_hostadapter aic7xxx ide-scsi alias scsi_hostadapter aic7xxx ###From: Jörn Nettingsmeier <[EMAIL PROTECTED]> 25-01-2002 # 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=2 snd_device_mode=0666 snd_device_gid=17 snd_device_uid=0 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 ###End --End-- alsamixer works and I unmute Master and PCM. Modules are loaded and "aplay alsa.au" works. alsactl works fine also. I set the starting with alsasound script su<password> cd /etc/rc.d/rc5.d mv S70alsa A70alsa.exS mv S71sound A71sound.exS ln -s ../init.d/alsasound S72alsasound After restart /sbin/lsmod gives: Module Size Used by Tainted: P ... sr_mod 15160 0 (autoclean) 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] ... I downloaded awesfx-0.4.4 from http://www.alsa-project.org/~iwai/awedrv.html I installed awesfx-0.4.4: make all su<password> make install I try to load sound font: /usr/local/bin/sfxload /usr/share/sounds/sf2/8mbgmsfx.sf2 I get: /dev/sequencer: No such file or directory I have not /dev/sequencer neither /dev/sound/sequencer I didn't run "./snddevices" when building the alsa-driver since I read in Alsa-HOWTO that this step should be skipped if devfs is used. Am I right ? Related lines in devfsd # ALSA stuff #LOOKUP snd MODLOAD ACTION snd => nothing in fact. I inserted as proposed by AlSA-HOWTO: LOOKUP EXECUTE snd /sbin/modprobe snd REGISTER sound/.* PERMISSIONS root.audio 660 REGISTER snd/.* PERMISSIONS root.audio 660 but my system was unable to restart after that !! I can load snd-seq-oss: # modprobe snd-seq-oss # lsmod Module Size Used by Tainted: P snd-emu10k1-synth 4384 0 (autoclean) (unused) snd-emux-synth 26368 0 (autoclean) [snd-emu10k1-synth] snd-seq-midi-emul 4912 0 (autoclean) [snd-emux-synth] snd-seq-virmidi 2872 0 (autoclean) [snd-emux-synth] snd-seq-oss 25984 0 (unused) ppp_deflate 42240 0 (autoclean) bsd_comp 4544 0 (autoclean) ppp_async 6560 0 (autoclean) ppp_generic 19880 0 (autoclean) [ppp_deflate bsd_comp ppp_async] slhc 5056 0 (autoclean) [ppp_generic] sr_mod 15160 0 (autoclean) (unused) snd-seq-midi 3424 0 (unused) snd-seq-midi-event 3160 0 [snd-seq-virmidi snd-seq-oss snd-seq-midi] snd-seq 37228 2 [snd-emux-synth snd-seq-midi-emul snd-seq-virmidi snd-seq-oss snd-seq-midi 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-seq-midi snd-emu10k1] snd-seq-device 4128 0 (autoclean) [snd-emu10k1-synth snd-emux-synth snd-seq-oss 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-emux-synth snd-emu10k1] snd 27048 0 [snd-emux-synth snd-seq-virmidi snd-seq-oss 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 6 [snd] /var/log/messages jun 5 11:06:26 localhost alsasound: Starting sound driver: snd-emu10k1 Jun 5 11:06:26 localhost kernel: lp0: compatibility mode Jun 5 11:06:26 localhost modprobe: modprobe: Can't locate module snd-card-1 jun 5 11:06:28 localhost alsasound: done jun 5 11:06:28 localhost alsasound: /dev/sequencer: No such file or directory jun 5 11:06:28 localhost alsasound: modprobe: post-install snd-seq failed Jun 5 11:06:28 localhost modprobe: modprobe: Can't locate module snd-card-1 jun 5 11:06:29 localhost rc: Lancement de alsasound : succeeded I understand "/dev/sequencer: No such file or directory" : same problem as above. I have no idea why "modprobe: Can't locate module snd-card-1". ??? NB: I can play a MIDI file with Timidity but I do want to use my wavetable. Bernez ------------------------------------------------------------------------ Mandrale-Linux-8.2 (Kernel-2.4.18-6mdk) CreativeLabs SoundBlaster Live! - alsa-0.9.0beta12 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user