From: Zheng Shuyang <yhshzh0@gmail.com>
To: Fuwei Xie <12313607@mail.sustech.edu.cn>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Hans de Goede" <hansg@kernel.org>,
"Eren Özen" <erenozen@protonmail.com>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH v3 0/5] platform/x86: huawei-wmi: expose native firmware power profiles
Date: Wed, 25 Nov 2026 09:50:46 +0800 [thread overview]
Message-ID: <20261125015046.23870-1-yhshzh0@gmail.com> (raw)
In-Reply-To: <4F34E5193B4633F6+20261124172651.37716-1-12313607@mail.sustech.edu.cn>
Hi Fuwei,
I retested RFC v3 (all 5 patches) on the same HONOR MagicBook Pro 14
(2025, Mainland China SKU C233, DMI: HONOR / FMB-P, Core Ultra 5 225H,
BIOS 1.16, Arch Linux 7.3.5-arch1-1, power-profiles-daemon 0.30). All
five patches applied cleanly to v7.3's drivers/platform/x86/huawei-wmi.c
and built with W=1 without warnings.
Results:
- WMI bus binding: huawei-wmi-method bound ABBC0F5B-...-5 and
huawei-wmi-events bound ABBC0F5C-...-6 while keeping
/sys/devices/platform/huawei-wmi intact.
- Capability probe found \GTUB/\STUB and registered platform_profile
("balanced performance") without changing the active mode (stayed
performance / GTUB=1).
- Sysfs writes, powerprofilesctl (performance, balanced, power-saver),
and Fn+P updated platform_profile, ppd 0.30, GTUB, and INTC1042:00
odvp1/odvp2 cleanly, with no "Unknown key pressed" logs for
0x02a0/0x02a1/0x02a6.
- Pure AC unplug from performance (without pressing Fn+P afterward)
updated the cached platform_profile, ppd, GTUB, and ODVP to balanced,
so FMB-P emits 0x2a0 on unplug and the cache does not go stale here.
- Writing "performance" on battery returned 0 in 0.4 ms (cached
performance, GTUB=1), and by 51.0 ms 0x2a6 triggered the sync back
to balanced (GTUB=0), with ppd following within 0.5 s and no warnings.
- Existing features (battery thresholds 70/90, fn_lock_state, micmute
LED, debugfs call) and module unload/reload were clean.
Note: Gemini helped with the test scripts and
drafting this report; I performed the physical steps on the machine and
verified the results.
Tested-by: Zheng Shuyang <yhshzh0@gmail.com> # HONOR MagicBook Pro 14 (FMB-P), BIOS 1.16
Thanks,
Zheng Shuyang
prev parent reply other threads:[~2026-11-25 1:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 17:25 Fuwei Xie
2026-11-25 1:50 ` Zheng Shuyang [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=20261125015046.23870-1-yhshzh0@gmail.com \
--to=yhshzh0@gmail.com \
--cc=12313607@mail.sustech.edu.cn \
--cc=erenozen@protonmail.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
/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
all inboxes | Powered by JetHome®