Autorotation not working when booted up fliped (Fedora 43, Ubuntu 25.10)

Which Linux distro are you using?

Fedora, Ubuntu

Which release version?

Fedora 43 Workstation, Ubuntu 25.10

Which kernel are you using?

6.19.10-200.fc43.x86_64

Which BIOS version are you using?

03.07

Which Framework Laptop 12 model are you using? (13th Gen Intel® Core™)

When I turn on the FW12 with laptop orientation, autorotate works flawlessly when the screen is flipped. However, when I turn on with the screen flipped, screen is fixed at normal orientation, and autorotate does not work (even after folding it back to laptop mode and back to tablet).

Sensors seemed to be working, and monitor-sensor --accel reports that the orientation is flipping, but the actually display is not flipping.

I had same issue on Ubuntu 25.10 after getting sensor to work.

Thanks!