diff options
author | Carlo Beccaria <carlo@beccaria.org> | 2007-07-03 02:04:25 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-07-20 05:11:40 -0400 |
commit | 87823090a8bd373f34bdb6f1d5cdc5f2f4da4905 (patch) | |
tree | 9853057817d373e9627141940aadb0ba3fbc8c1f | |
parent | df802952b723cdb08f2f8a3cba396c357290850b (diff) |
[ALSA] usb-audio: add Roland SH-201 support
Add quirks to detect the Roland SH-201.
Signed-off-by: Carlo Beccaria <carlo@beccaria.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r-- | sound/usb/usbquirks.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h index 59f07e874e52..9274baf69901 100644 --- a/sound/usb/usbquirks.h +++ b/sound/usb/usbquirks.h | |||
@@ -1239,6 +1239,37 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
1239 | } | 1239 | } |
1240 | }, | 1240 | }, |
1241 | /* TODO: add Edirol MD-P1 support */ | 1241 | /* TODO: add Edirol MD-P1 support */ |
1242 | { | ||
1243 | /* Roland SH-201 */ | ||
1244 | USB_DEVICE(0x0582, 0x00ad), | ||
1245 | .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { | ||
1246 | .vendor_name = "Roland", | ||
1247 | .product_name = "SH-201", | ||
1248 | .ifnum = QUIRK_ANY_INTERFACE, | ||
1249 | .type = QUIRK_COMPOSITE, | ||
1250 | .data = (const struct snd_usb_audio_quirk[]) { | ||
1251 | { | ||
1252 | .ifnum = 0, | ||
1253 | .type = QUIRK_AUDIO_STANDARD_INTERFACE | ||
1254 | }, | ||
1255 | { | ||
1256 | .ifnum = 1, | ||
1257 | .type = QUIRK_AUDIO_STANDARD_INTERFACE | ||
1258 | }, | ||
1259 | { | ||
1260 | .ifnum = 2, | ||
1261 | .type = QUIRK_MIDI_FIXED_ENDPOINT, | ||
1262 | .data = & (const struct snd_usb_midi_endpoint_info) { | ||
1263 | .out_cables = 0x0001, | ||
1264 | .in_cables = 0x0001 | ||
1265 | } | ||
1266 | }, | ||
1267 | { | ||
1268 | .ifnum = -1 | ||
1269 | } | ||
1270 | } | ||
1271 | } | ||
1272 | }, | ||
1242 | 1273 | ||
1243 | /* Guillemot devices */ | 1274 | /* Guillemot devices */ |
1244 | { | 1275 | { |