ALSA: line6: Distinguish device init (ctrl EP) and MIDI data transfer (int EP)
POD X3 can initialize similarly to older PODs, but it doesn't have the MIDI interface. Instead, configuration is done via proprietary bulk EP messages. Signed-off-by: Andrej Krutak <dev@andree.sk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committed by
Takashi Iwai

parent
f56742cc41
commit
174e1fc0bf
@@ -475,6 +475,7 @@ static const struct line6_properties pod_properties_table[] = {
|
||||
.id = "BassPODxt",
|
||||
.name = "BassPODxt",
|
||||
.capabilities = LINE6_CAP_CONTROL
|
||||
| LINE6_CAP_CONTROL_MIDI
|
||||
| LINE6_CAP_PCM
|
||||
| LINE6_CAP_HWMON,
|
||||
.altsetting = 5,
|
||||
@@ -487,6 +488,7 @@ static const struct line6_properties pod_properties_table[] = {
|
||||
.id = "BassPODxtLive",
|
||||
.name = "BassPODxt Live",
|
||||
.capabilities = LINE6_CAP_CONTROL
|
||||
| LINE6_CAP_CONTROL_MIDI
|
||||
| LINE6_CAP_PCM
|
||||
| LINE6_CAP_HWMON,
|
||||
.altsetting = 1,
|
||||
@@ -499,6 +501,7 @@ static const struct line6_properties pod_properties_table[] = {
|
||||
.id = "BassPODxtPro",
|
||||
.name = "BassPODxt Pro",
|
||||
.capabilities = LINE6_CAP_CONTROL
|
||||
| LINE6_CAP_CONTROL_MIDI
|
||||
| LINE6_CAP_PCM
|
||||
| LINE6_CAP_HWMON,
|
||||
.altsetting = 5,
|
||||
@@ -510,7 +513,8 @@ static const struct line6_properties pod_properties_table[] = {
|
||||
[LINE6_POCKETPOD] = {
|
||||
.id = "PocketPOD",
|
||||
.name = "Pocket POD",
|
||||
.capabilities = LINE6_CAP_CONTROL,
|
||||
.capabilities = LINE6_CAP_CONTROL
|
||||
| LINE6_CAP_CONTROL_MIDI,
|
||||
.altsetting = 0,
|
||||
.ep_ctrl_r = 0x82,
|
||||
.ep_ctrl_w = 0x02,
|
||||
@@ -520,6 +524,7 @@ static const struct line6_properties pod_properties_table[] = {
|
||||
.id = "PODxt",
|
||||
.name = "PODxt",
|
||||
.capabilities = LINE6_CAP_CONTROL
|
||||
| LINE6_CAP_CONTROL_MIDI
|
||||
| LINE6_CAP_PCM
|
||||
| LINE6_CAP_HWMON,
|
||||
.altsetting = 5,
|
||||
@@ -532,6 +537,7 @@ static const struct line6_properties pod_properties_table[] = {
|
||||
.id = "PODxtLive",
|
||||
.name = "PODxt Live",
|
||||
.capabilities = LINE6_CAP_CONTROL
|
||||
| LINE6_CAP_CONTROL_MIDI
|
||||
| LINE6_CAP_PCM
|
||||
| LINE6_CAP_HWMON,
|
||||
.altsetting = 1,
|
||||
@@ -544,6 +550,7 @@ static const struct line6_properties pod_properties_table[] = {
|
||||
.id = "PODxtPro",
|
||||
.name = "PODxt Pro",
|
||||
.capabilities = LINE6_CAP_CONTROL
|
||||
| LINE6_CAP_CONTROL_MIDI
|
||||
| LINE6_CAP_PCM
|
||||
| LINE6_CAP_HWMON,
|
||||
.altsetting = 5,
|
||||
|
Reference in New Issue
Block a user