31 Mar
2020
31 Mar
'20
2:35 p.m.
On Tue, 31 Mar 2020 14:25:54 +0200, Andreas Steinmetz wrote:
[v2: Patch reworked as per comment from Takashi Iwai.]
The Miditech MIDIFACE 16x16 (USB ID 1290:1749) has more than one extra endpoint descriptor.
The first extra descriptor is: 0x06 0x30 0x00 0x00 0x00 0x00
As the code in snd_usbmidi_get_ms_info() looks only at the first extra descriptor to find USB_DT_CS_ENDPOINT the device as such is recognized but there is neither input nor output configured.
The patch iterates through the extra descriptors to find the proper one. With this patch the device is correctly configured.
Signed-off-by: Andreas Steinmetz ast@domdv.de
Applied now. Thanks.
Takashi