Package: linux-image-6.12.90+deb13.1-amd64
Version: 6.12.90-2
Severity: normal

The built-in speakers intermittently go silent on an HONOR NMH-WCX9
under Debian 13 (trixie), sometimes after pausing and resuming playback.
I do not have a deterministic reproducer and this is not a known recent
regression. Wired headphone playback works. The issue also occurs
without any headphone or microphone jack activity.

Hardware and software:
- HONOR NMH-WCX9, BIOS 1.11
- AMD HDA controller at 0000:03:00.6, PCI 1022:15e3, subsystem 152d:1322
- Conexant SN6140, codec ID 0x14f11f87, codec subsystem 0x152d1414
- snd_hda_intel and snd_hda_codec_conexant; Debian amd64 kernel
  6.12.90+deb13.1-amd64; PulseAudio 17.0+dfsg1-2+b1

During the failure, PulseAudio still selects analog-output-speaker,
ALSA playback is active, and the codec and speaker pin report D0.
The internal speaker pin (NID 0x17) changes from Pin-ctls 0x40 (OUT) to
0x00, with EAPD still enabled. Setting snd_hda_intel.power_save=0 and
unloading PulseAudio's module-suspend-on-idle did not prevent the issue.

I captured a failure with the recovery script stopped. In the trace the
last known good GET_PIN_WIDGET_CONTROL (cmd=0x017f0700) returned 0x40 at
monotonic time 6912.242471, and the first failed readback returned 0x00 at
6989.304250. The exact transition time in that interval is unknown.
The trace did not record a direct SET_PIN_WIDGET_CONTROL disabling
NID 0x17, a runtime-suspend event for the controller or codec, or a jack
notification in that interval. This does not rule out an indirect reset.

Temporarily setting the ALSA Auto-Mute Mode mixer control to Enabled and
then restoring its original Disabled value returns the pin to 0x40 and
restores playback. In a separate capture, recovery sent HDA command
0x01770740. This is a workaround, not a fix. I have not yet verified the
issue on a newer kernel.

Reply via email to