Skip to content
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

Please provide an akmod package #41

Open
QuickFastly opened this issue May 18, 2023 · 2 comments
Open

Please provide an akmod package #41

QuickFastly opened this issue May 18, 2023 · 2 comments

Comments

@QuickFastly
Copy link

On rpm-ostree based distros like Fedora Kinoite/Silverblue, dkms is not supported, and manually recompiling the module every time the kernel is updated (very frequently) is a massive pain. akmod is the officially supported way to install kernel modules on these distros. Supporting a copr repo for the akmod would also be fantastic, but might be too much to ask, I don't know.

@gotzl
Copy link
Owner

gotzl commented May 23, 2023

Hi,

I fully agree that a good integration of the driver into the distro(s) is very important, this would simplify things and improve the user experience especially for newcomers.

However, I don't think that I can provide these integrations, since there are plenty of distros doing their thing and I can not be on top of them all.
I feel that these integrations have to come from people that actually use the respective distro. They know what has to be done and will be able to maintain/improve it if they use it on a regular basis. I'm happy to accept any PR improving this driver...

@QuickFastly
Copy link
Author

QuickFastly commented May 24, 2023

If I knew how, I'd be more than willing to send in a PR with akmod support. Unfortunately I've had no luck learning how to do that or even understanding much since I posted this, and haven't been able to find help either. You might have better luck than me finding someone who can help

Edit: In the meantime, until an akmod is available (or I finally get help learning how to do it myself) here is my current workaround for keeping this driver up to date and loaded on rpm-ostree based distros on the off chance someone else is looking for a solution:

  • Clone the repo, cd into it, run make
  • Manually run cp -v fanatec.rules /etc/udev/rules.d/99-fanatec.rules
  • sudo insmod hid-fanatec.ko
  • Confirm that it's working with lsmod and testing a game
  • If it's working, create a systemd service that runs on boot and executes cd {repodir} && make clean && git pull && make && insmod hid-fanatec.ko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants