aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbquirks.h
diff options
context:
space:
mode:
authorSebastien Alaiwan <sebastien.alaiwan@gmail.com>2010-02-16 02:55:08 -0500
committerJaroslav Kysela <perex@perex.cz>2010-02-16 03:34:56 -0500
commitd39e82db73eb876c60d00f00219d767b3be30307 (patch)
tree6a6d0fdaae86bd4089e66578dd2bed19a6987d87 /sound/usb/usbquirks.h
parentc3a3e040f01457d2ea4f199f75ca205401001a3b (diff)
ALSA: USB MIDI support for Access Music VirusTI
Here's a patch that adds MIDI support through USB for one of the Access Music synths, the VirusTI. The synth uses standard USBMIDI protocol on its USB interface 3, although it does signal "vendor specific" class. A magic string has to be sent on interface 3 to enable the sending of MIDI from the synth (this string was found by sniffing usb communication of the Windows driver). This is all my patch does, and it works on my computer. Please note that the synth can also do standard usb audio I/O on its interfaces 2&3, which already works with the current snd-usb-audio driver, except for the audio input from the synth. I'm going to work on it when I have some time. Signed-off-by: Sebastien Alaiwan <sebastien.alaiwan@gmail.com> Signed-off-by: Clemens Ladisch <clemens@ladisch.de> (cosmetics, list terminator) Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/usb/usbquirks.h')
-rw-r--r--sound/usb/usbquirks.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h
index a892bda03df9..406b74b65ffb 100644
--- a/sound/usb/usbquirks.h
+++ b/sound/usb/usbquirks.h
@@ -2073,6 +2073,33 @@ YAMAHA_DEVICE(0x7010, "UB99"),
2073 } 2073 }
2074}, 2074},
2075 2075
2076/* Access Music devices */
2077{
2078 /* VirusTI Desktop */
2079 USB_DEVICE_VENDOR_SPEC(0x133e, 0x0815),
2080 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2081 .ifnum = QUIRK_ANY_INTERFACE,
2082 .type = QUIRK_COMPOSITE,
2083 .data = &(const struct snd_usb_audio_quirk[]) {
2084 {
2085 .ifnum = 3,
2086 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2087 .data = &(const struct snd_usb_midi_endpoint_info) {
2088 .out_cables = 0x0003,
2089 .in_cables = 0x0003
2090 }
2091 },
2092 {
2093 .ifnum = 4,
2094 .type = QUIRK_IGNORE_INTERFACE
2095 },
2096 {
2097 .ifnum = -1
2098 }
2099 }
2100 }
2101},
2102
2076/* */ 2103/* */
2077{ 2104{
2078 /* aka. Serato Scratch Live DJ Box */ 2105 /* aka. Serato Scratch Live DJ Box */