-
Notifications
You must be signed in to change notification settings - Fork 23
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
WARNING: `dkms install --no-depmod asus-wmi/1.0 -k <other kernel>' exited 10 #35
Comments
The only |
I think the problem is that the module is built only for one kernel, so trying to install it on other kernels won't work: Here, 5.15 works, 5.10 fails:
It doesn't exist in 5.10:
Could you build for all installed kernels, or allow passing a kernel name to build for? |
You could try to temporarily hard-code the specific Kernel version you'd like to build and install this for in line two of
Something like replacing it with Note that I haven't tried this myself, but if you do end up trying it, I'd love to hear if it worked. If it does work, it should be a relatively simple change to have the |
I just wanted to follow up my previous post and to let you know that it indeed works as you want. The Linux flavor I'm running (Fedora 35) just updated to kernel 5.16.5 from 5.15.7 (I believe), and I was able to install the new kernel and immediately update and install the screenpad module, before rebooting. The steps I took:
It should be possibly to modify the prepare shell script to optionally take a version number from the command line so that it doesn't have to be hard-coded, but as I'm a little pressed foro time right now, simply temporarily setting it like this does the trick. I hope this helps! |
Note It works on my current kernel (5.15) but fails on 5.4 and 5.10:
I see the file
prepare-for-current-kernel.sh
. How can I have this work properly for non-current kernels, too?The text was updated successfully, but these errors were encountered: