diff options
author | Marko Friedemann <mfr@bmx-chemnitz.de> | 2012-09-03 04:12:40 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-09-03 04:14:25 -0400 |
commit | c05fce586d4da2dfe0309bef3795a8586e967bc3 (patch) | |
tree | b380b2034f8d489f88b47df03c9ff00f0892fc3f /sound | |
parent | 1f3b14072bacc80d62597ed7798e3daf7615dcc6 (diff) |
ALSA: USB: Support for (original) Xbox Communicator
Added support for Xbox Communicator to USB quirks.
Signed-off-by: Marko Friedemann <mfr@bmx-chemnitz.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/usb/quirks-table.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 79780fa57a43..d73ac9bc4272 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h | |||
@@ -2781,6 +2781,59 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
2781 | } | 2781 | } |
2782 | }, | 2782 | }, |
2783 | 2783 | ||
2784 | /* Microsoft XboxLive Headset/Xbox Communicator */ | ||
2785 | { | ||
2786 | USB_DEVICE(0x045e, 0x0283), | ||
2787 | .bInterfaceClass = USB_CLASS_PER_INTERFACE, | ||
2788 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2789 | .vendor_name = "Microsoft", | ||
2790 | .product_name = "XboxLive Headset/Xbox Communicator", | ||
2791 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2792 | .type = QUIRK_COMPOSITE, | ||
2793 | .data = &(const struct snd_usb_audio_quirk[]) { | ||
2794 | { | ||
2795 | /* playback */ | ||
2796 | .ifnum = 0, | ||
2797 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, | ||
2798 | .data = &(const struct audioformat) { | ||
2799 | .formats = SNDRV_PCM_FMTBIT_S16_LE, | ||
2800 | .channels = 1, | ||
2801 | .iface = 0, | ||
2802 | .altsetting = 0, | ||
2803 | .altset_idx = 0, | ||
2804 | .attributes = 0, | ||
2805 | .endpoint = 0x04, | ||
2806 | .ep_attr = 0x05, | ||
2807 | .rates = SNDRV_PCM_RATE_CONTINUOUS, | ||
2808 | .rate_min = 22050, | ||
2809 | .rate_max = 22050 | ||
2810 | } | ||
2811 | }, | ||
2812 | { | ||
2813 | /* capture */ | ||
2814 | .ifnum = 1, | ||
2815 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, | ||
2816 | .data = &(const struct audioformat) { | ||
2817 | .formats = SNDRV_PCM_FMTBIT_S16_LE, | ||
2818 | .channels = 1, | ||
2819 | .iface = 1, | ||
2820 | .altsetting = 0, | ||
2821 | .altset_idx = 0, | ||
2822 | .attributes = 0, | ||
2823 | .endpoint = 0x85, | ||
2824 | .ep_attr = 0x05, | ||
2825 | .rates = SNDRV_PCM_RATE_CONTINUOUS, | ||
2826 | .rate_min = 16000, | ||
2827 | .rate_max = 16000 | ||
2828 | } | ||
2829 | }, | ||
2830 | { | ||
2831 | .ifnum = -1 | ||
2832 | } | ||
2833 | } | ||
2834 | } | ||
2835 | }, | ||
2836 | |||
2784 | { | 2837 | { |
2785 | /* | 2838 | /* |
2786 | * Some USB MIDI devices don't have an audio control interface, | 2839 | * Some USB MIDI devices don't have an audio control interface, |