All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: USB-audio: Add support for Novation Nocturn MIDIcontrol surface
@ 2015-10-16 11:38 Ricard Wanderlof
  2015-10-16 12:31 ` Takashi Iwai
  2015-10-16 16:25 ` Clemens Ladisch
  0 siblings, 2 replies; 5+ messages in thread
From: Ricard Wanderlof @ 2015-10-16 11:38 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai, Ricard at home


The Nocturn needs the MIDI_RAW_BYTES quirk, like other Novation devices.

Tested that the Nocturn shows up in aconnect, and that it can be used
as a control surface (using the xtor synthesizer patch editor).

Signed-off-by: Ricard Wanderlof <ricardw@axis.com>
---

I've noticed that checkpatch complains about the space between the & and (,
but in the interest of consistency I've not changed this. Is there some
reason for the space, or would it be worth while cleaning up the file?

 sound/usb/quirks-table.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index e475665..99de061 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -2664,6 +2664,15 @@ YAMAHA_DEVICE(0x7010, "UB99"),
 	}
 },
 {
+	USB_DEVICE(0x1235, 0x000a),
+	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+		/* .vendor_name = "Novation", */
+		/* .product_name = "Nocturn", */
+		.ifnum = 0,
+		.type = QUIRK_MIDI_RAW_BYTES
+	}
+},
+{
 	USB_DEVICE(0x1235, 0x000e),
 	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
 		/* .vendor_name = "Novation", */
-- 
2.1.4

-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-18  7:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-16 11:38 [PATCH] ALSA: USB-audio: Add support for Novation Nocturn MIDIcontrol surface Ricard Wanderlof
2015-10-16 12:31 ` Takashi Iwai
2015-10-16 16:25 ` Clemens Ladisch
2015-10-18  6:30   ` Ricard Wanderlof
2015-10-18  7:14     ` Takashi Iwai

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.