Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 00/21] ALSA: usb-audio: Audient driver and iD14 MkI support
@ 2026-11-30 16:44 Will Porter
  2026-11-30 16:44 ` [PATCH v2 01/21] ALSA: mixer_evo: Remove double end marker device list Will Porter
                   ` (20 more replies)
  0 siblings, 21 replies; 25+ messages in thread
From: Will Porter @ 2026-11-30 16:44 UTC (permalink / raw)
  To: Takashi Iwai, Jaroslav Kysela
  Cc: Christian Ruppert, linux-sound, linux-kernel, Neil Andrews,
	Nikita Tarasov

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


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2026-11-30 16:58 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 16:44 [PATCH v2 00/21] ALSA: usb-audio: Audient driver and iD14 MkI support Will Porter
2026-11-30 16:44 ` [PATCH v2 01/21] ALSA: mixer_evo: Remove double end marker device list Will Porter
2026-11-30 16:44 ` [PATCH v2 02/21] ALSA: mixer_evo: Fix endianness of boolean inversion Will Porter
2026-11-30 16:57   ` sashiko-bot
2026-11-30 16:44 ` [PATCH v2 03/21] ALSA: mixer_evo: Add tlv for mixer channels Will Porter
2026-11-30 16:44 ` [PATCH v2 04/21] ALSA: mixer_evo: Add missing snd_usb_lock calls Will Porter
2026-11-30 16:54   ` sashiko-bot
2026-11-30 16:44 ` [PATCH v2 05/21] ALSA: rename mixer_evo to mixer_audient Will Porter
2026-11-30 16:44 ` [PATCH v2 06/21] ALSA: mixer_audient: explicitly define full control names Will Porter
2026-11-30 16:44 ` [PATCH v2 07/21] ALSA: mixer_audient: clarify USB control message definition Will Porter
2026-11-30 16:44 ` [PATCH v2 08/21] ALSA: mixer_audient: Add length check to USB transfer Will Porter
2026-11-30 16:44 ` [PATCH v2 09/21] ALSA: mixer_audient: make USB control transfer size configurable Will Porter
2026-11-30 16:44 ` [PATCH v2 10/21] ALSA: mixer_audient: Allow arbitrary boolean control values Will Porter
2026-11-30 16:44 ` [PATCH v2 11/21] ALSA: mixer_audient: Add integer range checks Will Porter
2026-11-30 16:44 ` [PATCH v2 12/21] ALSA: mixer_audient: Add control initialization at probe Will Porter
2026-11-30 16:44 ` [PATCH v2 13/21] ALSA: mixer_audient: Add readback-free parameter set Will Porter
2026-11-30 16:44 ` [PATCH v2 14/21] ALSA: mixer_audient: add control value caching Will Porter
2026-11-30 16:44 ` [PATCH v2 15/21] ALSA: mixer_audient: Create matrix programmatically Will Porter
2026-11-30 16:44 ` [PATCH v2 16/21] ALSA: mixer_audient: Add a step size to integer controls Will Porter
2026-11-30 16:44 ` [PATCH v2 17/21] ALSA: mixer_audient: Add enumerated controls Will Porter
2026-11-30 16:44 ` [PATCH v2 18/21] ALSA: usb-audio: Give the Audient iD14 MkI its own mixer map Will Porter
2026-11-30 16:44 ` [PATCH v2 19/21] ALSA: mixer_audient: Add Audient iD14 MkI controls Will Porter
2026-11-30 16:44 ` [PATCH v2 20/21] ALSA: mixer_audient: Unify snd_audient_*_set/get functions for different types Will Porter
2026-11-30 16:58   ` sashiko-bot
2026-11-30 16:44 ` [PATCH v2 21/21] ALSA: mixer_audient: Replace the Audient iD14 MkI FU 12 control Will Porter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox