From: Clemens Ladisch Date: Mon, 7 May 2007 07:28:53 +0000 (+0200) Subject: [ALSA] usb-audio: work around broken M-Audio MidiSport Uno firmware X-Git-Tag: v2.6.22-rc1~22^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d05cc104320210e1c38ff9675c5038cffb2d86dc;p=pandora-kernel.git [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-diff-tree failed