aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbquirks.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2007-09-17 03:33:17 -0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 10:50:26 -0400
commit2ea547dcdd4216370f00dd65a18ee5a0271646a0 (patch)
tree89db9c32f3e7152c632db174363e5e5186edd02b /sound/usb/usbquirks.h
parent5683bc6e9eff5b40c56d1683419a9770140aee94 (diff)
[ALSA] usb-audio: add Ozone Academic support
Add a quirk to detect the MIDI port on the M-Audio Ozone Academic. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/usb/usbquirks.h')
-rw-r--r--sound/usb/usbquirks.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h
index 5f882a9b7c18..5e69e884ad00 100644
--- a/sound/usb/usbquirks.h
+++ b/sound/usb/usbquirks.h
@@ -1588,6 +1588,40 @@ YAMAHA_DEVICE(0x7010, "UB99"),
1588 } 1588 }
1589 } 1589 }
1590}, 1590},
1591{
1592 USB_DEVICE(0x0763, 0x2019),
1593 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1594 /* .vendor_name = "M-Audio", */
1595 /* .product_name = "Ozone Academic", */
1596 .ifnum = QUIRK_ANY_INTERFACE,
1597 .type = QUIRK_COMPOSITE,
1598 .data = & (const struct snd_usb_audio_quirk[]) {
1599 {
1600 .ifnum = 0,
1601 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1602 },
1603 {
1604 .ifnum = 1,
1605 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1606 },
1607 {
1608 .ifnum = 2,
1609 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1610 },
1611 {
1612 .ifnum = 3,
1613 .type = QUIRK_MIDI_MIDIMAN,
1614 .data = & (const struct snd_usb_midi_endpoint_info) {
1615 .out_cables = 0x0001,
1616 .in_cables = 0x0001
1617 }
1618 },
1619 {
1620 .ifnum = -1
1621 }
1622 }
1623 }
1624},
1591 1625
1592/* Casio devices */ 1626/* Casio devices */
1593{ 1627{