Skip to content

ALSA: scarlett2: Add "Standalone" switch

Geoffrey D. Bennett alsa-devel 1 version Applied

Status from this message: Thanks, applied both patches now.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ALSA: scarlett2: Split scarlett2_config_items[] into 3 sectionssound/usb/mixer_scarlett_gen2.c+51 -230 replies
2/2ALSA: scarlett2: Add support for the internal "standalone" switchsound/usb/mixer_scarlett_gen2.c+90 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ALSA: scarlett2: Add "Standalone" switch

Hi Takashi,

I discovered an internal "standalone" switch on all the Scarlett Gen 2/3 interfaces with internal mixers. After enabling this switch, the interface will act as a standalone mixer (according to its previous configuration) when not connected to a USB host. The interfaces come from the factory with the switch off, and the vendor driver enables it without question. This patch adds a new ALSA control to set the switch on or off.

This is the first configuration item that is common between the Gen 2 and 3 interfaces but with a different offset, so the patch is in two parts. The first patch allows for the same configuration item to have a different offset between Gen 2/3 and the second patch adds the new switch.

Regards,
Geoffrey.

Geoffrey D. Bennett (2):
ALSA: scarlett2: Split scarlett2_config_items[] into 3 sections
ALSA: scarlett2: Add support for the internal "standalone" switch

 sound/usb/mixer_scarlett_gen2.c | 171 ++++++++++++++++++++++++++------
 1 file changed, 141 insertions(+), 30 deletions(-)
Signature · 1 line
2.35.1