-
Notifications
You must be signed in to change notification settings - Fork 118
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
kernel 6.12: error install #498
Comments
Please attach this file: |
|
I can attach a similar make.log. Also from a 6.12-rc kernel, rc2 to be precise. |
Okay, this looks like an incompatibility with kernel 6.12. I'll fix this. Thanks for reporting. |
Can confirm that there is an issue with the kernel module with this version of the kernel (6.12). Just tried it out on Fedora 41 Beta and it fails to build. |
I think i have found a workaround. You can change the code from
to
Its on line 664 (on nano), the file is at |
Kernel 6.12 changed the signature of a HID function. We can simply conditionally use the one or the other based on the kernel version. Fixes: atar-axis#498 Signed-off-by: Kai Krakow <[email protected]>
It'd be nice if got a 0.9.x release with that fix now that kernel 6.12 is released (Edit: or a 0.10.x release would be fine too, but imagine do not want to rush that). (I received https://bugs.gentoo.org/943776 not long ago, backported the fix so a release is not urgent for us, but it'll be affecting others too) |
I've queued some patches here: https://github.com/kakra/xpadneo/commits/queue/for-0.9/ Feel free to test those. I yet want to finalize the remaining hardware support commits before releasing a final v0.9. From there on, v0.10 will restructure a lot of code so it will become impossible to backport patches from v0.10 to v0.9. So I want to let that settle first. |
Seems to be missing commit 242e9b4's addition of Beside that seems fine at a glance, albeit I don't really use/test 0.9.x much myself (I've been using the master branch without issues for a while for my own gamepad -- which is updated to latest every kernel bumps I do -- but most normal Gentoo users use the releases). |
Good find. For some reason, the same patch builds just fine in master. I will fix that. |
Includes the missing header file. Fixes: d611d70 ("hid-xpadneo: Allow building with kernel 6.12") Closes: atar-axis#498 Signed-off-by: Kai Krakow <[email protected]>
Kernel 6.12 changed the signature of a HID function. We can simply conditionally use the one or the other based on the kernel version. Fixes: #498 Signed-off-by: Kai Krakow <[email protected]>
Includes the missing header file. Fixes: d611d70 ("hid-xpadneo: Allow building with kernel 6.12") Closes: #498 Signed-off-by: Kai Krakow <[email protected]>
raulkong898@fedora:~/xpadneo$ sudo ./install.sh
Sign command: /lib/modules/6.12.0-0.rc1.17.fc42.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Creating symlink /var/lib/dkms/hid-xpadneo/v0.9-175-g70ef8ee/source -> /usr/src/hid-xpadneo-v0.9-175-g70ef8ee
Cleaning build area... done.
Building module(s)...(bad exit status: 2)
Failed command:
make -j12 KERNELRELEASE=6.12.0-0.rc1.17.fc42.x86_64 -C /lib/modules/6.12.0-0.rc1.17.fc42.x86_64/build M=/var/lib/dkms/hid-xpadneo/v0.9-175-g70ef8ee/build/src VERSION=v0.9-175-g70ef8ee modules
Error! Bad return status for module build on kernel: 6.12.0-0.rc1.17.fc42.x86_64 (x86_64)
Consult /var/lib/dkms/hid-xpadneo/v0.9-175-g70ef8ee/build/make.log for more information.
The text was updated successfully, but these errors were encountered: