Specific answers inline.

High-level questions:

 1) Is there a good debugging guide?  I'm guessing
    that ALSA experts have a checklist, like
     - check kernel config
     - check alsa build config
     - check /etc/modules.conf
     - check lsmod
     - etc.

 2) I just tried the Creative Labs linux drivers,
    and they also didn't work with midi.  But they
    do claim that the UART midi should work.

 3) What do the "alias sound-service-x-y" lines
    in /etc/modules.conf do?  x is the card number,
    but what is y?  Is y related to the numbers in
    /proc/asound/devices?

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of Clemens Ladisch
> Thomas Vaughan wrote:
> > Yet another installment of my external MIDI
> > saga.  As yet I've been unable to receive any
> > external MIDI events through my card's joystick
> > port (which I now believe is the MPU401).
> 
> Does it work in another operating system?

The other operating system I tried was FreeBSD,
and the driver situation was worse than Linux :)

But given that the rest of the card is working,
it seems unlikely that just the external MIDI is
broken.  I've seen a lot of people asking about
MIDI for this card.  I think it's just hard (or
non-obvious) to set up.

I'm sure I'm missing a line in a configuration
file somewhere, I'm just new to Linux and don't
know what line it is.

For instance: do I need any options added to my
/etc/modules.conf file?  I don't see any that
relate to midi.

> > One thing I've noticed: the emu10k1 drivers seem
> > to have their own mpu401 code.  So loading a
> > separate mpu401 driver seems redundant.  Is that
> > correct?
> 
> Yes.

Cool.

> > I've compiled with full debug support.  Where do
> > debug messages go?  I don't see any on the console,
> > or in /var/log/messages.
> 
> try /var/log/some_other_file

I think it's going to /var/log/messages.  There
just isn't much being logged, even at full
debug.

> > the lsmod output:
> > ...
> > Why aren't there any entries for snd-seq-midi
> > or the like?  Do I need those?
> 
> The sequencer is loaded automatically when you use it.

Okay.  I notice that when I run modprobe snd-emu10k1,
only one midi device appears: /proc/asound/dev/midiC0D0.
When I open /dev/sequencer for reading, two other midi
devices appear: midiC0D1 and midiC0D2.

> > However, MIDI (on the card or external) doesn't
> > seem to be working.  playmidi fails with
> > "No playback device found."
> >
> > If I listen for MIDI events on
> > /proc/asound/dev/midiC0D0, I don't hear any.
> >
> > KDE reports that there are no MIDI devices
> > in the system.
> 
> ...dev/midiC0D0 means that the MIDI port does exist.
> KDE and playmidi look at the OSS port /dev/midi. Does it exist?
> Did you run ./snddevices after installing ALSA?

Yes, I ran ./snddevices.
/dev/midi is there, it is a symlink to /dev/midi0.
/dev/midi0 also does not report any incoming MIDI events.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to