All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Walter Weber <walter.weber@rwth-aachen.de>
Cc: <linux-sound@vger.kernel.org>, "Geoffrey D . Bennett" <g@b4.vu>,
	<stable@vger.kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	Vasiliy Kovalev <kovalev@altlinux.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ALSA: usb-audio: Fix Scarlett 8i6 Gen 1 router source numbering
Date: Mon, 19 Oct 2026 10:40:55 +0200	[thread overview]
Message-ID: <87h5iiaxrc.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261018112012.41807-1-walter.weber@rwth-aachen.de>

On Sun, 18 Oct 2026 13:20:09 +0200,
Walter Weber wrote:
> 
> The router source numbering in s8i6_info is identical to the 6i6 entry
> and was never verified on hardware (it is marked "untested..."). On a
> Scarlett 8i6 1st Gen everything after the analog inputs is off by two:
> 
>   - "SPDIF 1/2" select values 16/17, which carry no signal;
>   - "Mix A/B" select values 18/19, which are the actual S/PDIF inputs;
>   - "Mix C-F" select the actual Mix A-D, and Mix E/F cannot be
>     selected at all;
>   - the matrix inputs cannot be fed from S/PDIF.
> 
> The real numbering was measured on the device by routing known signals
> (PCM test tones, mixes with distinct gains, an S/PDIF out-to-in
> loopback) and checking which source value arrives in the capture
> stream:
> 
>   PCM 1-12      0-11
>   Analog 1-4   12-15
>   (no signal)  16-17
>   S/PDIF 1-2   18-19
>   Mix A-F      20-25
> 
> Correct the offsets and enum lengths accordingly, and update the
> (currently unused) matrix_mux_init table to match. Values 16/17
> remain as placeholders (shown as "Analog 5/6") since the enum maps
> items to source values linearly.
> 
> The 6i6 entry uses the same layout and is also marked untested. It is
> left unchanged since I have no 6i6 to verify it.
> 
> Tested on a Scarlett 8i6 1st Gen (bcdDevice 2.60) with v7.2.11.
> 
> Fixes: 76b188c4b370 ("ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20")
> Cc: stable@vger.kernel.org
> Signed-off-by: Walter Weber <walter.weber@rwth-aachen.de>

Applied now.  Thanks.


Takashi

      reply	other threads:[~2026-10-19  8:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-18 11:20 [PATCH] ALSA: usb-audio: Fix Scarlett 8i6 Gen 1 router source numbering Walter Weber
2026-10-19  8:40 ` Takashi Iwai [this message]

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=87h5iiaxrc.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=g@b4.vu \
    --cc=kovalev@altlinux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=stable@vger.kernel.org \
    --cc=tiwai@suse.com \
    --cc=walter.weber@rwth-aachen.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.