[alsa-devel] [PATCH] ALSA: USB-audio: Add support for Novation Nocturn MIDIcontrol surface
Takashi Iwai
tiwai at suse.de
Fri Oct 16 14:31:22 CEST 2015
On Fri, 16 Oct 2015 13:38:33 +0200,
Ricard Wanderlof wrote:
>
>
> 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 at axis.com>
Applied, thanks.
> ---
>
> 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?
Simply ignore it in this case. checkpatch.pl is often just
grumbling. You can remove the space, but it won't give any better
readability either.
thanks,
Takashi
>
> 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
>
More information about the Alsa-devel
mailing list