Have upgraded to Ubuntu 25.10 and it seems the screen rotation in tablet mode has stopped working. Considering it’s due for release tomorrow I’d be surprised if the issue is fixed between now and then.
Perhaps a precaution before anyone upgrades, but any ideas? It was working fine with 25.04.
i normally run Arch, but just downloaded and live booted the questing-desktop-amd64.iso from 2025-10-07 03:55 and the live environment at least, appears to switch to tablet mode and rotates the screen without any issues.
What i notice is that if i sit in the settings window for displays, the “orientation” option goes away when i rotate the screen open to flip it backwards, at that point the ability to rotate the screen kicks in.
Huh, you’re right, @jayasafunctionofe! I just tested with the final release and for me as well screen rotation works perfectly fine from the live USB. But once the installation is through it doesn’t work any more. Applying the `iio-sensor-proxy` doesn’t help either. How strange…
Wow, that’s so strange! I just did a fresh install to be safe, and I definitely have tablet mode working on the live usb but not after install. Installing from the final release that is. (But afaik the final release is identical to the build from 10/07.)
FYI there are two drivers that can be loaded for the lid sensor, and one of them is “wrong.” In a default configuration, at least on Arch, the order on boot is de facto random. Anyhow, the way I “fixed” it was by adding pinctrl_tigerlake to my /etc/mkinitcpio.conf’s MODULES section and rebuilding initrd. This ensures the module is installed very early on, and nothing “claims” the devices it would have.
This isn’t a problem on some other distributions, because their kernels have the tigerlake driver compiled into the kernel. Also arguably the better solution is to blacklist the “wrong” module, but honestly I don’t even remember what it was.
Yes, thank you, @GenderShrapnel! That was it! I found the issue you mentioned in the framework documentation here. Loading the modules in the right order fixes the issue for me.
That file doesn’t exist on Ubuntu, because Ubuntu 25.10 uses dracut instead of Arch’s mkinitcpio. On Ubuntu you can make the modules always load in the right order by running these two commands:
I believe that a cleaner solution is to make an extra modprobe config in /etc/modprobe.d/soc_button_array.conf:
softdep soc_button_array pre: pinctrl_tigerlake
Honestly, I wonder if this not existing in the presets (see modprobe --showconfig | grep pinctrl) counts as a bug or something. I like this approach for being specific – forcing a module in the UKI/initramfs is a bit of a hack.