diff options
author | Oto Petřík <oto.petrik@gmail.com> | 2012-09-24 08:25:04 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-10-08 09:16:33 -0400 |
commit | 613769fcab26a91de52a5d4bd4d116b087e8ac17 (patch) | |
tree | 5f1e3986bc6054ece99e9be67ac506e6ef1057e0 /sound/usb | |
parent | 7ff34ad80b7080fafaac8efa9ef0061708eddd51 (diff) |
ALSA: usb-audio: Add TASCAM US122 MKII playback
Added quirk to provide at least playback-only support.
Signed-off-by: Oto Petrik <oto.petrik@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/quirks-table.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index d73ac9bc4272..88d8cebbb244 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h | |||
@@ -2780,6 +2780,52 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
2780 | 2780 | ||
2781 | } | 2781 | } |
2782 | }, | 2782 | }, |
2783 | { | ||
2784 | /* Tascam US122 MKII - playback-only support */ | ||
2785 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE, | ||
2786 | .idVendor = 0x0644, | ||
2787 | .idProduct = 0x8021, | ||
2788 | .bInterfaceClass = USB_CLASS_AUDIO, | ||
2789 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2790 | .vendor_name = "TASCAM", | ||
2791 | .product_name = "US122 MKII", | ||
2792 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2793 | .type = QUIRK_COMPOSITE, | ||
2794 | .data = (const struct snd_usb_audio_quirk[]) { | ||
2795 | { | ||
2796 | .ifnum = 0, | ||
2797 | .type = QUIRK_IGNORE_INTERFACE | ||
2798 | }, | ||
2799 | { | ||
2800 | .ifnum = 1, | ||
2801 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, | ||
2802 | .data = &(const struct audioformat) { | ||
2803 | .formats = SNDRV_PCM_FMTBIT_S24_3LE, | ||
2804 | .channels = 2, | ||
2805 | .iface = 1, | ||
2806 | .altsetting = 1, | ||
2807 | .altset_idx = 1, | ||
2808 | .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, | ||
2809 | .endpoint = 0x02, | ||
2810 | .ep_attr = USB_ENDPOINT_XFER_ISOC, | ||
2811 | .rates = SNDRV_PCM_RATE_44100 | | ||
2812 | SNDRV_PCM_RATE_48000 | | ||
2813 | SNDRV_PCM_RATE_88200 | | ||
2814 | SNDRV_PCM_RATE_96000, | ||
2815 | .rate_min = 44100, | ||
2816 | .rate_max = 96000, | ||
2817 | .nr_rates = 4, | ||
2818 | .rate_table = (unsigned int[]) { | ||
2819 | 44100, 48000, 88200, 96000 | ||
2820 | } | ||
2821 | } | ||
2822 | }, | ||
2823 | { | ||
2824 | .ifnum = -1 | ||
2825 | } | ||
2826 | } | ||
2827 | } | ||
2828 | }, | ||
2783 | 2829 | ||
2784 | /* Microsoft XboxLive Headset/Xbox Communicator */ | 2830 | /* Microsoft XboxLive Headset/Xbox Communicator */ |
2785 | { | 2831 | { |