[alsa-devel] ALSA Support for Roland Gaia SH-01

Clemens Ladisch clemens at ladisch.de
Mon Nov 21 13:50:27 CET 2011


Grant Diffey wrote:
> On Mon, Nov 21, 2011 at 11:24 AM, John F Leach <jfleach at jfleach.com> wrote:
> >                         .type = QUIRK_STANDARD_MIDI_INTERFACE,
> 
> From the looks of interface 2 which I'm guessing is the midi subinterface
> it doesn't seem to conform to the UAC spec

Yes; Roland's MIDI interfaces use different descriptors.

> This might need to be QUIRK_FIXED_MIDI_ENDPOINT maybe?

		...
		{
			.ifnum = 2,
			.type = QUIRK_MIDI_FIXED_ENDPOINT,
			.data = & (const struct snd_usb_midi_endpoint_info) {
				.out_cables = 0x0003,
				.in_cables  = 0x0003
			}
		},
		...


Regards,
Clemens


More information about the Alsa-devel mailing list