diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-08-30 10:32:43 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-09-03 16:24:16 -0400 |
commit | aa70201fdc374f245cfa1874e11df145ace3ffaf (patch) | |
tree | ad68f906b21a0c68a9cd2c00471b226d18bfea8b /sound/usb | |
parent | 65f04443c96dbda11b8fff21d6390e082846aa3c (diff) |
ALSA: usb-audio: add Edirol PCR-1 PCM support
Add a quirk for the other logical device of the PCR-1 so that not only
the MIDI interface but also the audio interface works.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/quirks-table.h | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 4818fbdc02fb..838b81b74fd7 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h | |||
@@ -1136,11 +1136,34 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
1136 | } | 1136 | } |
1137 | }, | 1137 | }, |
1138 | { | 1138 | { |
1139 | /* has ID 0x0066 when not in "Advanced Driver" mode */ | ||
1140 | USB_DEVICE(0x0582, 0x0064), | ||
1141 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { | ||
1142 | /* .vendor_name = "EDIROL", */ | ||
1143 | /* .product_name = "PCR-1", */ | ||
1144 | .ifnum = QUIRK_ANY_INTERFACE, | ||
1145 | .type = QUIRK_COMPOSITE, | ||
1146 | .data = (const struct snd_usb_audio_quirk[]) { | ||
1147 | { | ||
1148 | .ifnum = 1, | ||
1149 | .type = QUIRK_AUDIO_STANDARD_INTERFACE | ||
1150 | }, | ||
1151 | { | ||
1152 | .ifnum = 2, | ||
1153 | .type = QUIRK_AUDIO_STANDARD_INTERFACE | ||
1154 | }, | ||
1155 | { | ||
1156 | .ifnum = -1 | ||
1157 | } | ||
1158 | } | ||
1159 | } | ||
1160 | }, | ||
1161 | { | ||
1139 | /* has ID 0x0067 when not in "Advanced Driver" mode */ | 1162 | /* has ID 0x0067 when not in "Advanced Driver" mode */ |
1140 | USB_DEVICE(0x0582, 0x0065), | 1163 | USB_DEVICE(0x0582, 0x0065), |
1141 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { | 1164 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
1142 | .vendor_name = "EDIROL", | 1165 | /* .vendor_name = "EDIROL", */ |
1143 | .product_name = "PCR-1", | 1166 | /* .product_name = "PCR-1", */ |
1144 | .ifnum = 0, | 1167 | .ifnum = 0, |
1145 | .type = QUIRK_MIDI_FIXED_ENDPOINT, | 1168 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
1146 | .data = & (const struct snd_usb_midi_endpoint_info) { | 1169 | .data = & (const struct snd_usb_midi_endpoint_info) { |