
Ville Saarinen has been battling the lack of audio for the HP OmniBook X Flip 14-kc0xxx hardware on Linux with no audio playback support at all as the SoundWire links are ultimately never scanned. But with the now-pending Linux kernel patches, the internal speakers are working along with the headphone jack, and the internal DMIC array.
Ultimately the AMD Audio Co-Processor (ACP) code needed additions to force the SoundWire probing for this laptop and AMD ACP additions for describing the SoundWire topology. Plus two separate patches are also needed against the TAS2783 codec driver for outputting in stereo sound rather than mono.
Saarinen explained how he got this audio situation debugged and patched via Claude Opus 5:
"This work was done in extended interactive sessions with Claude (Anthropic, model claude-opus-5) acting as a coding and debugging assistant, and a substantial amount of the analysis and of the patch text originated with it. Both patches carry an Assisted-by tag as described in Documentation/process/coding-assistants.rst.
The division of work:
- The assistant read the DMI data and ACP configuration flag off the running machine, identified the flag override as the fix, derived the SoundWire topology from the enumerated peripherals, and drafted both patches and both changelogs.
- I ran everything that needed root or physical access, rebooted into each build, and did the listening tests. The left/right ordering in patch 2 is set by the order of the two amplifier entries; the first version had the sides reversed and that was caught by ear, not by the assistant.
- No single prompt generated these patches. The session was iterative over roughly a day: inspect state, form a hypothesis, build, reboot, measure, discard the hypothesis if the measurement disagreed. Several confident intermediate conclusions were wrong and were only caught by measurement.
I have reviewed both patches, I understand what they do, and I take responsibility for them."
The patches are now out for review to get the HP OmniBook X Flip 14-kc0xxx audio working on Linux for this AMD Ryzen AI 300 series laptop.