ACPI overrides under Fedora Atomic

Hello Fedora Atomic users,

i have picked up a Minisforum V3 today, installed Bazzite (based on Fedora Atomic) on it and noticed that auto-rotate doesn’t work. I discovered instructions on how to modify the ACPI tables to make auto-rotate work, however some of those instructions are specific to Arch Linux and cannot be cleanly mapped onto Fedora Atomic and thus Bazzite.

The modifications i need in the ACPI tables are shown here: Accelerometer on Linux · Issue #2 · mudkipme/awesome-minisforum-v3 · GitHub

And the instructions to apply the modifications are https://wiki.archlinux.org/title/DSDT and Microcode - ArchWiki

I can create a distrobox and install acpica-tools to modify the ACPI tables and compile them. Adding kernel arguments is no problem for me either. However i haven’t figured out where to add the override in the default GRUB2 config in Fedora Atomic.

How can i modify GRUB2 to load my ACPI override? Do i even need to mess with GRUB2 to apply an ACPI override?

Best regards,
Julia Wolf

This isn’t a Bazzite forum. It’s straight Fedora.

Saying that though, there’s probably someone here who can assist with an Atomic installation.

GRUB is static on Fedora Atomic, so it doesn’t help running grub2-mkconfig on such systems.

There is the option to add GRUB variables to a user configuration file: /boot/grub2/user.cfg, which needs to be created, but I am not sure this is enough for your setup.