Skip to contentSkip to conversation

: MIDI input does not generate interrupts

ALSA - driver 0000717 [email protected] 1 participant 1 message Dec 10, 2004

lore
Share & tools
lore
#0 lore raw

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 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/