Skip to contentSkip to conversation

ALSA: line6: add support for POD HD DESKTOP

PATCH Applied Hans P. Möller Ebner 2 participants 4 messages Sep 19, 2017 – Nov 20, 2017 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 sound/usb/line6/podhd.c | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
sound/usb/line6/podhd.c +15 -1
index 956f847..ba4f71f 100644
@@ -39,7 +39,8 @@ enum {
 	LINE6_PODHD500_1,
 	LINE6_PODX3,
 	LINE6_PODX3LIVE,
-	LINE6_PODHD500X
+	LINE6_PODHD500X,
+	LINE6_PODHDDESKTOP
 };
 
 struct usb_line6_podhd {
@@ -377,6 +378,7 @@ static const struct usb_device_id podhd_id_table[] = {
 	{ LINE6_IF_NUM(0x414A, 0), .driver_info = LINE6_PODX3 },
 	{ LINE6_IF_NUM(0x414B, 0), .driver_info = LINE6_PODX3LIVE },
 	{ LINE6_IF_NUM(0x4159, 0), .driver_info = LINE6_PODHD500X },
+	{ LINE6_IF_NUM(0x4156, 0), .driver_info = LINE6_PODHDDESKTOP },
 	{}
 };
 
@@ -463,6 +465,18 @@ static const struct line6_properties podhd_properties_table[] = {
 		.ep_audio_r = 0x86,
 		.ep_audio_w = 0x02,
 	},
+	[LINE6_PODHDDESKTOP] = {
+		.id = "PODHDDESKTOP",
+		.name = "POD HDDESKTOP",
+		.capabilities    = LINE6_CAP_CONTROL
+			| LINE6_CAP_PCM | LINE6_CAP_HWMON,
+		.altsetting = 1,
+		.ep_ctrl_r = 0x81,
+		.ep_ctrl_w = 0x01,
+		.ctrl_if = 1,
+		.ep_audio_r = 0x86,
+		.ep_audio_w = 0x02,
+	},
 };
 
 /*
Signature · 1 line
2.7.4
#2 lore raw

Hi, since for Kernel 4.14 the source was changed for the timer issue, I need to resend the patches to apply over 4.14 or it's no need for that? thanks
brgds
HPM

Quoted 6 lines · Takashi Iwai
Quoted 4 lines · Hans P. Möller Ebner

Add support for the Line6 POD HD500X multi effect processor for playback and capture (in/out audio) through USB.

Quoted 7 lines
Quoted 1 line

Applied, thanks.

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw
Quoted 3 lines · Hans Peter Möller

Hi, since for Kernel 4.14 the source was changed for the timer issue, I need to resend the patches to apply over 4.14 or it's no need for that?

Don't worry, your change was already in Linus tree, included in 4.15-rc1.

Takashi

Quoted 4 lines

thanks
brgds
HPM

Quoted 15 lines
Quoted 13 lines · Takashi Iwai
Quoted 5 lines · Hans P. Möller Ebner

Add support for the Line6 POD HD500X multi effect processor for playback and capture (in/out audio) through USB.

Applied, thanks.

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel