MIDI problem upon ALSA update [solved]

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
darsu
Established Member
Posts: 16
Joined: Sun Feb 21, 2010 3:08 pm

MIDI problem upon ALSA update [solved]

Post by darsu »

I compiled the latest ALSA libs (1.0.25) and the MIDI ports of my audio interface (UA25EX) no longer show up when using JACK with the seq driver. They do show up as "in/out-hw-1-0-0-UA-25EX-MIDI-1" when I run JACK with the raw driver, but then I have to raise buffer size by more than I can work with. Does anyone have any idea what might be wrong?

aconnect -o:

Code: Select all

client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
aplaymidi -l:

Code: Select all

 Port    Client name                      Port name
 14:0    Midi Through                     Midi Through Port-0
amidi -l:

Code: Select all

Dir Device    Name
IO  hw:1,0,0  UA-25EX MIDI 1
lsmod | grep snd:

Code: Select all

snd_hrtimer             3376  0
snd_via82xx_modem      13868  0
snd_ac97_codec        126072  1 snd_via82xx_modem
ac97_bus                2240  1 snd_ac97_codec
snd_seq_dummy           3588  0
snd_usb_audio         131744  5
snd_pcm_oss            44672  0
snd_mixer_oss          19200  1 snd_pcm_oss
snd_pcm                95272  6 snd_via82xx_modem,snd_ac97_codec,snd_usb_audio,snd_pcm_oss
snd_hwdep               9448  1 snd_usb_audio
snd_usbmidi_lib        23744  1 snd_usb_audio
snd_rawmidi            27232  3 snd_usbmidi_lib
snd_seq_oss            33696  0
snd_seq_midi_event      8544  1 snd_seq_oss
snd_seq                61408  8 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_timer              25840  3 snd_hrtimer,snd_pcm,snd_seq
snd_seq_device          8532  4 snd_seq_dummy,snd_rawmidi,snd_seq_oss,snd_seq
snd                    83720  22 snd_hrtimer,snd_via82xx_modem,snd_ac97_codec,snd_seq_dummy,snd_usb_audio,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
soundcore               9088  1 snd
snd_page_alloc         11088  2 snd_via82xx_modem,snd_pcm
Last edited by darsu on Fri Aug 03, 2012 5:48 pm, edited 2 times in total.
User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: MIDI problem upon ALSA update

Post by autostatic »

You might want to try a2jmidid
It's a better solution to expose your ALSA MIDI ports to JACK than using seq or raw.
darsu
Established Member
Posts: 16
Joined: Sun Feb 21, 2010 3:08 pm

Re: MIDI problem upon ALSA update

Post by darsu »

Thanks, but I don't think that's it. Right now I would have to use raw anyway since nothing else makes audio interface ports appear at all—there's nothing for a2jmidid to bridge if I set driver to none or seq.
darsu
Established Member
Posts: 16
Joined: Sun Feb 21, 2010 3:08 pm

Re: MIDI problem upon ALSA update

Post by darsu »

I tested with a Delta 1010LT card and have the same result, so it's not a USB-related thing.
User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: MIDI problem upon ALSA update

Post by autostatic »

darsu wrote:Thanks, but I don't think that's it. Right now I would have to use raw anyway since nothing else makes audio interface ports appear at all—there's nothing for a2jmidid to bridge if I set driver to none or seq.
Ok, now I see, the UA-25EX MIDI port doesn't show up with aconnect and aplaymidi -l but it does with amidi -l. That's weird. But regarding JACK, where is it that they don't show up anymore? The MIDI tab in QjackCtl?
darsu
Established Member
Posts: 16
Joined: Sun Feb 21, 2010 3:08 pm

Re: MIDI problem upon ALSA update

Post by darsu »

This is what it looks like, with Ardour running just for example's sake.

seq driver: (normally the audio interface would show up here)
Image

raw driver: (I can't remember what this would look like normally)
Image

With 'none' driver this tab is empty.

The ALSA tab for reference:
Image


It's as if some "libalsajack-seq" kind of support/compatibility library was missing. I don't know if such a thing exists, I haven't found mention of one.
darsu
Established Member
Posts: 16
Joined: Sun Feb 21, 2010 3:08 pm

Re: MIDI problem upon ALSA update [solved]

Post by darsu »

Sort of solved — I nuked ALSA 1.0.25 and installed 1.0.21 instead (I chose that version arbitrarily), and the UA-25EX MIDI ports reappeared.

Image
Post Reply