It seems that installing libinput-tools (and its dependencies) solved the problem, somewhat.
Now, after flipping to tablet mode, it works, but it flipping back to laptop mode doesn't activate the keyboard and trackpad.
I also installed a screen rotator tool, which works for about few seconds after flipping to tablet mode, but it stops working after, which I believe is related to the issue I'm experiencing I think,
It seems that installing libinput-tools (and its dependencies) solved the problem, somewhat.
Now, after flipping to tablet mode, it works, but it flipping back to laptop mode doesn't activate the keyboard and trackpad.
I also installed a screen rotator tool, which works for about few seconds after flipping to tablet mode, but it stops working after, which I believe is related to the issue I'm experiencing I think,
Screen rotator GitHub page: https:/ /github. com/GuLinux/ ScreenRotator