diff options
author | Hans P. Möller Ebner <hmoller@uc.cl> | 2017-09-19 11:45:34 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-09-19 16:11:36 -0400 |
commit | 729fbfc92a4563405f3962051e7b25fec3a7bd10 (patch) | |
tree | a20d8b62220ad3b00ec9897d7db45a910187571c /sound/usb/line6 | |
parent | 38405834a6abdf2a644c1384b97d8f0cca769350 (diff) |
ALSA: line6: add support for POD HD DESKTOP
Add support for the Line6 POD HD500X multi effect processor for playback
and capture (in/out audio) through USB.
Signed-off-by: Hans P. Moller <hmoller@uc.cl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6')
-rw-r--r-- | sound/usb/line6/podhd.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sound/usb/line6/podhd.c b/sound/usb/line6/podhd.c index 956f847a96e4..acb2170fdc12 100644 --- a/sound/usb/line6/podhd.c +++ b/sound/usb/line6/podhd.c | |||
@@ -39,7 +39,8 @@ enum { | |||
39 | LINE6_PODHD500_1, | 39 | LINE6_PODHD500_1, |
40 | LINE6_PODX3, | 40 | LINE6_PODX3, |
41 | LINE6_PODX3LIVE, | 41 | LINE6_PODX3LIVE, |
42 | LINE6_PODHD500X | 42 | LINE6_PODHD500X, |
43 | LINE6_PODHDDESKTOP | ||
43 | }; | 44 | }; |
44 | 45 | ||
45 | struct usb_line6_podhd { | 46 | struct usb_line6_podhd { |
@@ -377,6 +378,7 @@ static const struct usb_device_id podhd_id_table[] = { | |||
377 | { LINE6_IF_NUM(0x414A, 0), .driver_info = LINE6_PODX3 }, | 378 | { LINE6_IF_NUM(0x414A, 0), .driver_info = LINE6_PODX3 }, |
378 | { LINE6_IF_NUM(0x414B, 0), .driver_info = LINE6_PODX3LIVE }, | 379 | { LINE6_IF_NUM(0x414B, 0), .driver_info = LINE6_PODX3LIVE }, |
379 | { LINE6_IF_NUM(0x4159, 0), .driver_info = LINE6_PODHD500X }, | 380 | { LINE6_IF_NUM(0x4159, 0), .driver_info = LINE6_PODHD500X }, |
381 | { LINE6_IF_NUM(0x4156, 0), .driver_info = LINE6_PODHDDESKTOP }, | ||
380 | {} | 382 | {} |
381 | }; | 383 | }; |
382 | 384 | ||
@@ -463,6 +465,18 @@ static const struct line6_properties podhd_properties_table[] = { | |||
463 | .ep_audio_r = 0x86, | 465 | .ep_audio_r = 0x86, |
464 | .ep_audio_w = 0x02, | 466 | .ep_audio_w = 0x02, |
465 | }, | 467 | }, |
468 | [LINE6_PODHDDESKTOP] = { | ||
469 | .id = "PODHDDESKTOP", | ||
470 | .name = "POD HDDESKTOP", | ||
471 | .capabilities = LINE6_CAP_CONTROL | ||
472 | | LINE6_CAP_PCM | LINE6_CAP_HWMON, | ||
473 | .altsetting = 1, | ||
474 | .ep_ctrl_r = 0x81, | ||
475 | .ep_ctrl_w = 0x01, | ||
476 | .ctrl_if = 1, | ||
477 | .ep_audio_r = 0x86, | ||
478 | .ep_audio_w = 0x02, | ||
479 | }, | ||
466 | }; | 480 | }; |
467 | 481 | ||
468 | /* | 482 | /* |