From: Devin Bayer <dev@doubly.so>
To: Luke Jones <luke@ljones.dev>, Mohamed Ghanmi <mohamed.ghanmi@supcom.tn>
Cc: "Hans de Goede" <hdegoede@redhat.com>,
corentin.chary@gmail.com, platform-driver-x86@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Subject: Re: [PATCH v3 1/1] platform/x86: asus-wmi: add support for vivobook fan profiles
Date: Fri, 21 Jun 2024 13:30:53 +0200 [thread overview]
Message-ID: <c2ab501b-532a-41a6-a142-55b52e135aee@doubly.so> (raw)
In-Reply-To: <373bcabb-5175-4937-88b7-bd0fec579357@app.fastmail.com>
On 21/06/2024 12.26, Luke Jones wrote:
>
>> I tested it and it works. However, it has a couple issues:
>>
>> 1. This dev_id isn't Vivobook specific. My Zenbook UX3404VC (2023) has this control.
>
> I'm not sure what else to call it. "thermal_throttle_alt" or otherwise, I don't know. The intention should be clear even if only in a comment.
Okay, I thought Vivo might be little confusing and the "2" suffix would
match the ASUS_WMI_DEVID_MINI_LED_MODE2 convention.
>> 2. The Zenbook only supports values 0-2 (standard, quiet and performance).
>> Calling the method with 3 causes the KEYBOARD_KEY event to fire instead of
>> adjusting the GPU power and fan speed.
>
> I linked you to v4 of this patch in one of my responses. The link again is https://lore.kernel.org/platform-driver-x86/20240609144849.2532-1-mohamed.ghanmi@supcom.tn/T/#mcd18e74676084e21d5c15af84bc08d8c6b375fb9
Ah, sorry. I see v4 of the patch is working fine.
>> I wonder if the existing fan_boost_mode should also be considered a platform_profile?
>
> No. It tends to be only fans, and usually fullspeed. Platform_profile is intended to control platform related variables. I would also be curious if you tested without the PPD (daemon) as recent versions may also control the energy performance preference and that will skew your results.
I don't use the PPD so tested without it.
BTW, FAN_BOOST_MODE doesn't have a FULLSPEED constant, so maybe you were
thinking of FAN_CTRL.
I don't have a 0x00110018 device so I can't test that but just FYI, the
reason I thought the 0x00110019 device as related are the similar
dev_ids and it calls the ACPI method name FANL to write the EC variable
QFAN.
~ Dev
prev parent reply other threads:[~2024-06-21 11:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-21 19:43 [PATCH v3 0/1] " Mohamed Ghanmi
2024-04-21 19:43 ` [PATCH v3 1/1] " Mohamed Ghanmi
2024-04-29 10:20 ` Hans de Goede
2024-06-03 5:19 ` Luke Jones
2024-06-03 10:29 ` Ilpo Järvinen
2024-06-05 7:43 ` Luke Jones
2024-06-21 9:43 ` Devin Bayer
2024-06-21 10:26 ` Luke Jones
2024-06-21 11:30 ` Devin Bayer [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=c2ab501b-532a-41a6-a142-55b52e135aee@doubly.so \
--to=dev@doubly.so \
--cc=corentin.chary@gmail.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luke@ljones.dev \
--cc=mohamed.ghanmi@supcom.tn \
--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®