From d05cc104320210e1c38ff9675c5038cffb2d86dc Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 7 May 2007 09:28:53 +0200 Subject: [PATCH] [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 Signed-off-by: Jaroslav Kysela --- Reading git-format-patch failed