Hi All,
I have been trying to get tablet mode working on the laptop with no success. Seeking some help here.
Hardware: Asus Flow X16, AMD Ryzen 7 6800HS with Radeon Graphics, NVIDIA GA106M, 16 GB RAM
Software: Manjaro Linux, KDE Plasma, Wayland
What I Tried: I tried the options mentioned in “wiki .archlinux . org/title/Tablet_PC#Tablet_mode”
- iio-sensor-proxy or and kded-rotation-git - It enables screen rotation, but doesn’t disable keyboard or touchpad in tablet mode with screen rotated 360 deg.
- linuxflip-git - Did not work.
- detect-tablet-mode-git - I am on Wayland, hence, xinput would not work.
- tablet-mode - It didn’t work either. Kept giving the below error:
user@computer /u/s/applications> setsysmode
Traceback (most recent call last):
File "/usr/bin/setsysmode", line 33, in <module>
sys.exit(load_entry_point('tabletmode==2.2.0', 'console_scripts', 'setsysmode')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/tabletmode/cli.py", line 117, in main
config = load_config()
^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/tabletmode/config.py", line 20, in load_config
return load(cfg)
^^^^^^^^^
File "/usr/lib/python3.12/json/__init__.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 3 column 70 (char 87)
The json file used for tablet-mode was as follows:
{
"tablet": [
"/dev/input/by-path/pci-0000:09:00.3-usb-0:3:1.2-event-kbd", # Replace with your keyboard path
"/dev/input/by-path/pci-0000:09:00.3-usb-0:3:1.3-event-mouse" # Replace with your mouse path
],
"notify": false,
"sudo": "/usr/bin/doas"
}
Any suggestion on how can we enable tablet mode on Arch or Arch derivatives would be much appreciated.