All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: John F Leach <jfleach@jfleach.com>
Cc: tiwai@suse.de, alsa-devel <alsa-devel@alsa-project.org>,
	clemens <clemens@ladisch.de>
Subject: Re: [PATCH] [ALSA] usb-audio - Support for Roland GAIA SH-01 Synthesizer
Date: Sun, 27 Nov 2011 16:21:04 +0100	[thread overview]
Message-ID: <4ED25560.40208@gmail.com> (raw)
In-Reply-To: <1322404484.6913.20.camel@darkside>

On 11/27/2011 03:34 PM, John F Leach wrote:
> Added table quirks entry for Roland GAIA SH-01 Synthesizer based upon
> Roland SH-201 table entry as template.  USB MIDI and audio was tested
> with Muse and Audacity.
> 
> Signed-off-by: John F Leach <jfleach@jfleach.com>
> Cc: Daniel Mack <zonque@gmail.com>
> Cc: Clemens Ladisch <clemens@ladisch.de>
> Cc: Takashi Iwai <tiwai@suse.de>
> ---
>  sound/usb/quirks-table.h |   31 +++++++++++++++++++++++++++++++
>  1 files changed, 31 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
> index b61945f..6380665 100644
> --- a/sound/usb/quirks-table.h
> +++ b/sound/usb/quirks-table.h
> @@ -1400,6 +1400,37 @@ YAMAHA_DEVICE(0x7010, "UB99"),
>  	}
>  },
>  {
> +	/* Roland GAIA SH-01 */
> +	USB_DEVICE(0x0582, 0x0111),

Entries in this list should be ordered by the USB vendor/product ID,
which is not the case judging from the next block:

>  	/* Roland SH-201 */
>  	USB_DEVICE(0x0582, 0x00ad),
>  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {


Otherwise looks good.

Thanks for sending patches!


Daniel


> +	.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_MIDI_FIXED_ENDPOINT,
> +                                .data = & (const struct
> snd_usb_midi_endpoint_info) {
> +                                       .out_cables = 0x0003,
> +                                       .in_cables  = 0x0003
> +				}
> +			},
> +			{
> +				.ifnum = -1
> +			}
> +		}
> +	}
> +},
> +{
>  	/* Roland SH-201 */
>  	USB_DEVICE(0x0582, 0x00ad),
>  	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {

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

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-27 14:34 [PATCH] [ALSA] usb-audio - Support for Roland GAIA SH-01 Synthesizer John F Leach
2011-11-27 15:21 ` Daniel Mack [this message]
2011-11-27 16:03   ` [PATCH] [ALSA] usb-audio - Support for Roland GAIA SH-01 Synthesizer - fix list order and wrapped line John F Leach
2011-11-27 16:10   ` [PATCH] [ALSA] usb-audio - Support for Roland GAIA SH-01 Synthesizer John F Leach
2011-11-27 16:42     ` Daniel Mack
2011-11-27 17:39       ` Takashi Iwai
2011-11-27 22:15         ` John F Leach
2011-11-28  9:48           ` Takashi Iwai
2011-11-29  0:41             ` John F Leach
2011-11-29  7:24               ` Takashi Iwai

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=4ED25560.40208@gmail.com \
    --to=zonque@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=jfleach@jfleach.com \
    --cc=tiwai@suse.de \
    /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.