Re: [PATCH] ALSA: hda/realtek: Enable speaker amp on ONEXPLAYER X1 i
From: Takashi Iwai
Date: Tue Nov 24 2026 - 07:50:03 EST
On Mon, 23 Nov 2026 20:05:05 +0100,
Lorenzo Argentieri via B4 Relay wrote:
>
> From: Lorenzo Argentieri <uni.lorenzo.a@xxxxxxxxx>
>
> The internal speakers of the ONE-NETBOOK ONEXPLAYER X1 i (Intel Core
> Ultra 7 155H, ALC245, subsystem ID 1f75:1602) are almost inaudible on
> Linux. They are driven by a Realtek smart amplifier at I2C address 0x10,
> behind the ALC245 coefficient tunnel. The firmware leaves the amplifier
> unconfigured, and the Windows driver programs it at initialization.
>
> Add a fixup that replays the register writes of the Windows driver
> through the tunnel: coefficient 0x24 selects the amplifier, 0x25/0x26
> hold the register address, 0x28 the value, and writing 0xb023 to 0x29
> starts the transfer. Bit 5 of 0x29 is a self-clearing go bit; poll it
> instead of using a fixed delay (a write completes in about 200 us).
>
> The sequence was captured from Windows by the onexplayer2pro-audio-fix
> project and decoded here. Its reads and address probes were dropped,
> leaving 46 amplifier register writes. The fixup runs at every codec
> init, so the configuration is restored after system resume.
>
> Tested on ONEXPLAYER X1 i, BIOS 2.42, after a full power-off: a test
> tone played through the speakers and recorded by the internal microphone
> is about 50 dB louder with this fixup than without it.
>
> Link: https://github.com/feederchain/onexplayer2pro-audio-fix
> Signed-off-by: Lorenzo Argentieri <uni.lorenzo.a@xxxxxxxxx>
Applied to for-next branch.
thanks,
Takashi