ThinkPad X1 Yoga 4th tablet mode is not being detected by OS

Hi, I use fedora 42 with KDE Plasma. When I fold my laptop, keyboard and touchpad do turn off, but conditional screen rotation does not detect it and my screen does not rotate. It rotates though if I remove “Only when in tablet mode” tick in rotation settings.

Hi @gjwsx and welcome to :fedora:

This does not help you: It works on my X1 Yoga 6th gen… :slightly_smiling_face:

The symptoms you describe could indicate KDE does not get the SW_TABLET_MODE event? To check this, you could verify that the window decorations get larger when the screen is folded beyond 180 degrees (e.g. open the KDE file browser and watch the maximize/minimize buttons grow to double size).

Not a big help, but something to get you started with Google or ChatGPT research :+1:

/Jaybe

that’s exactly the point - nothing changes except for keyboard turning off and while tracking events it does not catch that exact event at all

I believe the event is handled by the thinkpad_acpi kernel module. Can you try:

~ ❯ lsmod | grep thinkpad_acpi
thinkpad_acpi         204800  0

(more lines are output, but the one above shows the module is loaded)

/Jaybe

i guess the module is loaded:

> lsmod | grep thinkpad_acpi
thinkpad_acpi         204800  0