06-08-2023, 08:14 AM
So I tried the tools provided in the arch wiki. At first I tried linux_detect_tablet_mode, but it didn't work because the only event that is triggered is the gyro when changing orientation.
Then I tried tablet_mode with these settings:
When running from the launcher using the icon, it didn't work, but when I ran it from the command line:
it worked, unfortunately it is very capricious, because either the gyro or some other event disables tablet mode and the keyboard starts back up, so this solution did not work in the end either.
And since 95% of the time I'll be using the PineTab2 as a tablet, I'm now more interested in a case without a keyboard.
Then I tried tablet_mode with these settings:
Code:
{
"tablet": [
"/dev/input/by-path/platform-fd840000.usb-usb-0:1:1.0-event-kbd",
"/dev/input/by-path/platform-fd840000.usb-usb-0:1:1.1-event-mouse"
],
"notify": true
}
When running from the launcher using the icon, it didn't work, but when I ran it from the command line:
Code:
sudo setsysmode toggle
it worked, unfortunately it is very capricious, because either the gyro or some other event disables tablet mode and the keyboard starts back up, so this solution did not work in the end either.
And since 95% of the time I'll be using the PineTab2 as a tablet, I'm now more interested in a case without a keyboard.