Loading midi soundfonts on startup
oliwally
ulist at gs1.ubuntuforums.org
Sun Sep 25 04:04:32 UTC 2005
Ziyad, thank you so much for helping and for offering to nut the problem
out.
> What's the exact error message?
It all goes by very quickly, but the message says (several times)
something on the line of "Warning modprobe.d...bad line starting with
post-install, ingoring line 1"
This is the actual line in my modprobe.d/soundfont:
Code:
--------------------
post-install snd-emu10k1-synth /usr/bin/asfxload /etc/midi/8mbgmsfx.sf2
--------------------
all the paths are correct.
>
> Try "/sbin/lsmod | grep synth". But since your card is a Creative
> SoundBlaster Live!, it's most likely the "snd-emu10k1-synth" module.
Yes, you're right. This is the output from /sbin/lsmod | grep synth:
Code:
--------------------
snd_emu10k1_synth 6656 0
snd_emux_synth 33280 1 snd_emu10k1_synth
snd_seq_virmidi 7296 1 snd_emux_synth
snd_seq_midi_emul 7424 1 snd_emux_synth
snd_emu10k1 81668 1 snd_emu10k1_synth
snd_util_mem 4608 2 snd_emux_synth,snd_emu10k1
snd_hwdep 9220 2 snd_emux_synth,snd_emu10k1
snd_seq 46992 8 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_midi,snd_seq_oss,snd_seq_midi_event
snd_seq_device 8332 7 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_midi,snd_rawmidi,snd_seq_oss,snd_seq
snd 50276 15 snd_emux_synth,snd_seq_virmidi,snd_via82xx,snd_mpu401_uart,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_rawmidi,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
--------------------
> By the way, the line to put in "/etc/modprobe.d/soundfont" is just
> *one*
> line, I'm afraid it might got warped by the mail client.
It displayed as one line for me.
I thought I'd chuck in my /etc/modules file to help figure things out.
Some of the bits and pieces have been added on recommendation of
various forums and how-tos in order to make Rosegarden work (and
Rosegarden does work for me!)
/etc/modules:
Code:
--------------------
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
ide-cd
ide-disk
ide-generic
lp
mousedev
psmouse
nvidia
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-card-emu10k1
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 midi snd-synth-emu10k1
below snd-seq-oss snd-synth-emu10k1
post-install snd-synth-emu10k1 usr/bin/sfxload /etc/midi/8MBGMSFX.SF2 ; alsactl restore
# uncomment to save volume settings at shutdown:
#pre-remove snd-synth-emu10k1 alsactl store
# the following was added to allow rosegarden to work from startup:
snd-seq-midi
--------------------
Thanks again for your help.
--
oliwally
More information about the ubuntu-users
mailing list