]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] usb-audio: work around broken M-Audio MidiSport Uno firmware
authorClemens Ladisch <clemens@ladisch.de>
Mon, 7 May 2007 07:28:53 +0000 (09:28 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:56:17 +0000 (16:56 +0200)
commitebc4caa5e47a5e2ce5bf5983e30df77cb9059535
tree2d2fecd77706207c66e5ae174374a28ec96e8ae1
parent30cb24f7bd815656d93c1daa9b75c5feddd1e3a6
[ALSA] usb-audio: work around broken M-Audio MidiSport Uno firmware

The firmware of the M-Audio USB Uno MIDI Interface has, at least in
hardware revision 1.25, a bug that garbles its USB output.  When it
receives a Note On MIDI message that uses running status, the resulting
USB MIDI packet has a wrong CIN (4 instead of 9) and a wrong length
(2 bytes, the status byte is still missing).
This patch adds a workaround to track the CINs and the MIDI messages of
received USB MIDI packets to detect whether a packet with CIN 4 is a
correct SysEx packet or a buggy running status packet.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/usb/usbmidi.c