: MIDI input does not generate interrupts
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=717>
======================================================================
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 15:16 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.
======================================================================
----------------------------------------------------------------------
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).
----------------------------------------------------------------------
pelzi - 12-10-04 15:16
----------------------------------------------------------------------
I appended a patch that works for me. As you can see, I activated 2 of 3 code regions that were commented out before. Unfortunately, no reason was given why the code was commented out, so I don't know if it had any undesirable side effects.
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
12-10-04 15:14 pelzi File Added: es1938_c_MIDI_Patches.diff
12-10-04 15:16 pelzi Note Added: 0002806
======================================================================
-------------------------------------------------------
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/