Tablet mode in KDE? (auto-rotate, virtual keyboard)

Should someone stumble on this topic while troubleshooting:
If you are on Arch or NixOS and the first option ‘Automatically enable…’ does not work, this is because for this to work pinctrl_tigerlake needs to be loaded before soc_button_array.
Some distros (for example arch) load pinctrl_tigerlake as a module instead of building it into the kernel resulting in it being loaded after soc_button_array.


To fix this in Arch:

add

MODULES=(pinctrl_tigerlake)

to /etc/mkinitcpio.conf


To fix this on NixOS
add

  boot.initrd.kernelModules = [ "pinctrl_tigerlake" ];

to configuration.nix


For more info look here:

3 Likes