From mboxrd@z Thu Jan 1 00:00:00 1970 From: holger@dehnhardt.org Subject: Re: MOTU Midi Express XT Date: Mon, 31 Oct 2016 20:10:39 +0000 Message-ID: References: <0ee7780b-d697-ace0-99bb-07ac36b710e1@ladisch.de> <26f710a4f67283761948a697c1d6e698@owncloud.dehnhardt.org> <2e5e4e51f4f2c63ecab719a1937d695f@owncloud.dehnhardt.org> <9d5810a657a4fb63805acea778570a49@owncloud.dehnhardt.org> <1bdf9e49-1bbb-4f45-5122-bd0f6f4315bf@ladisch.de> <9393708728a54b11ca4bd1edc65d90f8@owncloud.dehnhardt.org> <56dad789446d6e7477f82b06ce68e941@owncloud.dehnhardt.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from punkt-k.de (punkt-k.de [84.200.50.24]) by alsa0.perex.cz (Postfix) with ESMTP id 315C4261B03 for ; Mon, 31 Oct 2016 21:11:05 +0100 (CET) In-Reply-To: <0ee7780b-d697-ace0-99bb-07ac36b710e1@ladisch.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Clemens Ladisch Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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