From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.160.44 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796057103; b=o7v3pa0s7B0TauRAt4PyET3hc55ds8Kp9XA+BEpB3GaFa/1uNf24LYfmMF6u+c6zVDgS 67/0NplqdVADHbouvF/mEP9Ky5Sh268FUv/fyH5UGa3LU3sN28XtRmdv/fiqli6sBRwcE NVLD3zsSTXzEVL9ih0CJgi9dUvJIApEiLjxPc2eTKz0IlF/7gKb4lJy6yxhthMwx4kd7/ DGOHZChwsBNeN+T8S9bbWbrmrb4TUCTZggzFWHRCzXe9Ai5cJEqHpdNgW0NhaDSMu+dX1 +xW/9y1j/3+hSiimsTF5HU7Ykh+THgVsFqpIG3uIixozsJHIZs/k25XN171NtHlU6Cw== 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=Q4Uzngt0GHWhEPKQ7qiGefZ7Wyaf/GsCkQTzualRFd47NO2h3+6gEtR1NUGZGogqrtCD f58wcckbCiniNi1FIv2BFtqnUkB7lV100/cYuDI5tXgPBkJ76L/ZfMPb2o3aiUwpcuh33 L+v/kCktEC6U4j238BBG2rVYJn5pdvZy4c8ggGE7/0IGsvRmnFtVHWZla98hXUR5kbF3M io1v/wdI9CtJ5HTBaHlc2gjaKwy53y7VMPBN8QXP+dQavnKh9IAd5VzrdM2nXyaGTqMMO oSv4WGZvTn35+G7Nc8+fZvFuZq3F2RXkpKczzSXTWl/2d0NI8FMSGXVs3TrJGLghQAQ== 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.44 Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) (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 3BDD7606A332 for ; Mon, 30 Nov 2026 16:45:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3BDD7606A332 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-f44.google.com with SMTP id 586e51a60fabf-4ad89c49e0dso3325658fac.2 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=KOwC+DUdFN+fcAQyvKiZdwyKoYiDYpC6Kp0FwOMxAHbcxdDTlxBtzavnOg3Um3zKhk 8xxmB9GczdLR7L2rlKpeId3DQcpblu0Q52Bsqnk0kP8oAHaQjDkLgWS+AzhYJ3E0yO2s F2Txc0ohH0k5MZ94KidOV05ue88eEdecZoLOykeXZiZngN6b4IEdwJtmzIx+7la2aeer je2DId6hpd6zjlExI1bM1ev19JpXopVWbpPCawiZBPawJLJ0t9/0DwgmLBWCcxO09d38 GgefnDObZ8WnEgkU+pXKP9/Oz0H6ZRil8cj+Unfb4LLaEsN0JUupXKJWcWM0ZH7/E+a0 ys+A== X-Forwarded-Encrypted: i=1; AL+hErEfui347atFHtnpCim7pdKSqCVN0nrHJIIV0fFiY2Dp7vhJ3bc3zHtLq6Ntq4++uqFPdvqV2Wjg43SKbxk=@vger.kernel.org X-Gm-Message-State: APuU4Z8SBMulDlx41QYVpqt6FzRaxZYUUgfx2t64AKKS9G4hoJgy7+12 zo2Zx97PflksGr/Mp/jx7Sb0xO0Ws6mlw9hNgRMkN9RGiNt3etsoGRiy X-Gm-Gg: AZFdTZdoacv7jfnaUSbGhhxo4M6DXg0CwsBd3W/ZH095nKzGD4yAeOH5IuudDj/ldMz IGz5Y68HbYglRDglHXFvxX23qVGOfevm8eMVYEYq3Of1oSwk32f57Fm305jvLkNYy/taN4IqhnS EqremDatHk/vHlCn6u2q7mJ4i8AZrWJzIBmaFP4qaXbGklpxmNJLbzK5EJH7nsyhlOUUlZBAhm8 L3USRBR33vAIZf+zCEu5LL+ub3SxiP77/fQOgY9ZoxVxbd7zbZQbhHevo8wChTvEuIgH4hPsFQJ lS2hu6hwOOmSPvZZ2vsioYMx+cIR596m7qhVmYSada2h5wblp6qpVcyk1RST4RiXpYuzJ5OkG+G InfxQyp0cZb2lO+iz1Nahru4o4/gekrV4N6j8t+NhDzjb+jizj5wAvrWHabE1w+ytjnMCXgyQSw qsZIr+gA76vD5XWm+EpNlZIdXLAG96BhLjhbYaPnNmEtQEBNgpYxe/kHP1rVfE6EA89IOY3Z38i b7J8tQlzzx+aVS6NJVM01KtFP9tNQVKdZw0QOQrubtGruMB0Z1SF9We4JYelXSXXYmKxTK46yX9 0/nVF27bNWAkZG9YvPX1IcrDexR5kYQAsYXNDWhjnFsUbFZ9L+VQpEYJLwAyRmbr55A= 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-kernel@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