diff options
author | Paul Bonser <misterpib@gmail.com> | 2015-01-07 23:34:16 -0600 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-08 08:26:12 +0100 |
commit | e9f49369722bd7dd53f90467196df4b952eac1b6 (patch) | |
tree | ce69a775805045b0d89672356a130d11cbfe0846 | |
parent | 33f4acd3b214fee9662cbaf569a4876b8604f152 (diff) | |
download | linux-stable-e9f49369722bd7dd53f90467196df4b952eac1b6.tar.gz linux-stable-e9f49369722bd7dd53f90467196df4b952eac1b6.tar.bz2 linux-stable-e9f49369722bd7dd53f90467196df4b952eac1b6.zip |
ALSA: usb-audio: Add support for Akai MPC Element USB MIDI controller
The Akai MPC Element incorrectly reports its bInterfaceClass as 255, but
otherwise implements the USB MIDI spec correctly.
This adds a quirks-table.h entry which allows the device to be
recognized as a standard USB MIDI device.
Signed-off-by: Paul Bonser <misterpib@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/usb/quirks-table.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 0a598af9b38b..67d476548dcf 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -2486,6 +2486,28 @@ YAMAHA_DEVICE(0x7010, "UB99"), } }, +{ + /* Akai MPC Element */ + USB_DEVICE(0x09e8, 0x0021), + .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { + .ifnum = QUIRK_ANY_INTERFACE, + .type = QUIRK_COMPOSITE, + .data = & (const struct snd_usb_audio_quirk[]) { + { + .ifnum = 0, + .type = QUIRK_IGNORE_INTERFACE + }, + { + .ifnum = 1, + .type = QUIRK_MIDI_STANDARD_INTERFACE + }, + { + .ifnum = -1 + } + } + } +}, + /* TerraTec devices */ { USB_DEVICE_VENDOR_SPEC(0x0ccd, 0x0012), |