Skip to content

Commit

Permalink
ALSA: usb-audio: define another USB ID for a buggy USB MIDI cable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tarek Soliman authored and Takashi Iwai committed Apr 6, 2011
1 parent b2cb129 commit 49c039f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/usb/midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/*
Expand Down

0 comments on commit 49c039f

Please sign in to comment.