]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: usb-audio: define another USB ID for a buggy USB MIDI cable
authorTarek Soliman <tarek@bashasoliman.com>
Mon, 4 Apr 2011 14:23:53 +0000 (09:23 -0500)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Apr 2011 06:05:30 +0000 (08:05 +0200)
There are many USB MIDI cables out there that have buggy
firmware that reports it can do more than 4 bytes in a
packet when they can only properly handle 4

This patch adds the ID of yet another one of those cables

Signed-off-by: Tarek Soliman <tarek@bashasoliman.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/midi.c

index b4b39c0b6c9ed8b1e698213a88ceb9637a082cef..f9289102886ad890987a0d27739a19f1e48afdd4 100644 (file)
@@ -1301,6 +1301,7 @@ static int snd_usbmidi_out_endpoint_create(struct snd_usb_midi* umidi,
        case USB_ID(0x15ca, 0x0101): /* Textech USB Midi Cable */
        case USB_ID(0x15ca, 0x1806): /* Textech USB Midi Cable */
        case USB_ID(0x1a86, 0x752d): /* QinHeng CH345 "USB2.0-MIDI" */
+       case USB_ID(0xfc08, 0x0101): /* Unknown vendor Cable */
                ep->max_transfer = 4;
                break;
                /*