Skip to contentSkip to conversation

ALSA: hda/realtek: no audio on ASUS ExpertBook B3 G2 BM3406CGA (ALC256, SSID 1043:1704), fixed by resetting COEF 0x10

DISCUSSION Takashi Iwai 1 participant 1 message Nov 25 1 message not in the archive Sound

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 47 lines · Клёнов Александр

Hello,

On the ASUS ExpertBook B3 G2 (BM3406CGA) there is no audio at all from the internal speakers or the 3.5 mm headphone jack. HDMI and Bluetooth audio work. The cause is a vendor coefficient of the Realtek codec: resetting it restores playback on both outputs.

System:
- Laptop: ASUS ExpertBook B3 G2 14", model BM3406CGA
- CPU: AMD Ryzen AI 7 445
- BIOS: BM3406CGA.208
- Distribution: Ubuntu 26.10, kernel 7.3.0-11-generic
- Codec: Realtek ALC256 (vendor id 0x10ec0256), subsystem id 0x10431704
- The laptop shipped without an OS, so there is no Windows install to compare with.

Symptoms:
- dmesg: "snd_hda_codec_alc269 hdaudioC1D0: ALC256: picked fixup  (pin match) ", so there is no quirk entry for SSID 1043:1704.
- Pin autoconfig looks correct: speaker on NID 0x14 (0x90170120), headphone on NID 0x21 (0x04211010).
- The codec dump shows both paths unmuted, pins enabled, EAPD set and all widgets in D0. COEF 0x0f is already 0x7778.
- The PCM stream runs (hw_ptr advances). speaker-test directly on plughw:1,0 with PipeWire stopped is silent too.
- The speakers work in the BIOS hardware diagnostics (beep test), so the hardware is fine.

Finding:
The vendor coefficients on NID 0x20 read:
  COEF 0x10 = 0x1d20 (0x0020 is the value used by ALC256_FIXUP_SET_COEF_DEFAULTS)
  COEF 0x37 = 0xfe15 (0xfe05 in the same defaults)
The other coefficients from that list (0x24, 0x26, 0x29, 0x45) already match the defaults.

Writing 0x0020 to COEF 0x10 restores audio on speakers and headphones at once:
  hda-verb /dev/snd/hwC1D0 0x20 SET_COEF_INDEX 0x10
  hda-verb /dev/snd/hwC1D0 0x20 SET_PROC_COEF 0x0020
COEF 0x37 did not need to be changed.

Current workaround: an HDA patch file loaded with "options snd-hda-intel patch =,hda-asus-1704.fw":
  [codec]
  0x10ec0256 0x10431704 0
  [verb]

Quoted 8 lines

  0x20 0x500 0x10
  0x20 0x400 0x0020
This works across reboots.

Could a quirk for SSID 1043:1704 be added? I am happy to test patches.
alsa-info:
https://alsa-project.org/db/?f=ea9d806a452f7528ec56ae8c9e78fe0fddef5bcf

There is already a quirk for ExpertBook PM3406CHA (1043:1664) which might work for you. Could you check whether applying the option
model=1043:1664
works? If the above works, it's a simple quirk entry addition. OTOH, if the COEF with the value 0x0020 is really needed, we need to add a different quirk entry.

thanks,

Takashi