[PATCH v2 0/2] ALSA: pcmtest: Add a volume control with event fault injection
From: HyeongJun An
Date: Wed Nov 11 2026 - 04:10:44 EST
Hello Takashi,
This is the non-RFC version of [1], which Mark found reasonable [2].
Patch 1 fixes the places where pcmtest.rst does not match the driver.
Patch 2 adds the volume control and its two fault parameters, and
documents them.
mixer-test results on the new control, under qemu on sound/for-next:
no fault all 8 checks pass
inject_ctl_no_event=1 only event_missing fails
inject_ctl_spurious_event=1 only event_spurious fails
The pcmtest selftest still passes all 10 tests.
Changes since the RFC:
- document the new parameters
- rename the control to "Test Playback Volume", which the OSS mixer
emulation does not map
- add the documentation fix as patch 1
[1] https://lore.kernel.org/all/20261103011000.1012035-1-sammiee5311@xxxxxxxxx/
[2] https://lore.kernel.org/all/61df01a7-10ee-407e-879f-d9c1085a5d43@xxxxxxxxxxxxx/
Prepared with Claude Code (Claude Opus 5.5). Tested on x86_64 under qemu.
Best regards,
HyeongJun An
HyeongJun An (2):
ALSA: doc: pcmtest: Update to match the driver
ALSA: pcmtest: Add a volume control with event fault injection
Documentation/sound/cards/pcmtest.rst | 25 ++++++++--
sound/drivers/pcmtest.c | 68 +++++++++++++++++++++++++++
2 files changed, 89 insertions(+), 4 deletions(-)
--
2.43.0