xfce – Tablet mode: keyboard/touchpad not responsive after folding back to laptop position

I have an HP Elitebook X360, which can be folded to tablet mode.

I am running XFCE4 under GDM3 with Debian trixie.

Occasionally when I have used tablet mode, the keyboard and touchpad remain disabled when changing the position of the screen back to laptop. This is catastrophic when I haven’t an external keyboard plugged in, as the only option is to press long enough the power button to halt the computer forcefully.

It seems that it is only the DM or WM that do not heed the change from tablet to laptop, since:

  • The keyboard backlighting gets reactivated on pressing a key (it is deactivated when the computer is folded into a tablet),
  • If an external keyboard is plugged in, and I use e.g the Alt-Ctrl-F4 combination to reach a text console, there the built-in keyboard functions normally. However, switching back to X11 does not restore function either in my graphic session.

How can I monitor what is going on?

Read more here: Source link