All of lore.kernel.org
 help / color / mirror / Atom feed
From: John F Leach <jfleach@jfleach.com>
To: alsa-devel <alsa-devel@alsa-project.org>
Cc: Grant Diffey <gdiffey@gmail.com>, clemens <clemens@ladisch.de>,
	zonque@gmail.com
Subject: Re: ALSA Support for Roland Gaia SH-01
Date: Mon, 21 Nov 2011 12:19:03 -0500	[thread overview]
Message-ID: <1321895943.3336.8.camel@darkside> (raw)
In-Reply-To: <4ECA4913.7050307@ladisch.de>

Thanks for the help everyone.  I was able to get the device's USB audio
and MIDI to work, but need additional time for testing and tweaking of
the code.  

Here's the patch so far, please let me know if there are any other
enhancements I should consider.

{
        /* Roland GAIA SH-01 */
        USB_DEVICE(0x0582, 0x0111),
        .driver_info = (unsigned long) & (const struct
snd_usb_audio_quirk) {
                .vendor_name = "Roland",
                .product_name = "SH-01",
                .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
                        }
                }
        }
},

Regards,

John F Leach

  reply	other threads:[~2011-11-21 17:19 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
2011-11-21 12:37 ` Grant Diffey
2011-11-21 12:50   ` Clemens Ladisch
2011-11-21 17:19     ` John F Leach [this message]
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=1321895943.3336.8.camel@darkside \
    --to=jfleach@jfleach.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=gdiffey@gmail.com \
    --cc=zonque@gmail.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.