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

Daniel Mack zonque at gmail.com
Mon Nov 21 12:10:16 CET 2011


On 11/21/2011 01:24 AM, John F Leach wrote:
> All,
> 
> Can someone please help to add ALSA support for the Roland Gaia (SH-01)
> Synthesizer?
> 
> http://www.rolandus.com/products/productdetails.php?ProductId=1074
> 
> I started a sample patch for usbquirks.h (see below) but am not sure if
> the USB_DEVICE address is correct or what to use for the types.  What
> should the quirk table entry look like for this device?  Does quirks.c
> need a special case added?
> 
> {
>         /* Roland Gaia SH-01 */
>         USB_DEVICE(0x0582, 0x0111),
>         .driver_info = (unsigned long) & (const struct
> snd_usb_audio_quirk) {
>                 .vendor_name = "Roland",
>                 .product_name = "Gaia",
>                 .ifnum = QUIRK_ANY_INTERFACE,
>                 .type = QUIRK_COMPOSITE,
>                 .data = (const struct snd_usb_audio_quirk[]) {
>                         {
>                                 .ifnum = 0,
>                                 .type = QUIRK_AUDIO_STANDARD_INTERFACE
>                         },
>                         {
>                                 .ifnum = 1,
>                                 .type = QUIRK_AUDIO_STANDARD_INTERFACE
>                         },
>                         {
>                                 .ifnum = 2,
>                                 .type = QUIRK_STANDARD_MIDI_INTERFACE,
>                                 }
>                         },
>                         {
>                                 .ifnum = -1
>                         }
>                 }
>         }

That doesn't look too bad except for a syntactial error in the MIDI
block (an extra "}"). Did you try it? What was the result?



Daniel



More information about the Alsa-devel mailing list