Lenovo Legion Linux Driver Posted For Handling Power/Performance Settings

Written by Michael Larabel in Hardware on 18 December 2024 at 02:00 AM EST. 5 Comments
HARDWARE
A patch posted on Tuesday for the Linux kernel would introduce new Lenovo Legion WMI driver options for supporting Lenovo Legion laptops as well as the Legion Go handheld gaming console to support different power/performance settings.

Derek Clark posted a patch Tuesday that implements Lenovo Legion WMI GameZone, "DATA_01", and "Other" driver options for being able to then adjust various power/performance settings from within Linux. This driver work is intended to succeed a Lenovo Legion Go WMI driver patch posted by a Lenovo engineer back in November for exposing the performance mode controls just for the Legion Go series.

Lenovo Legion Go


Clark explained in the patch series cover letter:
"Adds support for the Lenovo Legion series of laptop hardware to use WMI interfaces that control various power settings. There are multiple WMI interfaces that work in concert to provide getting and setting values as well as validation of input. Currently only the "GameZone", "Other Method", and "LENOVO_CAPABILITY_DATA_01" interfaces are implemented, but I attempted to structure the driver so that adding the "Custom Mode", "Lighting", and the other CAPABILITY_DATA interfaces would be trivial if desired in a later patch."

With this driver support is then the ability to set the platform profiles based upon desired behavior of either quiet, balanced, performance, or custom mode of operation.

The 1K lines of new driver code is now out for review via this LKML thread.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week