All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: John F Leach <jfleach@jfleach.com>
Cc: alsa-devel@alsa-project.org, clemens@ladisch.de
Subject: Re: ALSA Support for Roland Gaia SH-01
Date: Mon, 21 Nov 2011 12:10:16 +0100	[thread overview]
Message-ID: <4ECA3198.3040707@gmail.com> (raw)
In-Reply-To: <1321835088.14960.22.camel@darkside>

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

  reply	other threads:[~2011-11-21 11:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21  0:24 ALSA Support for Roland Gaia SH-01 John F Leach
2011-11-21 11:10 ` Daniel Mack [this message]
2011-11-21 12:37 ` Grant Diffey
2011-11-21 12:50   ` Clemens Ladisch
2011-11-21 17:19     ` John F Leach
2011-11-21 17:34       ` Daniel Mack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECA3198.3040707@gmail.com \
    --to=zonque@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=jfleach@jfleach.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.