aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans P. Möller Ebner <hmoller@uc.cl>2017-06-16 14:14:16 -0400
committerTakashi Iwai <tiwai@suse.de>2017-06-20 01:51:13 -0400
commitc1d25075f4684a3a9a74e1668bdf147f879c5c3c (patch)
treefb3c5e68e0879197855cdd4fb0527f57488e08cd
parent35f8001415d301ba47124f463f98eee0e7d0792c (diff)
ALSA: line6: add support for POD HD500X
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>
-rw-r--r--sound/usb/line6/podhd.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/sound/usb/line6/podhd.c b/sound/usb/line6/podhd.c
index 6ab23e5aee71..e9b8122c4fe5 100644
--- a/sound/usb/line6/podhd.c
+++ b/sound/usb/line6/podhd.c
@@ -3,6 +3,7 @@
3 * 3 *
4 * Copyright (C) 2011 Stefan Hajnoczi <stefanha@gmail.com> 4 * Copyright (C) 2011 Stefan Hajnoczi <stefanha@gmail.com>
5 * Copyright (C) 2015 Andrej Krutak <dev@andree.sk> 5 * Copyright (C) 2015 Andrej Krutak <dev@andree.sk>
6 * Copyright (C) 2017 Hans P. Moller <hmoller@uc.cl>
6 * 7 *
7 * This program is free software; you can redistribute it and/or 8 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as 9 * modify it under the terms of the GNU General Public License as
@@ -37,7 +38,8 @@ enum {
37 LINE6_PODHD500_0, 38 LINE6_PODHD500_0,
38 LINE6_PODHD500_1, 39 LINE6_PODHD500_1,
39 LINE6_PODX3, 40 LINE6_PODX3,
40 LINE6_PODX3LIVE 41 LINE6_PODX3LIVE,
42 LINE6_PODHD500X
41}; 43};
42 44
43struct usb_line6_podhd { 45struct usb_line6_podhd {
@@ -372,6 +374,7 @@ static const struct usb_device_id podhd_id_table[] = {
372 { LINE6_IF_NUM(0x414D, 1), .driver_info = LINE6_PODHD500_1 }, 374 { LINE6_IF_NUM(0x414D, 1), .driver_info = LINE6_PODHD500_1 },
373 { LINE6_IF_NUM(0x414A, 0), .driver_info = LINE6_PODX3 }, 375 { LINE6_IF_NUM(0x414A, 0), .driver_info = LINE6_PODX3 },
374 { LINE6_IF_NUM(0x414B, 0), .driver_info = LINE6_PODX3LIVE }, 376 { LINE6_IF_NUM(0x414B, 0), .driver_info = LINE6_PODX3LIVE },
377 { LINE6_IF_NUM(0x4159, 0), .driver_info = LINE6_PODHD500X },
375 {} 378 {}
376}; 379};
377 380
@@ -446,6 +449,18 @@ static const struct line6_properties podhd_properties_table[] = {
446 .ep_audio_r = 0x86, 449 .ep_audio_r = 0x86,
447 .ep_audio_w = 0x02, 450 .ep_audio_w = 0x02,
448 }, 451 },
452 [LINE6_PODHD500X] = {
453 .id = "PODHD500X",
454 .name = "POD HD500X",
455 .capabilities = LINE6_CAP_CONTROL
456 | LINE6_CAP_PCM | LINE6_CAP_HWMON,
457 .altsetting = 1,
458 .ep_ctrl_r = 0x81,
459 .ep_ctrl_w = 0x01,
460 .ctrl_if = 1,
461 .ep_audio_r = 0x86,
462 .ep_audio_w = 0x02,
463 },
449}; 464};
450 465
451/* 466/*