Fedora Core 2 does not play midi files!
Hello all,
I've been racking my brain on trying to figure out why I can't play midi files on my machine. After doing some research, I've found that really only one card has onboard hardware wave tables for midi and that is the SoundBlaster Live. However I do not have such a card. I'm using my Shuttle gBox cube onboard sound (aka VIA chipset 8233 AC'97). I've been able to play wave files and mp3's with ease (of course after adding the patch to xmms for mp3 support). Though, as soon as I use "kmid" to play a midi file through the terminal window, it states "There are no midi ports".
To remedy this situation, I have ran /usr/sbin/alsaconf, which by the way did not come with fc2. I downloaded a later version of alsa-utils which did come with alsaconf. Alsaconf modified my /etc/modprobe.conf as listed below:
===================================
alias eth0 8139too
alias snd-card-0 snd-via82xx
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---
# Edited to add suppport for midi
# July 5th, 2004 test
#alias snd-card-1 snd-mpu401
#options snd-mpu401 port=0x330 irq=11
#alias sound-service-1-0 snd-mixer-oss
#alias sound-service-1-1 snd-seq-oss
#alias sound-service-1-3 snd-pcm-oss
#alias sound-service-1-12 snd-pcm-oss
# Configure card 1 (second card) as a virtual MIDI card
alias snd-card-1 snd-virmidi
alias sound-slot-1 snd-card-1
==================================
This did nothing to make my computer to be able to play midi files.
I then read several usergroup posting by other individuals, researched alsa's website for the via 82xx configuration and tried a few things. I manually added the entry for "Configure card 1" and "Edited to add support for midi" in attempts to make midi work. The closest thing I've been able to do is to run the command "/sbin/modprobe snd-virmidi". At least after that, kmid thinks I have a midi port. Then when I play midi files it looks like it's playing; I just have no sound. I checked the mixer and everything is up (especially PCM volume which i think is the one for midi as well as mp3/wav).
It seems that everyone is referencing a /etc/modules.conf that does not exist on my machine. It seems that kernel 2.4 has this, but modules in kernel 2.6 are different.
HELP!!! I'm quite disappointed that Fedora out of the box can't play midi. Is this problem more simple than I'm making it to be???
Thanks in advance.
|