[PATCH 2/4] ALSA: usb-audio: expose OCTA-CAPTURE control MIDI cables
Jonathan Seth Mainguy <[email protected]>
| Newsgroups | gmane.linux.sound,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
The OCTA-CAPTURE uses cable 0 for MIDI. Control requests use cable 2, and replies use cable 1. Expose output cables 0 and 2 with mask 0x0005, and input cables 0 and 1 with mask 0x0003. Tested on a physical OCTA-CAPTURE. Control requests sent on cable 2 received matching readback replies on cable 1, while cable 0 remained available for MIDI. Signed-off-by: Jonathan Seth Mainguy <[email protected]> --- sound/usb/quirks-table.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index ef618a0f18d3..35eef9cf834b 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -1363,8 +1363,8 @@ YAMAHA_DEVICE(0x7010, "UB99"), }, { QUIRK_DATA_MIDI_FIXED_ENDPOINT(2) { - .out_cables = 0x0001, - .in_cables = 0x0001 + .out_cables = 0x0005, + .in_cables = 0x0003 } }, { QUIRK_DATA_IGNORE(3) }, -- 2.55.0