Issue with auto-rotate not working on Fedora 41

The workaround at Red Hat Bugzilla – Bug 2319766 available through the link you put also fixed it for me, however I had to run, reboot and run and reboot again, because on the first reboot even though iio-sensor-proxy was active when running monitor-sensor I got orientation: undefined, on the second reboot it worked.

The workaround:
sudo grep iio-sensor /var/log/audit/audit.log | grep denied | audit2allow -M iio_sensor
sudo semodule -i iio_sensor.pp

1 Like