From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.160.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796057103; b=1i3gUJb4ZUZ6vd64W6xu4vseKm70fripaepyu6T5CtTTQ2EyWBKGEaxpMBDPXnJNZzaX VNmWYsGQirF7/iY7VQuMHf/fG8kzdaJly0FVQwetBrYCiGzvxtwbkwtWzMViO/EZaN7x3 /DmxJnirIQM6OIMpduPZwM3BiO4g7wQveVXj99pAV90hzvh/6+stdVZIq3ojGt9rOHdLG Dc/yk9eZ1S1dbeamuovvRqt3NG4DKq+eDzPunNQNPaFETSzkQmjD4ZysuJWqrNzZgXpR1 n1zZo081O6bXKxskDEstwSNYF01DzjvfVa4fF5OsCrJZ1tm6g5wZLrY7f6okx01QxyQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796057103; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding; bh=EfX478jMdyNVX9vlrSdXyfEik5r8oUxgo3dS4XXAnvg=; b=WIeuC/AWJwKZF5HYRQxfTh5GD5zkFhC3uPj+FFYL361d3uBAWewExT7+MQXTr6OeVl5p W9PglKiZ1x8n2wjxklTJt/iijQ38shHHjWY05Uvg7eso4TndZBV5CIGRclWvN9oR56EpV KXOfCxHEseugwkwc6mICM+8VCgyJc4+bR4syZLerODTg+7LVUZYDEaTg0lTlR55dn2jdJ q/ju9NnXmCSNTmTfDXGX9mZOIY2b0OdtZn9d98EVhSAjvLpn7+/3rpb4wNKlYlNLlkQha qI73Su4RGPhlqHRgwJLiSYTmnv6FJUvOljUoJ/lO0NLuM83FmQQtKszHPhklOysmbrg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Saoc90G2; arc=none smtp.remote-ip=209.85.160.48 Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2981E606A31C for ; Mon, 30 Nov 2026 16:45:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2981E606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Saoc90G2 Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-486f013db83so3374476fac.0 for ; Mon, 30 Nov 2026 08:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796057102; x=1796661902; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=EfX478jMdyNVX9vlrSdXyfEik5r8oUxgo3dS4XXAnvg=; b=Saoc90G2vCsW5RmyNRKFix/Xs348i3BcT1eh4N0HLbkyqbNyZZ78gDRmCJfP9N2Pke nqmaOk9T0V9vi7QFzCr3utV0c3Qxw+t3oE07+vfkmTvxgM5qV+6e74dUoJmB1PykAimS HsOoTXLk6+Ym7CyEErQPVJUTQBmEwzNp4XclfQPKN4bL0q3c+bjCKlIHIeazKTwfRwoZ SvbecAzzvyVJbYgwv89O725PiteXkTvg2OoRuSsxnPYIpovAATcvMLjasYeJgqCMlG8G faIRX4ttn1qD2wDrbNsOc2yGt7gd9A/SuVaJmVW8ZC/mNWgXDaLadsWfPt/dh4pFvqrR VnQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796057102; x=1796661902; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=EfX478jMdyNVX9vlrSdXyfEik5r8oUxgo3dS4XXAnvg=; b=jSdlo+4HUKURjx1IJlR0pRBUbtAkiRgxgaWJUP/FMbffN05xm6JJjYlObJhisFGQ8X qcO/SIlEfVxuy5ekxGsiylFJ/Dq9wVjtbeN7RCcR/zkcnqykjtVkIwLXxeIuSTRvT6GD f6bD8ayU2uO7Ywa1GcCS014/FTV4Jpr7Y8fAYBWjCJ1VcBWhEqdUbjk/HQN5dEH3b4y5 SgzyoVRRoJ5zghtPB+T8kmNwIhw4Yzn5nBT1M+1REKkBBWDlCiVS/Wh3NsrojNmUDSvD XRYPDrlOqC/y5iSIVZtcg9XdYdq+iX4hHHZXrJHrtW0lAr1L46Fn+Mb017smOFhzTXl8 BTMA== X-Forwarded-Encrypted: i=1; AL+hErGLSSJTxYdi4MXOVboOaVb/SyAmk6AijDI1J0mbqHLEhqI+JYP8r2jp0KbTFdIXLy+ab7IdZPED09HuXQ==@vger.kernel.org X-Gm-Message-State: APuU4Z8SvY4R21Yk692PRUj5xwG70KT9afi7AZPKXZaNVMiRT5JJP1IS bDXzTHT9BqFBKkBTaJ8twFz5k4ZzsMtyEHW9qSLGP/AmRpkHi373rf31IV2agHmi X-Gm-Gg: AZFdTZfshhV40r4UPNkvScN8d18zvRq9ecNnXx9KYaLDn2iJ52PKA4tnbQT6BAgBIxA hqY1PW7IrA5wu/I3hQGJJEI8p3MdkqUixVYLE8W4kxnLb+1H8k7qrj8y5Onb3/Eiv3XTO2SN/jy 5mpRC6sS+dRiSmTXXwt0BmiUH6IJwU4SMagaP2WYxuRg2lGqjAGxyTIZnhnauK2WHFgLDwhqqCk fbz5ghA1V1yb8IKEpARhqJKio4Yok8t3ovspOVguPLqRfXk6nBqcKHa18grlFAzwcdPJm2lYDL2 YsfgQHsu0n4TxnZIzBabFCMJaf1VvLpXLiXe/sotUwftm6FFi9ASSJZHZxzvvDiqk2d7ongXKOi w3PbM6qoiwWCyh4FkZe61K2OrcqWcVeurU3AerRcTLOKcdqF6pD+/mpUZ7also4w9ANa+OmFRGa tZ+htJQ2v5/YqZHzak7aH81+KFBUQgR1NK+7kVUQwa7vh8n5s9DpYpgZG1VYKXPmUlpmlqpiAJq 32GyVpn3bhwYw6Ehmyg9B03wDmouoDDW5DW14/E8Ulr07Fx7wxU2T2X66qGDZbyKdXieVyWzzel ZlbpoMwlIDbLt55fS40e1mrbTjuy/YtgRPeQ4OZLYvklTTxrzLw3g+hhYajEBrdndd8= X-Received: by 2002:a05:6871:2985:b0:4ad:5c5e:5e78 with SMTP id 586e51a60fabf-4bc83b5b8e5mr26574990fac.36.1796057101990; Mon, 30 Nov 2026 08:45:01 -0800 (PST) Received: from localhost.localdomain ([2600:1702:4ff0:baa0:5054:ff:fe3d:4ddb]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4bc5f7ae7dcsm28002053fac.8.2026.11.30.08.45.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 08:45:01 -0800 (PST) From: Will Porter To: Takashi Iwai , Jaroslav Kysela Cc: Christian Ruppert , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Andrews , Nikita Tarasov Subject: [PATCH v2 00/21] ALSA: usb-audio: Audient driver and iD14 MkI support Date: Mon, 30 Nov 2026 10:44:07 -0600 Message-ID: <20261130164428.2930348-1-mrwillporter@gmail.com> X-Mailer: git-send-email 2.47.3 X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series makes mixer_evo, the EVO4 driver, the shared driver for Audient USB devices, and adds the Audient iD14 MkI (2708:0002) to it. - Patches 1 to 4 (Christian) are his four pending mixer_evo fixes, unchanged (see "Base" below). - Patches 5 to 15 (Christian) rename mixer_evo to mixer_audient and extend its control types. They add integer range checks, init at probe, write-only controls, a value cache in usb_mixer_elem_info and a matrix built from a name list. Patch 5 also renames the MAINTAINERS entry and adds me as a second maintainer. - Patches 16 and 17 (Will) add a step size for integer controls and add enumerated controls. - Patch 18 gives the iD14 MkI its own mixer map. The MkII keeps the shared one. - Patch 19 adds the iD14 MkI tables: monitor section, routing, mixer matrix and the write-only controls. - Patch 20 (Christian) merges the type-specific get and put into one get and one put. - Patch 21 replaces the generic FU 12 control of the iD14 MkI. GET CUR on that unit returns a reply buffer that the device shares with other units, so the control is a new type with GET_BROKEN. v1 was a separate driver for the iD14 MkI only: https://lore.kernel.org/r/20261019230159.834954-1-mrwillporter@gmail.com Christian and I then agreed to share one driver, and worked it out in RFC rounds on linux-sound. RFC V4: https://lore.kernel.org/r/20261115214336.17917-1-arc@gmx.li Changes since RFC V4: - Christian's four mixer_evo fixes are now patches 1 to 4. - I folded the changes from Christian's review of RFC V4 patches 12 to 16 into the patches they change. RFC V4 carried them as patch 17. - Patch 14: the channel bound check is ">=", and two comments now name GET_BROKEN. - Patch 20: the get sends no GET for channels at or above the number of hardware channels, as the type-specific gets did before. I also corrected its comment on -ENODATA. - Patch 21 combines RFC V4 patches 16 and 19 on top of the unified get and put, and adds GET_BROKEN to the FU 12 type. It now comes after patch 20. Patch 21 has my authorship and Christian's Co-developed-by and Signed-off-by: most of its code is from his RFC V4 patch 19. Tests: Christian tested RFC V4 and the changes above on an EVO4 on 7.3.4. I tested this version on an iD14 MkI, with the sound/usb directory of this series built for Linux 7.2.15: every control reads and writes as expected, and change events arrive as expected. Each patch builds on its own with W=1 without warnings. Base: sound for-next 486060b97284. Patches 1 to 4 are Christian's four mixer_evo fixes (Patchwork series 1193966, "ALSA: mixer_evo: minor fixes and tlv addition"), unchanged. They are not in for-next yet, so I carry them here and the series applies on its own. Not in this series (agreed with Christian, to follow later): - FU 12 as a plain integer control, with a mask of the channels that the driver must not write. - The EVO4 channels that are marked software-only are in fact read-only. The driver does not handle them as read-only yet. - A variable 0 to 10 dB mic boost on the iD14 MkI. This series keeps it a switch, because the iD14 documentation describes a fixed +10 dB boost. Tool use: I wrote the iD14 MkI patches and my changes to Christian's patches with an LLM coding assistant (Claude). I read and reviewed all of it, and I tested the series on the iD14 MkI. Earlier revisions carried Assisted-by tags; I removed them after commit 1e035297ffda ("docs: remove Assisted-by references"). Christian Ruppert (16): ALSA: mixer_evo: Remove double end marker device list ALSA: mixer_evo: Fix endianness of boolean inversion ALSA: mixer_evo: Add tlv for mixer channels ALSA: mixer_evo: Add missing snd_usb_lock calls ALSA: rename mixer_evo to mixer_audient ALSA: mixer_audient: explicitly define full control names ALSA: mixer_audient: clarify USB control message definition ALSA: mixer_audient: Add length check to USB transfer ALSA: mixer_audient: make USB control transfer size configurable ALSA: mixer_audient: Allow arbitrary boolean control values ALSA: mixer_audient: Add integer range checks ALSA: mixer_audient: Add control initialization at probe ALSA: mixer_audient: Add readback-free parameter set ALSA: mixer_audient: add control value caching ALSA: mixer_audient: Create matrix programmatically ALSA: mixer_audient: Unify snd_audient_*_set/get functions for different types Will Porter (5): ALSA: mixer_audient: Add a step size to integer controls ALSA: mixer_audient: Add enumerated controls ALSA: usb-audio: Give the Audient iD14 MkI its own mixer map ALSA: mixer_audient: Add Audient iD14 MkI controls ALSA: mixer_audient: Replace the Audient iD14 MkI FU 12 control MAINTAINERS | 7 +- sound/usb/Makefile | 2 +- sound/usb/mixer_audient.c | 1122 +++++++++++++++++++++++++++++++++++++ sound/usb/mixer_audient.h | 13 + sound/usb/mixer_evo.c | 505 ----------------- sound/usb/mixer_evo.h | 12 - sound/usb/mixer_maps.c | 10 +- sound/usb/mixer_quirks.c | 5 +- 8 files changed, 1152 insertions(+), 524 deletions(-) create mode 100644 sound/usb/mixer_audient.c create mode 100644 sound/usb/mixer_audient.h delete mode 100644 sound/usb/mixer_evo.c delete mode 100644 sound/usb/mixer_evo.h base-commit: 486060b97284c95384744f030706f89e1980a46e -- 2.47.3