2-in-1 laptop autorotate/iio-sensor-proxy not working
I use an HP Spectre/Intel 2-in-1 laptop with Bazzite in Gnome. I installed it about 5 months ago and had auto-rotate working mostly correctly, but about 2 months ago an update (or something else) caused auto-rotation to stop working, it stays in Landscape mode even when I turn the screen around. I manually checked iio-sensor-proxy's output by running it in a terminal and checking the output and it looks like it's correctly updating, but still the display remains in Landscape no matter what I do.
I got the Gnome extension Screen Rotate by shyzus a few days ago and and it first it worked, but when I logged in later it had stopped working. Gnome works so well in tablet mode but I'm hesitant not to switch to KDE cause of this :v Has anyone encountered something like this for tablets/laptops?
Solution:Jump to solution
Turns out this is a known issue specific to Fedora systems and 2-in-1 laptops with HID sensors.
https://bugzilla.redhat.com/show_bug.cgi?id=2324181...
2 Replies
Update: When I run this command, auto rotation works correctly:
alixbazzite@bazzite:~$ sudo G_MESSAGES_DEBUG=all /usr/libexec/iio-sensor-proxy
But when I cancel the process it stops working again.
Looks like the D-Bus isn't activating iio-sensor-proxy correctly because there's no activation file for it in /usr/share/dbus-1 on my end. I don't want to add it myself since read-only and all that, but is it something that should be there? I should also mention I fresh installed due to this issue, yet it still persists.
Solution
Turns out this is a known issue specific to Fedora systems and 2-in-1 laptops with HID sensors.
https://bugzilla.redhat.com/show_bug.cgi?id=2324181