Commit c039aaa7 authored by Andrej Krutak's avatar Andrej Krutak Committed by Takashi Iwai

ALSA: line6: Add support for POD X3 Live (only USB ID differs from POD X3)

Signed-off-by: default avatarAndrej Krutak <dev@andree.sk>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 790869da
...@@ -37,6 +37,7 @@ enum { ...@@ -37,6 +37,7 @@ enum {
LINE6_PODHD500_0, LINE6_PODHD500_0,
LINE6_PODHD500_1, LINE6_PODHD500_1,
LINE6_PODX3, LINE6_PODX3,
LINE6_PODX3LIVE
}; };
struct usb_line6_podhd { struct usb_line6_podhd {
...@@ -348,6 +349,7 @@ static const struct usb_device_id podhd_id_table[] = { ...@@ -348,6 +349,7 @@ static const struct usb_device_id podhd_id_table[] = {
{ LINE6_IF_NUM(0x414D, 0), .driver_info = LINE6_PODHD500_0 }, { LINE6_IF_NUM(0x414D, 0), .driver_info = LINE6_PODHD500_0 },
{ LINE6_IF_NUM(0x414D, 1), .driver_info = LINE6_PODHD500_1 }, { LINE6_IF_NUM(0x414D, 1), .driver_info = LINE6_PODHD500_1 },
{ LINE6_IF_NUM(0x414A, 0), .driver_info = LINE6_PODX3 }, { LINE6_IF_NUM(0x414A, 0), .driver_info = LINE6_PODX3 },
{ LINE6_IF_NUM(0x414B, 0), .driver_info = LINE6_PODX3LIVE },
{} {}
}; };
...@@ -409,6 +411,17 @@ static const struct line6_properties podhd_properties_table[] = { ...@@ -409,6 +411,17 @@ static const struct line6_properties podhd_properties_table[] = {
.ep_audio_r = 0x86, .ep_audio_r = 0x86,
.ep_audio_w = 0x02, .ep_audio_w = 0x02,
}, },
[LINE6_PODX3LIVE] = {
.id = "PODX3LIVE",
.name = "POD X3 LIVE",
.capabilities = LINE6_CAP_CONTROL
| LINE6_CAP_PCM | LINE6_CAP_HWMON | LINE6_CAP_IN_NEEDS_OUT,
.altsetting = 1,
.ep_ctrl_r = 0x81,
.ep_ctrl_w = 0x01,
.ep_audio_r = 0x86,
.ep_audio_w = 0x02,
},
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment