diff options
Diffstat (limited to 'sound/usb/usbquirks.h')
-rw-r--r-- | sound/usb/usbquirks.h | 145 |
1 files changed, 114 insertions, 31 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h index 406b74b65ffb..e691eba6a83e 100644 --- a/sound/usb/usbquirks.h +++ b/sound/usb/usbquirks.h | |||
@@ -1266,37 +1266,6 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
1266 | } | 1266 | } |
1267 | } | 1267 | } |
1268 | }, | 1268 | }, |
1269 | /* Roland UA-101 in High-Speed Mode only */ | ||
1270 | { | ||
1271 | USB_DEVICE(0x0582, 0x007d), | ||
1272 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { | ||
1273 | .vendor_name = "Roland", | ||
1274 | .product_name = "UA-101", | ||
1275 | .ifnum = QUIRK_ANY_INTERFACE, | ||
1276 | .type = QUIRK_COMPOSITE, | ||
1277 | .data = (const struct snd_usb_audio_quirk[]) { | ||
1278 | { | ||
1279 | .ifnum = 0, | ||
1280 | .type = QUIRK_AUDIO_EDIROL_UA101 | ||
1281 | }, | ||
1282 | { | ||
1283 | .ifnum = 1, | ||
1284 | .type = QUIRK_AUDIO_EDIROL_UA101 | ||
1285 | }, | ||
1286 | { | ||
1287 | .ifnum = 2, | ||
1288 | .type = QUIRK_MIDI_FIXED_ENDPOINT, | ||
1289 | .data = & (const struct snd_usb_midi_endpoint_info) { | ||
1290 | .out_cables = 0x0001, | ||
1291 | .in_cables = 0x0001 | ||
1292 | } | ||
1293 | }, | ||
1294 | { | ||
1295 | .ifnum = -1 | ||
1296 | } | ||
1297 | } | ||
1298 | } | ||
1299 | }, | ||
1300 | { | 1269 | { |
1301 | /* has ID 0x0081 when not in "Advanced Driver" mode */ | 1270 | /* has ID 0x0081 when not in "Advanced Driver" mode */ |
1302 | USB_DEVICE(0x0582, 0x0080), | 1271 | USB_DEVICE(0x0582, 0x0080), |
@@ -2132,6 +2101,120 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
2132 | } | 2101 | } |
2133 | }, | 2102 | }, |
2134 | 2103 | ||
2104 | /* Hauppauge HVR-950Q and HVR-850 */ | ||
2105 | { | ||
2106 | USB_DEVICE_VENDOR_SPEC(0x2040, 0x7200), | ||
2107 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | | ||
2108 | USB_DEVICE_ID_MATCH_INT_CLASS | | ||
2109 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, | ||
2110 | .bInterfaceClass = USB_CLASS_AUDIO, | ||
2111 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL, | ||
2112 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2113 | .vendor_name = "Hauppauge", | ||
2114 | .product_name = "HVR-950Q", | ||
2115 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2116 | .type = QUIRK_AUDIO_ALIGN_TRANSFER, | ||
2117 | } | ||
2118 | }, | ||
2119 | { | ||
2120 | USB_DEVICE_VENDOR_SPEC(0x2040, 0x7201), | ||
2121 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | | ||
2122 | USB_DEVICE_ID_MATCH_INT_CLASS | | ||
2123 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, | ||
2124 | .bInterfaceClass = USB_CLASS_AUDIO, | ||
2125 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL, | ||
2126 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2127 | .vendor_name = "Hauppauge", | ||
2128 | .product_name = "HVR-950Q", | ||
2129 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2130 | .type = QUIRK_AUDIO_ALIGN_TRANSFER, | ||
2131 | } | ||
2132 | }, | ||
2133 | { | ||
2134 | USB_DEVICE_VENDOR_SPEC(0x2040, 0x7202), | ||
2135 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | | ||
2136 | USB_DEVICE_ID_MATCH_INT_CLASS | | ||
2137 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, | ||
2138 | .bInterfaceClass = USB_CLASS_AUDIO, | ||
2139 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL, | ||
2140 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2141 | .vendor_name = "Hauppauge", | ||
2142 | .product_name = "HVR-950Q", | ||
2143 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2144 | .type = QUIRK_AUDIO_ALIGN_TRANSFER, | ||
2145 | } | ||
2146 | }, | ||
2147 | { | ||
2148 | USB_DEVICE_VENDOR_SPEC(0x2040, 0x7203), | ||
2149 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | | ||
2150 | USB_DEVICE_ID_MATCH_INT_CLASS | | ||
2151 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, | ||
2152 | .bInterfaceClass = USB_CLASS_AUDIO, | ||
2153 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL, | ||
2154 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2155 | .vendor_name = "Hauppauge", | ||
2156 | .product_name = "HVR-950Q", | ||
2157 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2158 | .type = QUIRK_AUDIO_ALIGN_TRANSFER, | ||
2159 | } | ||
2160 | }, | ||
2161 | { | ||
2162 | USB_DEVICE_VENDOR_SPEC(0x2040, 0x7204), | ||
2163 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | | ||
2164 | USB_DEVICE_ID_MATCH_INT_CLASS | | ||
2165 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, | ||
2166 | .bInterfaceClass = USB_CLASS_AUDIO, | ||
2167 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL, | ||
2168 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2169 | .vendor_name = "Hauppauge", | ||
2170 | .product_name = "HVR-950Q", | ||
2171 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2172 | .type = QUIRK_AUDIO_ALIGN_TRANSFER, | ||
2173 | } | ||
2174 | }, | ||
2175 | { | ||
2176 | USB_DEVICE_VENDOR_SPEC(0x2040, 0x7205), | ||
2177 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | | ||
2178 | USB_DEVICE_ID_MATCH_INT_CLASS | | ||
2179 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, | ||
2180 | .bInterfaceClass = USB_CLASS_AUDIO, | ||
2181 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL, | ||
2182 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2183 | .vendor_name = "Hauppauge", | ||
2184 | .product_name = "HVR-950Q", | ||
2185 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2186 | .type = QUIRK_AUDIO_ALIGN_TRANSFER, | ||
2187 | } | ||
2188 | }, | ||
2189 | { | ||
2190 | USB_DEVICE_VENDOR_SPEC(0x2040, 0x7250), | ||
2191 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | | ||
2192 | USB_DEVICE_ID_MATCH_INT_CLASS | | ||
2193 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, | ||
2194 | .bInterfaceClass = USB_CLASS_AUDIO, | ||
2195 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL, | ||
2196 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2197 | .vendor_name = "Hauppauge", | ||
2198 | .product_name = "HVR-950Q", | ||
2199 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2200 | .type = QUIRK_AUDIO_ALIGN_TRANSFER, | ||
2201 | } | ||
2202 | }, | ||
2203 | { | ||
2204 | USB_DEVICE_VENDOR_SPEC(0x2040, 0x7230), | ||
2205 | .match_flags = USB_DEVICE_ID_MATCH_DEVICE | | ||
2206 | USB_DEVICE_ID_MATCH_INT_CLASS | | ||
2207 | USB_DEVICE_ID_MATCH_INT_SUBCLASS, | ||
2208 | .bInterfaceClass = USB_CLASS_AUDIO, | ||
2209 | .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL, | ||
2210 | .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { | ||
2211 | .vendor_name = "Hauppauge", | ||
2212 | .product_name = "HVR-850", | ||
2213 | .ifnum = QUIRK_ANY_INTERFACE, | ||
2214 | .type = QUIRK_AUDIO_ALIGN_TRANSFER, | ||
2215 | } | ||
2216 | }, | ||
2217 | |||
2135 | { | 2218 | { |
2136 | /* | 2219 | /* |
2137 | * Some USB MIDI devices don't have an audio control interface, | 2220 | * Some USB MIDI devices don't have an audio control interface, |