-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lenovo Legion patch missing from kernels > 6.7 #71
Comments
Hey, We have dropped the patchset, because the driver got loaded, even if there was no lenovo hardware available. |
Thanks for the reply. I'll ask them to update their README |
CachyOS dropped the patchset in kernels > 6.7 See: CachyOS/kernel-patches#71
That is pretty interesting and should never happen. Do you have more details or a user report for that? The driver is probed when there is a device |
Hi, This was mainly found on the Steam Deck, when we started to work on the cachyos handheld option. Basically the driver got probed but then failed with an error. Generally this is not problematic, but I dont like to have from a patchset side introduced errors in the kernel. |
Suggestion, how about making it available as a binary package of the existing AUR, for the cachyOS repos? |
It definitely doesn't hurt adding it to our repos, but you can say the same to installing it directly from the AUR. I say this because the AUR package does nothing more than:
There is no building involved. |
Sorry but you are wrong, there is buiding involve on the AUR package: 2 - LenovoLegionLinux - since the gui and cli are python don't require any compilation but the legiond module requires, since is written in C. |
I agree on your decision is not good have a kernel error on the patchset (even the error are harmeless). I might try to see if I can solve that probing problem, but might be a bit difficult since I don't own a steamdeck (if you can provide logs would be awesome). Also the if driver is giving a error when unloading, we can try change that to warning instead, like "Unsupported device, Unloading the driver". |
You misunderstand. I wasn't referring to what the package does, but how the package is built. I know that it compiles modules in each system, but the package itself doesn't need to be built.
Yeah, this one needs building. |
I dont feel well, pushing git packages into CachyOS with this. |
Anyways, I have pushed the lenovolegionlinux-dkms-git and lenovolegionlinux-git for now. |
We should make a real stable release after this PR is done: johnfanv2/LenovoLegionLinux#261 The tag that exist was because the fedora copr build system dosen`t accept git packages. |
It is claimed in the README in https://github.com/johnfanv2/LenovoLegionLinux that the dkms package is not required for CachyOS so I uninstalled it on my machine, but then legion features stopped working.
I looked into it briefly and it seems that legion patches are no longer included in kernels post 6.7.
You can verify if the legion driver is active by checking if /sys/kernel/debug/legion exists.
For the record, I'm running the current 6.10.9-2-cachyos kernel.
The text was updated successfully, but these errors were encountered: