Add support for Legion Pro 7 16IAX10H (Q7CN, EC 0x5508)#396
Add support for Legion Pro 7 16IAX10H (Q7CN, EC 0x5508)#396ChaoticSi1ence 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.
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.
|
@ChaoticSi1ence may I ask you why did you close this PR without merging? |
I wanted to take it further and been messing with the whole project on my fork. I have it working 90% on my machine but I don't want to PR AI work over human code. |
|
I own a Legion Pro 7 16AFR10H having the same EC 0x5508 controller and done some tests. Maybe it can help in your review. Ping me if you need infos or tests Regards |
I'm not sure how to implement your device into my work, I had completely pulled acpi and wmi info from windows to get it set up. This is no longer a project that is expandable for me as the code for LLL is very broken. You can try my fork and add your model to the kernel.c and copy my profile. I was tired of waiting for this project to do anything significant so I just slammed it with Claude Opus 4.6 and it almost fully works on my laptop. So I closed my pull request sadly. I'm not a dev. |
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.