BartoszCichecki / LenovoLegionToolkit

Lightweight Lenovo Vantage and Hotkeys replacement for Lenovo Legion laptops.
GNU General Public License v3.0
5.54k stars 249 forks source link

Custom Mode on Gen 9 laptops using FN+Q #1282

Closed ghost closed 6 months ago

ghost commented 6 months ago

Rules

Version

Latest

OS

W11

Device

Legion 5i Gen 9

Is your feature request related to a problem?

No it is not

How would you like the problem to be solved?

To add the feature which has to be manually enabled in vantage to cycle through the power modes including custom mode

image

What alternatives have you considered?

None

Additional information

No response

BartoszCichecki commented 6 months ago

I need some more description:

  1. After checking "enable extreme mode", is there any configuration for it?
  2. Does the power LED turn purple like with standard custom mode?
  3. Does cycling with Fn+Q work only when extreme mode is checked?
  4. Please include a log from LLT (instruction in readme) when cycling with Fn+Q with both this option enabled and disabled.
ghost commented 6 months ago
  1. After enabling Extreme mode you cant adjust anything
  2. Yes it does go purple like the Gen 7 laptops
  3. No it doesn't require extreme mode to be enabled for Fn+Q cycling
  4. Will do
ghost commented 6 months ago

disabled.txt enabled.txt both.txt

ghost commented 6 months ago

theres the log

BartoszCichecki commented 6 months ago

Please also paste the output out these commands from PowerShell:

Get-WmiObject -namespace root\WMI -class LENOVO_CAPABILITY_DATA_00 Get-WmiObject -namespace root\WMI -class LENOVO_CAPABILITY_DATA_01 Get-WmiObject -namespace root\WMI -class LENOVO_CAPABILITY_DATA_02

ghost commented 6 months ago

Get-WmiObject -namespace root\WMI -class LENOVO_CAPABILITY_DATA_02

https://pastebin.com/NWNXyVfq

BartoszCichecki commented 6 months ago

Great, so now, you can check the output of this:

(Get-WmiObject -namespace root\WMI -class LENOVO_OTHER_METHOD).GetFeatureValue(1048576).value

If I am not wrong, it should return 0 when Fn+Q thing is off and 1 if it's on.

ghost commented 6 months ago

you are 100% correct

BartoszCichecki commented 6 months ago

Great stuff. I need to do some coding and will post a new beta. Thanks for help.

ghost commented 6 months ago

no problem

EpochalEngineer commented 12 hours ago

Am I missing a way to enable Extreme mode in Custom mode on this toolkit? I see an option to max the fans, but it's not the same thing as Extreme Mode also sets limits (in a way that overrides some safety that drops PL1 to 55W) on the Legion 7i Gen 9.

Commenting here instead of making a new issue here in case I missed something.