aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-10-05 13:23:19 +0200
committerJaroslav Kysela <perex@suse.cz>2005-10-07 14:46:42 +0200
commita25f175c2f6962c38cdbacfc4b66b297f4fb54b2 (patch)
tree37e3688f74229d36e15db04d3992d80e2b401583 /sound/usb
parent9c9565f709f28c12dadfe74b31f2c86ffd75f71e (diff)
downloadkernel_samsung_crespo-a25f175c2f6962c38cdbacfc4b66b297f4fb54b2.zip
kernel_samsung_crespo-a25f175c2f6962c38cdbacfc4b66b297f4fb54b2.tar.gz
kernel_samsung_crespo-a25f175c2f6962c38cdbacfc4b66b297f4fb54b2.tar.bz2
[ALSA] usb-audio: add MIDI quirk for Hercules DJ Console
USB generic driver Add a quirk entry for the external MIDI ports of the Windows Edition of the Hercules DJ Console. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/usbquirks.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h
index 370f0e3..948759d 100644
--- a/sound/usb/usbquirks.h
+++ b/sound/usb/usbquirks.h
@@ -1028,6 +1028,27 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
},
+/* Guillemot devices */
+{
+ /*
+ * This is for the "Windows Edition" where the external MIDI ports are
+ * the only MIDI ports; the control data is reported through HID
+ * interfaces. The "Macintosh Edition" has ID 0xd002 and uses standard
+ * compliant USB MIDI ports for external MIDI and controls.
+ */
+ USB_DEVICE_VENDOR_SPEC(0x06f8, 0xb000),
+ .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
+ .vendor_name = "Hercules",
+ .product_name = "DJ Console (WE)",
+ .ifnum = 4,
+ .type = QUIRK_MIDI_FIXED_ENDPOINT,
+ .data = & (const snd_usb_midi_endpoint_info_t) {
+ .out_cables = 0x0001,
+ .in_cables = 0x0001
+ }
+ }
+},
+
/* Midiman/M-Audio devices */
{
USB_DEVICE_VENDOR_SPEC(0x0763, 0x1002),