diff options
Diffstat (limited to 'sound/usb/quirks-table.h')
-rw-r--r-- | sound/usb/quirks-table.h | 73 |
1 files changed, 72 insertions, 1 deletions
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 64d25a7a4d59..c39f898b15d2 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h | |||
@@ -1750,7 +1750,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
1750 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { | 1750 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
1751 | /* .vendor_name = "Roland", */ | 1751 | /* .vendor_name = "Roland", */ |
1752 | /* .product_name = "A-PRO", */ | 1752 | /* .product_name = "A-PRO", */ |
1753 | .ifnum = 1, | 1753 | .ifnum = 0, |
1754 | .type = QUIRK_MIDI_FIXED_ENDPOINT, | 1754 | .type = QUIRK_MIDI_FIXED_ENDPOINT, |
1755 | .data = & (const struct snd_usb_midi_endpoint_info) { | 1755 | .data = & (const struct snd_usb_midi_endpoint_info) { |
1756 | .out_cables = 0x0003, | 1756 | .out_cables = 0x0003, |
@@ -2326,6 +2326,77 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
2326 | } | 2326 | } |
2327 | }, | 2327 | }, |
2328 | { | 2328 | { |
2329 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x2031), | ||
2330 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2331 | /* .vendor_name = "M-Audio", */ | ||
2332 | /* .product_name = "Fast Track C600", */ | ||
2333 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2334 | .type = QUIRK_COMPOSITE, | ||
2335 | .data = &(const struct snd_usb_audio_quirk[]) { | ||
2336 | { | ||
2337 | .ifnum = 1, | ||
2338 | .type = QUIRK_AUDIO_STANDARD_MIXER, | ||
2339 | }, | ||
2340 | /* Playback */ | ||
2341 | { | ||
2342 | .ifnum = 2, | ||
2343 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, | ||
2344 | .data = &(const struct audioformat) { | ||
2345 | .formats = SNDRV_PCM_FMTBIT_S24_3LE, | ||
2346 | .channels = 8, | ||
2347 | .iface = 2, | ||
2348 | .altsetting = 1, | ||
2349 | .altset_idx = 1, | ||
2350 | .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, | ||
2351 | .endpoint = 0x01, | ||
2352 | .ep_attr = 0x09, | ||
2353 | .rates = SNDRV_PCM_RATE_44100 | | ||
2354 | SNDRV_PCM_RATE_48000 | | ||
2355 | SNDRV_PCM_RATE_88200 | | ||
2356 | SNDRV_PCM_RATE_96000, | ||
2357 | .rate_min = 44100, | ||
2358 | .rate_max = 96000, | ||
2359 | .nr_rates = 4, | ||
2360 | .rate_table = (unsigned int[]) { | ||
2361 | 44100, 48000, 88200, 96000 | ||
2362 | }, | ||
2363 | .clock = 0x80, | ||
2364 | } | ||
2365 | }, | ||
2366 | /* Capture */ | ||
2367 | { | ||
2368 | .ifnum = 3, | ||
2369 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, | ||
2370 | .data = &(const struct audioformat) { | ||
2371 | .formats = SNDRV_PCM_FMTBIT_S24_3LE, | ||
2372 | .channels = 6, | ||
2373 | .iface = 3, | ||
2374 | .altsetting = 1, | ||
2375 | .altset_idx = 1, | ||
2376 | .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, | ||
2377 | .endpoint = 0x81, | ||
2378 | .ep_attr = 0x05, | ||
2379 | .rates = SNDRV_PCM_RATE_44100 | | ||
2380 | SNDRV_PCM_RATE_48000 | | ||
2381 | SNDRV_PCM_RATE_88200 | | ||
2382 | SNDRV_PCM_RATE_96000, | ||
2383 | .rate_min = 44100, | ||
2384 | .rate_max = 96000, | ||
2385 | .nr_rates = 4, | ||
2386 | .rate_table = (unsigned int[]) { | ||
2387 | 44100, 48000, 88200, 96000 | ||
2388 | }, | ||
2389 | .clock = 0x80, | ||
2390 | } | ||
2391 | }, | ||
2392 | /* MIDI */ | ||
2393 | { | ||
2394 | .ifnum = -1 /* Interface = 4 */ | ||
2395 | } | ||
2396 | } | ||
2397 | } | ||
2398 | }, | ||
2399 | { | ||
2329 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080), | 2400 | USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080), |
2330 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { | 2401 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
2331 | /* .vendor_name = "M-Audio", */ | 2402 | /* .vendor_name = "M-Audio", */ |