alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: "Frédéric Jaume" <frederic.jaume@gmail.com>
Cc: Grant Diffey <gdiffey@gmail.com>,
	Clemens Ladisch <clemens@ladisch.de>,
	alsa-devel@alsa-project.org
Subject: Re: Alsa Support for Korg Pandora Mini, Vox ToneLab ST
Date: Mon, 16 May 2011 08:56:56 +0200	[thread overview]
Message-ID: <BANLkTikjU3KiL9HJJSwjHQ8qO-eLG3HWzQ@mail.gmail.com> (raw)
In-Reply-To: <BANLkTinUrXN6KiYLOT=F=jdPmn=2t5F5OQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

2011/5/15 Daniel Mack <zonque@gmail.com>:
> 2011/5/14 Frédéric Jaume <frederic.jaume@gmail.com>:
>> Hi!
>>
>> Here's the "lsusb -v" for the Korg Pandora PX5D, attached. Hope this helps.
>
> The MIDI part of the descriptors is clearly marked as vendor specific,
> so there is nothing the driver can do about this, except for adding a
> quirk.
>
> Assuming the MIDI interface is class compliant, the following patch
> should help. Can you give it a try?

For the Pandora PX5D, we also have to use the USB_DEVICE_VENDOR_SPEC
macro, so the class compliant audio interfaces are not ignored by
adding the quirk.

Daniel

[-- Attachment #2: 0001-ALSA-usb-audio-Add-quirk-for-KORG-PANDORA-PX5D-MIDI-.patch --]
[-- Type: application/octet-stream, Size: 940 bytes --]

From 7e8ad2e68a10621bb0dbcfc06e6afd661e291ad8 Mon Sep 17 00:00:00 2001
From: Daniel Mack <zonque@gmail.com>
Date: Sun, 15 May 2011 15:08:17 +0200
Subject: [PATCH] ALSA: usb-audio: Add quirk for KORG PANDORA PX5D MIDI
 interface

Signed-off-by: Daniel Mack <zonque@gmail.com>
---
 sound/usb/quirks-table.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index 5c1a176..78c3e8d 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -2179,6 +2179,17 @@ YAMAHA_DEVICE(0x7010, "UB99"),
 	}
 },
 
+/* KORG devices */
+{
+	USB_DEVICE_VENDOR_SPEC(0x0944, 0x0200),
+	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+		.vendor_name = "KORG, Inc.",
+		/* .product_name = "PANDORA PX5D", */
+		.ifnum = 3,
+		.type = QUIRK_MIDI_STANDARD_INTERFACE,
+	}
+},
+
 /* AKAI devices */
 {
 	USB_DEVICE(0x09e8, 0x0062),
-- 
1.7.5.1


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2011-05-16  6:56 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-19  7:39 Alsa Support for Korg Pandora Mini, Vox ToneLab ST Pawel Siemienski
2011-04-23  8:52 ` Daniel Mack
2011-05-12 16:01 ` Daniel Mack
2011-05-13  9:25   ` Pawel Siemienski
2011-05-13 12:13     ` Daniel Mack
2011-05-14 16:57   ` Frédéric Jaume
2011-05-14 17:13     ` Grant Diffey
2011-05-14 17:24       ` Daniel Mack
2011-05-14 18:16         ` Daniel Mack
2011-05-14 20:34           ` Frédéric Jaume
2011-05-15 13:12             ` Daniel Mack
2011-05-16  6:56               ` Daniel Mack [this message]
2011-05-16 12:57                 ` Felix Homann
2011-05-16 15:20                 ` Grant Diffey
2011-05-16 15:25                   ` Daniel Mack
2011-05-16 18:39                     ` Frédéric Jaume
2011-05-15 17:54           ` Grant Diffey
2011-05-15 20:43             ` Daniel Mack
2011-05-15 21:30               ` Daniel Mack
2011-05-16  2:55                 ` Grant Diffey
2011-05-16  6:48                   ` Daniel Mack
2011-05-17 13:44                     ` Felix Homann
2011-05-15 23:22               ` Grant Diffey

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=BANLkTikjU3KiL9HJJSwjHQ8qO-eLG3HWzQ@mail.gmail.com \
    --to=zonque@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=frederic.jaume@gmail.com \
    --cc=gdiffey@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).