-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
fix: build on kernel v6.11 #48
base: master
Are you sure you want to change the base?
Conversation
builds on Fedora Rawhide too. Thanks! |
Works on KDE Neon, thank you! |
Hi, unfortunately it doesn't fix the problem on Manjaro (kernel 6.11.0-rc3-2-MANJARO). |
What exactly is failing, you getting the same issue as in my opening post? |
Exact same issue yes, I was able to compile by adding -Wno-error=incompatible-pointer-types as a CFLAFS in Makefile. |
Compiled fine here using Manjaro's PKGBUILD for their kernel and using
|
I've added this to my fork. |
@medusalix do you consider merging it? |
Tested this PR under NixOS 24.05 with 6.11 kernel. It's building and running |
✅ nixos-rebuild switch tested and confirmed PR works |
This PR solved the install issue on Nobara Linux 40 (a fork of Fedora) |
Working on 6.11.0-061100-generic, Mint. Can I ask what exactly your code does? I'm not a dev. I dont understand what your if statement accomplishes. Thanks |
It's just re-defining the signature of the function declaration based on whether it's newer or older than kernel v6.11. |
Works on OpenSUSE Tumbleweed 20240927. Thank you for the fix! |
Just took kernel 6.11.1 on Archlinux. Can confirm this patch allows the build on that kernel version. and functionality works as expected with the patch as well. Hope it gets merged soon for others to use! |
Builds and works fine on liquorix kernel 6.11.1 on Linux Mint 22 👍 |
Confirmed, works well with Linux 6.11.2-arch1-1 (x86-64) and resolves build error. |
Install fails on Ubuntu 24.10
|
Can you dump the definition of |
@andrewbaker-uk |
I'll try and get that info over @tskaar. I went scorched earth and reinstalled 24.04 (luckily was a clean install anyway). Will try and reproduce in a VM. @GeorgeLukasWagner will give it a go |
Medusalix
tskaar @tskaar it may have been an Id10T error, just remembered cloning your repo but not checking out the fix-6.11 branch in which case I apologise! |
@andrewbaker-uk;
I suspect that you just forgot to just apply the patch, luckily a relatively easy fix 😄 |
Builds and works fine on 6.11.3-200.fc40.x86_64 |
Is there a reason why this fix is not upstream? |
something seems up with this fix for 6.11.5-arch1-1. my Elite2 gamepad connects and seems functional, but giving inputs on the device causes the device to disconnect and reconnect within a few seconds of input received. kernel dmesg output starting at the first message produced when the gamepad disconnects until it's fully reconnected again is here: https://pastebin.com/QjQdbWqf using the dlundqvist fork from the AUR:
Happy to provide more debug logs or testing if there's anything else that would be handy. |
@AccaliaDeElementia that's a problem with the fork. I also ran into multiple issues with it and was curious why people in this PR didn't have any issues. You need to install xone-dkms-git, but based on this PR. I followed this guide which does exactly that and now it seems to be working fine again. |
Alright, i can confirm, the issue is to do with the fork, not the patch. weird.... but at least I'm up and running again. :) |
Fixes the build issue:
Tested and built on torvalds/linux/v6.11-rc1