I ran into a very similar failure mode on a Lenovo Yoga 2 Pro running
GNOME/Wayland: `iio-sensor-proxy` and `monitor-sensor` reported the
accelerometer correctly, but Mutter reported `PanelOrientationManaged =
false` and would not automatically rotate the display.

I put together a small userspace workaround using `monitor-sensor` and
GNOME's `gdctl`:

https://github.com/full-of-beans/gnome-accelerometer-rotate

It listens for the four accelerometer orientations and applies the
corresponding transform to the built-in display. It also respects
GNOME's existing orientation-lock setting and synchronizes immediately
when rotation is unlocked.

It won't fix the underlying tablet-mode/kernel detection problem
described here, but it may be useful as a workaround on systems where
the accelerometer itself is working correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137359

Title:
  Automatic screen rotation not working on HP OmniBook X Flip
  (16-ar0xxx)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.14/+bug/2137359/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to