diff options
-rw-r--r-- | sound/usb/usbquirks.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h index e691eba6a83e..fc1d2cd6ccc3 100644 --- a/sound/usb/usbquirks.h +++ b/sound/usb/usbquirks.h | |||
@@ -2215,6 +2215,51 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
2215 | } | 2215 | } |
2216 | }, | 2216 | }, |
2217 | 2217 | ||
2218 | /* Digidesign Mbox */ | ||
2219 | { | ||
2220 | /* Thanks to Clemens Ladisch <clemens@ladisch.de> */ | ||
2221 | USB_DEVICE(0x0dba, 0x1000), | ||
2222 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2223 | .vendor_name = "Digidesign", | ||
2224 | .product_name = "MBox", | ||
2225 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2226 | .type = QUIRK_COMPOSITE, | ||
2227 | .data = (const struct snd_usb_audio_quirk[]){ | ||
2228 | { | ||
2229 | .ifnum = 0, | ||
2230 | .type = QUIRK_IGNORE_INTERFACE, | ||
2231 | }, | ||
2232 | { | ||
2233 | .ifnum = 1, | ||
2234 | .type = QUIRK_AUDIO_FIXED_ENDPOINT, | ||
2235 | .data = &(const struct audioformat) { | ||
2236 | .format = SNDRV_PCM_FORMAT_S24_3BE, | ||
2237 | .channels = 2, | ||
2238 | .iface = 1, | ||
2239 | .altsetting = 1, | ||
2240 | .altset_idx = 1, | ||
2241 | .attributes = EP_CS_ATTR_SAMPLE_RATE, | ||
2242 | .endpoint = 0x02, | ||
2243 | .ep_attr = 0x01, | ||
2244 | .maxpacksize = 0x130, | ||
2245 | .rates = SNDRV_PCM_RATE_44100 | | ||
2246 | SNDRV_PCM_RATE_48000, | ||
2247 | .rate_min = 44100, | ||
2248 | .rate_max = 48000, | ||
2249 | .nr_rates = 2, | ||
2250 | .rate_table = (unsigned int[]) { | ||
2251 | 44100, 48000 | ||
2252 | } | ||
2253 | } | ||
2254 | }, | ||
2255 | { | ||
2256 | .ifnum = -1 | ||
2257 | } | ||
2258 | } | ||
2259 | |||
2260 | } | ||
2261 | }, | ||
2262 | |||
2218 | { | 2263 | { |
2219 | /* | 2264 | /* |
2220 | * Some USB MIDI devices don't have an audio control interface, | 2265 | * Some USB MIDI devices don't have an audio control interface, |