mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jonathan Seth Mainguy <jon@soh.re>
To: linux-sound@vger.kernel.org
Cc: perex@perex.cz, tiwai@suse.com, niklas@aldervall.se,
	linux-kernel@vger.kernel.org, Jonathan Seth Mainguy <jon@soh.re>
Subject: [PATCH 2/4] ALSA: usb-audio: expose OCTA-CAPTURE control MIDI cables
Date: Fri, 28 Aug 2026 20:49:59 -0400	[thread overview]
Message-ID: <20260829005001.534571-3-jon@soh.re> (raw)
In-Reply-To: <20260829005001.534571-1-jon@soh.re>

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 <jon@soh.re>
---
 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


  parent reply	other threads:[~2026-08-29  0:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-29  0:49 [PATCH 0/4] ALSA: usb-audio: support Roland Capture sample rates Jonathan Seth Mainguy
2026-08-29  0:49 ` [PATCH 1/4] ALSA: usb-audio: add Roland OCTA-CAPTURE multirate support Jonathan Seth Mainguy
2026-08-29  0:49 ` Jonathan Seth Mainguy [this message]
2026-08-29  0:50 ` [PATCH 3/4] ALSA: usb-audio: add Roland QUAD-CAPTURE " Jonathan Seth Mainguy
2026-08-29  0:50 ` [PATCH 4/4] ALSA: usb-audio: set Roland Capture rate during stream preparation Jonathan Seth Mainguy
2026-08-31  8:30 ` [PATCH 0/4] ALSA: usb-audio: support Roland Capture sample rates Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260829005001.534571-3-jon@soh.re \
    --to=jon@soh.re \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=niklas@aldervall.se \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®