* ES1938 MIDI input not working?
@ 2003-05-26 16:28 Clemens Ladisch
2003-05-27 13:51 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Clemens Ladisch @ 2003-05-26 16:28 UTC (permalink / raw)
To: alsa-devel
Hi,
I have a report that, with an ES1938 card, MIDI (input only) doesn't work.
It looks as if MIDI interrupts aren't generated or acknowledged properly.
es9138.c has the following MIDI interrupt code:
/* MPU401 */
if (status & 0x80) {
// snd_es1938_mixer_bits(chip, ESSSB_IREG_MPU401CONTROL, 0x40, 0); /* ack? */
if (chip->rmidi) {
handled = 1;
snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data, regs);
}
}
This was added in revision 1.6 of es1938.c, with the log message "not
tested well". In revision 1.22, the "ack?" line was commented out, without
any relevant log message.
Has this code been tested? Does anybody know if it works, somewhere?
Regards,
Clemens
---------- Forwarded message ----------
Date: Mon, 26 May 2003 10:27:05 +0200
From: Stefan Gruber <GruberLISCON@netscape.net>
Newsgroups: de.comp.os.unix.linux.misc, de.rec.musik.elektronisch
Subject: Re: MIDI: Ausgabe ja, Eingabe nein
(... cat /dev/midi00 ...)
> Wird dabei "Rx bytes" in /proc/asound/card0/midi0 hochgezählt?
Nein. "Rx bytes" bleibt permanent auf Null.
> Wird bei empfangenen MIDI-Bytes ein Interrupt generiert? (kann man in
> /proc/interrupts mitzählen)
Scheinbar kommt auch hier nichts. Auf welchem IRQ müsste der denn kommen?
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ES1938 MIDI input not working?
2003-05-26 16:28 ES1938 MIDI input not working? Clemens Ladisch
@ 2003-05-27 13:51 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2003-05-27 13:51 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
At Mon, 26 May 2003 18:28:52 +0200 (METDST),
Clemens Ladisch wrote:
>
> Hi,
>
> I have a report that, with an ES1938 card, MIDI (input only) doesn't work.
> It looks as if MIDI interrupts aren't generated or acknowledged properly.
>
> es9138.c has the following MIDI interrupt code:
>
> /* MPU401 */
> if (status & 0x80) {
> // snd_es1938_mixer_bits(chip, ESSSB_IREG_MPU401CONTROL, 0x40, 0); /* ack? */
> if (chip->rmidi) {
> handled = 1;
> snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data, regs);
> }
> }
>
> This was added in revision 1.6 of es1938.c, with the log message "not
> tested well". In revision 1.22, the "ack?" line was commented out, without
> any relevant log message.
>
> Has this code been tested? Does anybody know if it works, somewhere?
the last time i tried, it didn't work.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-27 13:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-26 16:28 ES1938 MIDI input not working? Clemens Ladisch
2003-05-27 13:51 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.