Re: [PATCH v3] platform/x86: dell-laptop: Implement platform_profile

From: Lyndon Sanche
Date: Mon Apr 29 2024 - 17:26:03 EST




On Mon, Apr 29 2024 at 12:51:31 PM -05:00:00, Mario Limonciello <mario.limonciello@xxxxxxx> wrote:
On 4/29/2024 12:45, Mario Limonciello wrote:
On 4/29/2024 11:48, Lyndon Sanche wrote:
#define CLASS_KBD_BACKLIGHT 4
#define SELECT_KBD_BACKLIGHT 11
+#define SELECT_THERMAL_MANAGEMENT 19

I think you should insert this into dell-smbios-base.c under call_blacklist. This will prevent userspace from fighting with the kernel on the same data when this code goes in.

Good idea, I have been using smbios-thermal-ctl for checking the state when testing. I will include this in the patch, then smbios-thermal-ctl cannot interfere.

Thanks,

Lyndon