[SOLVED] Chuwi CoreBook X (Intel i5-12450H, Realtek ALC269VC): left speaker not working on Linux

Symptom

On Linux (tested on Arch, kernel 7.2.11) only one speaker works on the CoreBook X. The left speaker is silent. On Windows both work.

First: check which variant you have

There are at least two hardware variants, and the fix is different:

Intel variant (this post) AMD variant (Ryzen 5 7430U)
Audio codec Realtek ALC269VC Conexant SN6180
Left speaker path Plain codec pin, fixed with a pin override Separate AWINIC AW88298 amp over I2C/I2S

Check yours:

bash

lscpu | grep "Model name"
for f in /proc/asound/card*/codec#*; do echo "== $f"; grep -E "Codec|Subsystem" $f; done

Mine: i5-12450H, Codec: Realtek ALC269VC, Subsystem Id: 0x1e507036, BIOS DN525RV108. If you have the AMD variant, the guides for the AW88298 amplifier apply to you, not this post.

What I found

  • The amplifier ACPI device (AWDZ8680) is present in the DSDT but its _STA returns 0, so the firmware says it is not present. On the Intel variant there is no external amp to drive.
  • The codec has two speaker outputs: pin 0x14 (declared as an internal speaker, works) and pin 0x1b. The BIOS declares 0x1b as “not connected” (0x411111f0), so the Linux parser ignores it and the second speaker never gets a signal.
  • Overriding both pins as internal speakers fixes it.

The fix (temporary test)

bash

sudo pacman -S --needed alsa-tools     # or your distro's equivalent
sudo hdajackretask
  1. Select the codec Realtek ALC269VC.
  2. In the Options box on the right, tick Show unconnected pins. Pin 0x1b is hidden otherwise.
  3. For pin 0x14: tick Override → Internal speaker.
  4. For pin 0x1b: tick Override → Internal speaker.
  5. Click Apply now.

After this, /sys/class/sound/hwC0D0/user_pin_configs should show:

0x14 0x90170150
0x1b 0x90170150

If your audio is busy, restart the audio server so it reopens the codec:

bash

systemctl --user restart pipewire pipewire-pulse wireplumber

Test left and right separately (close apps that use audio first):

bash

speaker-test -c 2 -s 1 -t pink -l 1    # left only
speaker-test -c 2 -s 2 -t pink -l 1    # right only

Left should come from the left speaker and right from the right one. In my case channels are correct.

Make it permanent

Either click Install boot override in hdajackretask, or do it by hand:

bash

sudo tee /lib/firmware/hda-jack-retask.fw >/dev/null <<'EOF'
[codec]
0x10ec0269 0x1e507036 0

[pincfg]
0x14 0x90170150
0x1b 0x90170150
EOF

echo 'options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw' \
  | sudo tee /etc/modprobe.d/hda-jack-retask.conf

Reboot. Verify without opening hdajackretask:

bash

cat /sys/class/sound/hwC0D0/user_pin_configs | grep -E "0x14|0x1b"
journalctl -k -b | grep -i "patch firmware"

You should see 0x90170150 on both pins and the line Applying patch firmware 'hda-jack-retask.fw'. Both speakers worked after reboot.

To undo it, delete the two files and reboot.

Notes

  • Tested only on the i5-12450H variant, on Arch. I expect the i3-1220P version to behave the same, since another user reports the same override there, but I haven’t verified it.
  • init_pin_configs always shows the original BIOS values, so don’t use it to check whether the patch is active. Use user_pin_configs.
  • That user also reports that after S3 suspend the speakers stop working until the override is applied again. I have not tested suspend, so I can’t confirm it.
  • Credit: the pin override idea (pins 0x14 and 0x1b as Internal Speaker) comes from a post by Solek007 on the CachyOS forum. I confirmed it on my machine and wrote down the permanent method.

If you try it, please post your CPU, codec and subsystem ID so we can see which models it covers.