From: Takashi Iwai <tiwai@suse.de>
To: uni.lorenzo.a@gmail.com
Cc: Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/realtek: Enable speaker amp on ONEXPLAYER X1 i
Date: Tue, 24 Nov 2026 13:49:44 +0100 [thread overview]
Message-ID: <87tsl69yxj.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261123-oxp-x1-amp-v1-1-8b61da12d092@gmail.com>
On Mon, 23 Nov 2026 20:05:05 +0100,
Lorenzo Argentieri via B4 Relay wrote:
>
> From: Lorenzo Argentieri <uni.lorenzo.a@gmail.com>
>
> 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@gmail.com>
Applied to for-next branch.
thanks,
Takashi
prev parent reply other threads:[~2026-11-24 12:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 19:05 [PATCH] ALSA: hda/realtek: Enable speaker amp on ONEXPLAYER X1 i Lorenzo Argentieri via B4 Relay
2026-11-24 12:49 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tsl69yxj.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
--cc=uni.lorenzo.a@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox