From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000717]: MIDI input does not generate interrupts Date: Fri, 10 Dec 2004 14:38:12 +0100 Message-ID: <8c1de6dfb754ae761e5adbd2a1e046e9@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id A788F1FF for ; Fri, 10 Dec 2004 14:38:12 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: pelzi Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 717 Category: PCI - es1938 Reproducibility: always Severity: major Priority: normal Status: new Distribution: Debian Sarge Kernel Version: 2.4.27 ====================================================================== Date Submitted: 12-09-2004 14:52 CET Last Modified: 12-10-2004 14:38 CET ====================================================================== Summary: MIDI input does not generate interrupts Description: No high level midi events are generated, though raw midi events are received. I.e. amidi -d produces results, but the corresponding arecordmidi does not. The possible cause, as suggested on the alsa-user mailing list, is that no interrupts are generated on incoming midi events. In generel, the soundcard does generate interrupts tough, e.g. on audio channel events. ====================================================================== ---------------------------------------------------------------------- pelzi - 12-10-04 13:22 ---------------------------------------------------------------------- Any way I could help? Testing something, etc... I've seen some code pieces in MIDI interrupt context commented out in es1938.c. I put them in again, but it doesn't seem to make a difference. ---------------------------------------------------------------------- Clemens Ladisch - 12-10-04 14:38 ---------------------------------------------------------------------- In the call to snd_mpu401_uart_new, try to replace "chip->irq" with "-1". This will use the timer interrupt instead of the sound card's interrupt to receive MIDI data. However, this is less reliable (than using the sound card interrupt if it actually worked). Issue History Date Modified Username Field Change ====================================================================== 12-09-04 14:52 pelzi New Issue 12-09-04 14:52 pelzi Distribution => Debian Sarge 12-09-04 14:52 pelzi Kernel Version => 2.4.27 12-09-04 15:27 tiwai Note Added: 0002802 12-10-04 13:22 pelzi Note Added: 0002804 12-10-04 14:38 Clemens LadischNote Added: 0002805 ====================================================================== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/