[PineTab2] Disabling the keyboard when the cover is fully open
#4
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:

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.
  Reply


Messages In This Thread
RE: [PineTab2] Disabling the keyboard when the cover is fully open - by janqbtzki - 06-08-2023, 08:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PineTab2] Case without keyboard janqbtzki 5 4,366 08-29-2023, 03:29 PM
Last Post: pakman
  Pinetab2 keyboard is not working neox 2 1,570 06-22-2023, 06:48 AM
Last Post: neox

Forum Jump:


Users browsing this thread: 4 Guest(s)