Dear Maintainer,
After cold boot, the Conexant SN6140 audio codec on this AMD platform
fails to initialize correctly when PipeWire/WirePlumber probes it via
ALSA UCM. The speaker and headphone output are unavailable, and the
system falls back to dummy output.
Hardware:
Laptop: HONOR BRN-HXXB
HDA Controller: AMD Ryzen HD Audio [1022:15e3]
Codec: Conexant SN6140 (Vendor ID 0x14f11f87, Subsystem 0x1ee7204b)
The PipeWire log shows:
spa.alsa: '_ucm0001.hw:Generic_1':
playback open failed: Device or resource busy
WirePlumber then fails to create the speaker sink:
s-monitors: Failed to create
alsa_output.pci-0000_c1_00.6.HiFi__Speaker__sink:
Object activation aborted: PipeWire proxy destroyed
Restarting WirePlumber after the system has been up for a few seconds
(systemctl --user restart wireplumber) consistently fixes the issue.
This confirms the codec simply needs more time to initialize than the
driver currently allows.
Setting snd_hda_intel.power_save=0 does not resolve the issue.
A 4-second delay before WirePlumber startup works around it.
Root cause appears to be in the kernel HDA driver: the Conexant SN6140
codec takes longer to complete initialization than snd_hda_intel
expects, but the driver reports the card to userspace (udev event)
before the codec is fully ready.