Re: [PATCH v2] platform/x86: oxpec: add OneXPlayer X2 Mini (G3E) DMI entry

From: Antheas Kapenekakis

Date: Sat Oct 31 2026 - 22:27:01 EST


On Sun, 1 Nov 2026 at 03:18, Jiajun Leng <adolphpi@xxxxxxxxxxx> wrote:
>
> The OneXPlayer X2 Mini (G3E) is the Intel variant and reports DMI board
> name "ONEXPLAYER X2Mini". Map it to oxp_g1_i, the profile used by the
> ONEXPLAYER 3, which has the same Intel EC layout. Fan reading, manual PWM
> and charging control work.
>

Reviewed-by: Antheas Kapenekakis <lkml@xxxxxxxxxxx>

FYI no reply-to next time. You shouldn't chain versions on the same
thread especially for series. If you find out why Claude does that let
us know

Antheas

> Signed-off-by: Jiajun Leng <adolphpi@xxxxxxxxxxx>
> ---
> Changes in v2:
> - Remove the X2Mini PRO comparison and the downstream kernel version.
> - Merge the quirk mapping and test results into the first paragraph.
> - Place the entry above ONEXPLAYER X2Mini PRO to keep alphabetical order.
> - Move the AI assistance note out of the commit message.
>
> AI assistance: Claude (Anthropic) was used to draft this changelog and the
> diff; the submitter reviewed and tested the change.
>
> drivers/platform/x86/oxpec.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/platform/x86/oxpec.c b/drivers/platform/x86/oxpec.c
> index c4c4babe8e30..f4b5a35a4d69 100644
> --- a/drivers/platform/x86/oxpec.c
> +++ b/drivers/platform/x86/oxpec.c
> @@ -300,6 +300,13 @@ static const struct dmi_system_id dmi_table[] = {
> },
> .driver_data = (void *)oxp_x1,
> },
> + {
> + .matches = {
> + DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
> + DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER X2Mini"),
> + },
> + .driver_data = (void *)oxp_g1_i,
> + },
> {
> .matches = {
> DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
> --
> 2.53.0
>
>