-
Notifications
You must be signed in to change notification settings - Fork 64
feat: Add acpi_call kernel module #327
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
base: main
Are you sure you want to change the base?
Conversation
|
The extras feed is used by the bazzite kernel and the bazzite kernel already has acpi_call? |
I'm running Bluefin, which uses the stock Fedora kernel AFAICT, so it would be nice to be able to use this module on that stock kernel. (As an aside: I have no real preference on where the sources for that kernel module come from, though - maybe it is possible to use the same patchset as Bazzite). Thanks for pointing out that Bazzite already includes the Coming back to this PR: The README says (emphasis added):
The Is your objection based on |
20ce686 to
3f8970f
Compare
|
Ah, well the extras stream is not being used by bluefin at all, so you will not be able to use the module. Unless you redownload it every time you update bluefin. And if you use bazzite, well it is already included. I do not have a good solution for this. Bluefin does have a hwe variant that uses the Bazzite kernel for the time being. @castrojo is that being deprecated? |
|
Yea sorry Bluefin is going stock-kernel only and the handful of main akmods we already have. |
I'm already building my own Bluefin image at |
|
I just wrote this on #317... But the previous comment here asks the question of "should we have an I tend to be against the idea because it incurs a maintenance burden while implying support. We do effectively support what we build by virtue of including them in the downstreams, thus we get reports if they aren't working, and try to fix things, etc. If we are building things unused by our downstreams they will have a much lower chance of catching issues, but still imply support. |
|
I guess I did not write this above but if you have a custom image and don't care about secure boot, you can just add the kmods to your image and build it for the kernel? |
That's a perfectly reasonable position! After all, resources are limited and should be spent in the most effective way.
The Building it as a separate kmod instead would (probably?) not increase the support burden, but would allow usage by Bluefin users that require it to coerce non-cooperative hardware (hello, hybrid Intel graphics on laptops...) into doing what they want. So, my suggestion would be to remove
That's the fallback plan. Secure boot makes things a lot more complicated, though :D |
Add the
acpi_call1 kernel module to theextra/stream.Note about the current build failure: This PR is written as-if the COPR build for
acpi_call-kmodandacpi_call-kmod-commonhad already been set up at https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/ - preferably sourced from github.com/nix-community/acpi_call once nix-community/acpi_call#28 has been merged2.Until that PR has been merged, an example COPR build of
acpi_call-kmodandacpi_call-kmod-commoncan be found at https://copr.fedorainfracloud.org/coprs/cr7pt0gr4ph7/acpi_call/, currently using my ownacpi_callrepository fork, and example image builds can be found at https://github.com/cr7pt0gr4ph7/akmods/actions.Footnotes
The
acpi_callmodule allows one to manually issue ACPI method calls, which is useful to advanced users for disabling discrete Nvidia graphics cards on older laptops with hybrid Intel+Nvidia graphics where no option for this is available in the BIOS, as well as for interacting e.g. with Firmware-based fan control when no specific driver is available. ↩As it appears, the people from the NixOS community now seem to be the de-facto maintainers of the
acpi_callmodule. ↩