From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Daniel <dany97@live.ca>
Cc: Markus.Elfring@web.de, hansg@kernel.org,
LKML <linux-kernel@vger.kernel.org>,
matan@svgalib.org, platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH v5] platform/x86: lg-laptop: Fix WMAB call in fan_mode_store()
Date: Wed, 24 Sep 2025 16:13:30 +0300 [thread overview]
Message-ID: <175871961048.19584.6234729612579222383.b4-ty@linux.intel.com> (raw)
In-Reply-To: <MN2PR06MB559873DBA3BA4491E08949ACDC1DA@MN2PR06MB5598.namprd06.prod.outlook.com>
On Tue, 23 Sep 2025 09:19:39 -0400, Daniel wrote:
> On my LG Gram 16Z95P-K.AA75A8 (2022), writes to
> /sys/devices/platform/lg-laptop/fan_mode have no effect and reads always
> report a status of 0.
>
> Disassembling the relevant ACPI tables reveals that in the WMAB call to
> set the fan mode, the new mode is read either from bits 0,1 or bits 4,5
> (depending on the value of some other EC register). Thus when we call
> WMAB twice, first with bits 4,5 zero, then bits 0,1 zero, the second
> call undoes the effect of the first call.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: lg-laptop: Fix WMAB call in fan_mode_store()
commit: bab04f0166dfaf7d7dfb5fd96d8f961a1b4e1b2c
--
i.
next prev parent reply other threads:[~2025-09-24 13:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-12 18:13 [PATCH v2] platform/x86: lg-laptop: Fix WMAB call in fan_mode_store Daniel
2025-09-12 18:30 ` Markus Elfring
2025-09-13 3:03 ` [PATCH v3] platform/x86: lg-laptop: Fix WMAB call in fan_mode_store() Daniel
2025-09-13 6:16 ` Markus Elfring
2025-09-13 14:50 ` Daniel
2025-09-13 18:22 ` [PATCH v?] " Markus Elfring
2025-09-15 7:34 ` [PATCH v3] " Ilpo Järvinen
2025-09-19 13:50 ` Daniel
2025-09-22 12:49 ` Ilpo Järvinen
2025-09-23 13:19 ` [PATCH v5] " Daniel
2025-09-23 14:21 ` [PATCH v?] " Markus Elfring
2025-09-24 13:13 ` Ilpo Järvinen [this message]
2025-09-24 15:44 ` [PATCH v5] " Daniel
2025-09-24 17:58 ` Ilpo Järvinen
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=175871961048.19584.6234729612579222383.b4-ty@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=Markus.Elfring@web.de \
--cc=dany97@live.ca \
--cc=hansg@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matan@svgalib.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®