Upstream Lenovo Legion Linux driver
Hi, it seems like Derek J. Clark sent patches to upstream parts of the driver to mainline. It's not everything but it's worth looking at and maybe even contacting him since I don't know if he is aware of this repository existing because he made the patches based on Legion Go console as noted in thread. Here's the thread on LKML. What do you guys think?
Personally, if it works on my 2023 legion laptop, I'd be overjoyed. The driver in this repository seems to be outdated in that regard.
Here are the download links pointing to the actual driver: Lenovo Legion WMI Lenovo Legion WMI - DKMS
Here are the download links pointing to the actual driver: Lenovo Legion WMI Lenovo Legion WMI - DKMS
Those repos are last updated 3 and 4 years ago, were those the right links? Those don't look like "upstream" and the first one even says "THIS DRIVER DOES NOT WORK".
The driver will be upstream when it ready, @johnfanv2 did send the driver to kernel maling list for feedback and we need to rewrite a couple of thing before being considered "upstream-able": https://lore.kernel.org/lkml/[email protected]/
It might also be good to make sure the driver works for newer legion devices, considering all the issues asking for support and this thread
I'm not sure but I think the other drive Derek Clark made covered modern legions as well, so inspiration could be taken from that.
https://github.com/torvalds/linux/commit/02c6e43397c39edd0c172859bf8c851b46be09a8 Recently the linux kernel added support for platform_profile_cycle for Fn+Q for ideapad.
torvalds/linux@02c6e43 Recently the linux kernel added support for platform_profile_cycle for Fn+Q for ideapad.
That's cool -- does it sync up with stuff like power-profiles-daemon? If I Fn+Q will it desync my platform profile with the power profile from power-profiles-daemon?
Did some research -- unsure if it will desync from ppd, but given that it's using the standard platform profile interface, it should sync up nicely for when the new lenovo wmi drivers land upstream (should be really soon!)
Looks like rapid charge is being mainlined :)