Commit 098031b7 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>

USB generic driver
- fix non-working control port on Roland U-8
- more port names
- new MIDI quirks for Roland MMP-2, V-SYNTH, VariOS, FP-*, GI-20,
  BOSS GS-10, Edirol UR-80, PCR-A, PCR-1
parent 8a74a5e0
......@@ -748,6 +748,7 @@ static struct {
{0x0582, 0x0003, 4, "%s MIDI 1"},
{0x0582, 0x0003, 5, "%s MIDI 2"},
/* Roland U-8 */
{0x0582, 0x0004, 0, "%s MIDI"},
{0x0582, 0x0004, 1, "%s Control"},
/* Roland SC-8820 */
{0x0582, 0x0007, 0, "%s Part A"},
......@@ -779,6 +780,31 @@ static struct {
{0x0582, 0x0029, 1, "%s Part B"},
{0x0582, 0x0029, 2, "%s MIDI 1"},
{0x0582, 0x0029, 3, "%s MIDI 2"},
/* Edirol UA-700 */
{0x0582, 0x002b, 0, "%s MIDI"},
{0x0582, 0x002b, 1, "%s Control"},
/* Roland VariOS */
{0x0582, 0x002f, 0, "%s MIDI"},
{0x0582, 0x002f, 1, "%s External MIDI"},
{0x0582, 0x002f, 2, "%s Sync"},
/* Edirol PCR */
{0x0582, 0x0033, 0, "%s MIDI"},
{0x0582, 0x0033, 1, "%s 1"},
{0x0582, 0x0033, 2, "%s 2"},
/* BOSS GS-10 */
{0x0582, 0x003b, 0, "%s MIDI"},
{0x0582, 0x003b, 1, "%s Control"},
/* Edirol UA-1000 */
{0x0582, 0x0044, 0, "%s MIDI"},
{0x0582, 0x0044, 1, "%s Control"},
/* Edirol UR-80 */
{0x0582, 0x0048, 0, "%s MIDI"},
{0x0582, 0x0048, 1, "%s 1"},
{0x0582, 0x0048, 2, "%s 2"},
/* Edirol PCR-A */
{0x0582, 0x004d, 0, "%s MIDI"},
{0x0582, 0x004d, 1, "%s 1"},
{0x0582, 0x004d, 2, "%s 2"},
/* M-Audio MidiSport 8x8 */
{0x0763, 0x1031, 8, "%s Control"},
{0x0763, 0x1033, 8, "%s Control"},
......
......@@ -104,7 +104,7 @@ YAMAHA_DEVICE(0x5008, "01V96"),
#undef YAMAHA_INTERFACE
/*
* Roland/RolandED/Edirol devices
* Roland/RolandED/Edirol/BOSS devices
*/
{
USB_DEVICE(0x0582, 0x0000),
......@@ -196,8 +196,8 @@ YAMAHA_DEVICE(0x5008, "01V96"),
.ifnum = 2,
.type = QUIRK_MIDI_FIXED_ENDPOINT,
.data = & (const snd_usb_midi_endpoint_info_t) {
.out_cables = 0x0003,
.in_cables = 0x0003
.out_cables = 0x0005,
.in_cables = 0x0005
}
}
},
......@@ -392,6 +392,32 @@ YAMAHA_DEVICE(0x5008, "01V96"),
}
}
},
{
USB_DEVICE(0x0582, 0x001b),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "Roland",
.product_name = "MMP-2",
.ifnum = 2,
.type = QUIRK_MIDI_FIXED_ENDPOINT,
.data = & (const snd_usb_midi_endpoint_info_t) {
.out_cables = 0x0001,
.in_cables = 0x0001
}
}
},
{
USB_DEVICE(0x0582, 0x001d),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "Roland",
.product_name = "V-SYNTH",
.ifnum = 0,
.type = QUIRK_MIDI_FIXED_ENDPOINT,
.data = & (const snd_usb_midi_endpoint_info_t) {
.out_cables = 0x0001,
.in_cables = 0x0001
}
}
},
{
USB_DEVICE(0x0582, 0x0023),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
......@@ -488,6 +514,19 @@ YAMAHA_DEVICE(0x5008, "01V96"),
}
}
},
{
USB_DEVICE(0x0582, 0x002f),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "Roland",
.product_name = "VariOS",
.ifnum = 0,
.type = QUIRK_MIDI_FIXED_ENDPOINT,
.data = & (const snd_usb_midi_endpoint_info_t) {
.out_cables = 0x0007,
.in_cables = 0x0007
}
}
},
{
USB_DEVICE(0x0582, 0x0033),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
......@@ -501,6 +540,84 @@ YAMAHA_DEVICE(0x5008, "01V96"),
}
}
},
{
USB_DEVICE(0x0582, 0x0037),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "Roland",
.product_name = "Digital Piano",
.ifnum = 0,
.type = QUIRK_MIDI_FIXED_ENDPOINT,
.data = & (const snd_usb_midi_endpoint_info_t) {
.out_cables = 0x0001,
.in_cables = 0x0001
}
}
},
{
USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "BOSS",
.product_name = "GS-10",
.ifnum = 3,
.type = QUIRK_MIDI_FIXED_ENDPOINT,
.data = & (const snd_usb_midi_endpoint_info_t) {
.out_cables = 0x0003,
.in_cables = 0x0003
}
}
},
{
USB_DEVICE(0x0582, 0x0040),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "Roland",
.product_name = "GI-20",
.ifnum = 0,
.type = QUIRK_MIDI_FIXED_ENDPOINT,
.data = & (const snd_usb_midi_endpoint_info_t) {
.out_cables = 0x0001,
.in_cables = 0x0001
}
}
},
{
USB_DEVICE(0x0582, 0x0048),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "EDIROL",
.product_name = "UR-80",
.ifnum = 0,
.type = QUIRK_MIDI_FIXED_ENDPOINT,
.data = & (const snd_usb_midi_endpoint_info_t) {
.out_cables = 0x0003,
.in_cables = 0x0007
}
}
},
{
USB_DEVICE(0x0582, 0x004d),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "EDIROL",
.product_name = "PCR-A",
.ifnum = 0,
.type = QUIRK_MIDI_FIXED_ENDPOINT,
.data = & (const snd_usb_midi_endpoint_info_t) {
.out_cables = 0x0003,
.in_cables = 0x0007
}
}
},
{
USB_DEVICE(0x0582, 0x0065),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "EDIROL",
.product_name = "PCR-1",
.ifnum = 0,
.type = QUIRK_MIDI_FIXED_ENDPOINT,
.data = & (const snd_usb_midi_endpoint_info_t) {
.out_cables = 0x0001,
.in_cables = 0x0003
}
}
},
{
/*
* This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment