From: Takashi Iwai <tiwai@suse.de>
To: Jegor van Opdorp <derusproductions@gmail.com>
Cc: "tiwai@suse.com" <tiwai@suse.com>,
"perex@perex.cz" <perex@perex.cz>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: usb-audio: add mixer support for Focusrite Forte
Date: Fri, 23 Jan 2026 12:47:23 +0100 [thread overview]
Message-ID: <87bjikft4k.wl-tiwai@suse.de> (raw)
In-Reply-To: <CA+Uo-nRZn7fQGWghC4nHVbEtyi4Wf0-z1okZX6hdWnYN2q_qag@mail.gmail.com>
On Thu, 22 Jan 2026 19:42:16 +0100,
Jegor van Opdorp wrote:
>
>
> Hi,
>
> Please find attached a patch adding mixer support for the Focusrite Forte (USB
> ID 1235:8010).
>
> This adds Forte-specific controls (source select, HPF, phantom, phase, pad,
> gain) in the Scarlett mixer driver and hooks the device up in the USB mixer
> quirk table.
>
> Credit: this work builds on prior reverse-engineering / device work from:
>
> https://github.com/alastair-dm/forte-mixer
>
> Current development work/reference:
>
> https://github.com/jopdorp/forte-mixer
> (Links are also included via Link: tags in the commit message.)
>
> Related project PR for gui:
> https://github.com/geoffreybennett/alsa-scarlett-gui/pull/213
Could you rather put those useful info in the patch description?
About the code changes, it looks almost fine, just some minor
nitpicks:
> @@ -172,6 +178,8 @@ struct scarlett_device_info {
> int input_len;
> int output_len;
>
> + int has_output_source_routing; /* 1 if device has L/R source routing */
Better to be bool?
> +static int forte_ctl_switch_info(struct snd_kcontrol *kctl,
> + struct snd_ctl_elem_info *uinfo)
> +{
> + uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN;
> + uinfo->count = 1;
> + uinfo->value.integer.min = 0;
> + uinfo->value.integer.max = 1;
> + return 0;
> +}
You can use snd_ctl_boolean_mono_info() instead.
thanks,
Takashi
next prev parent reply other threads:[~2026-01-23 11:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-22 18:42 [PATCH] ALSA: usb-audio: add mixer support for Focusrite Forte Jegor van Opdorp
2026-01-23 11:47 ` Takashi Iwai [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-01-27 8:08 Jegor van Opdorp
2026-01-27 8:12 Jegor van Opdorp
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=87bjikft4k.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=derusproductions@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--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