Thanks for answering, Clemens. Comments are inline.
In theory, this indicates that the driver has been initialized correctly. But it doesn't actually check if the device is there.
A PCI device needs to be enabled before it can be used, and this driver does not know about PCI.
It looks like the driver does not care about that.
The partport-serial driver gets loaded, doesn't it?
It can be loaded but is not loaded by default as mtpav does not work if any other parport driver is loaded.
I added a print statement to to __init function (see the code and arrow -> below). It initialises without error.
static int __init alsa_card_mtpav_init(void)
The actual device initialization is in snd_mptav_probe().
Ok, this is where the default message: "Motu MidiTimePiece on parallel port irq: %d ioport: 0x%lx\n" is written from. So there is no error too.
BTW: lsmod |grep snd_mtpav shows, that it is using snd_rawmidi...
snd_mtpav 16384 0 snd_rawmidi 32768 2 snd_mtpav,snd_seq_midi snd 81920 5 snd_mtpav,snd_timer,snd_seq,snd_rawmidi,snd_seq_device
Was there a recent api change? More and more it looks like there is a problem with registering the driver / the port to the ALSA system.
Holger