Add support for Legion Pro 7 16IAX10H (Q7CN, EC 0x5508)#396
Open
ChaoticSi1ence wants to merge 2 commits intojohnfanv2:mainfrom
Open
Add support for Legion Pro 7 16IAX10H (Q7CN, EC 0x5508)#396ChaoticSi1ence wants to merge 2 commits intojohnfanv2:mainfrom
ChaoticSi1ence wants to merge 2 commits intojohnfanv2:mainfrom
Conversation
Add model_q7cn config for the 2025 Legion Pro 7 16IAX10H (83F5): - EC chip: ITE IT5508 (0x5508), verified on hardware - BIOS code: Q7CN - Fan curve/speed/temperature via WMI3 - Power mode and fan full speed via WMI - RGB keyboard is USB-controlled (ACCESS_METHOD_NO_ACCESS) - Based on model_nscn (Legion 7 16IAX9) as closest match Also fix minor line-length formatting in platform_profile_probe and platform_profile_init to comply with 80-column kernel style.
Author
CI Failure AnalysisPushed commit Remaining CI failures are pre-existing on
|
| Failure | Root Cause |
|---|---|
| checkpatch.pl (step 4) | Runs against the entire 6500-line file. The ~60 //-spacing warnings, spelling typos (temmperature, hysteris, etc.), and remaining long lines all pre-date this PR. |
| pylint (step 5) | Warnings in legion_gui.py (unused vars w/h, broad-except) and legion_cli.py (unnecessary lambdas, unused **kwargs, broad-except) — all in boot logo code not touched by this PR. |
| test_python_cli.sh (step 6) | ModuleNotFoundError: No module named 'PIL' — legion.py imports from PIL import Image but Pillow is not listed in setup.cfg install_requires nor installed by any CI dependency script. |
| python_install_pip_pkg.sh | git describe --tags fails in CI's shallow checkout (no tags fetched). |
These would need a separate upstream fix. Happy to open an issue or a follow-up PR for them if that would help.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add model_q7cn config for the 2025 Legion Pro 7 16IAX10H (83F5):
Also fix minor line-length formatting in platform_profile_probe and platform_profile_init to comply with 80-column kernel style.