Currently, the Linux kernel lacks a lot of tablet mode detection drivers (most Linux DE don't use it).
Here are the possibilities you have if Tablet Mode detection is not working on your device:
-
Run "sudo udevadm monitor" in crosh shell and fold your device in tablet mode. If you see keyboard disconnection events, tablet mode switching can probably be reproduced based on those events. In that case, create an issue and attach "sudo udevadm monitor" output.
-
Try to look around on Linux forums / GitHub and see if there is not someone nice who wrote a
kernel module for tablet mode detection on your device. If that's the case, create an issue with the link to the driver and I will try to implement it. (it has to be kernel code, not bash scripts that hijack acpi events).
-
Use the keyboard shortcut CTRL+ALT+SHIFT+T to toggle manually between laptop mode and tablet mode (this shortcut might not work if you have a kernel driver reporting tablet mode capability even though it does not actually send tablet mode events).
-
Use "options=sysfs_tablet_mode" and trigger tablet mode from crosh with:
echo 1 | sudo tee /sys/bus/platform/devices/tablet_mode_switch.0/tablet_mode
Alternatively, if you want your device to always be in tablet mode, use "options=force_tablet_mode"
Currently, the Linux kernel lacks a lot of tablet mode detection drivers (most Linux DE don't use it).
Here are the possibilities you have if Tablet Mode detection is not working on your device:
Run "sudo udevadm monitor" in crosh shell and fold your device in tablet mode. If you see keyboard disconnection events, tablet mode switching can probably be reproduced based on those events. In that case, create an issue and attach "sudo udevadm monitor" output.
Try to look around on Linux forums / GitHub and see if there is not someone nice who wrote a
kernel module for tablet mode detection on your device. If that's the case, create an issue with the link to the driver and I will try to implement it. (it has to be kernel code, not bash scripts that hijack acpi events).
Use the keyboard shortcut CTRL+ALT+SHIFT+T to toggle manually between laptop mode and tablet mode (this shortcut might not work if you have a kernel driver reporting tablet mode capability even though it does not actually send tablet mode events).
Use "options=sysfs_tablet_mode" and trigger tablet mode from crosh with:
echo 1 | sudo tee /sys/bus/platform/devices/tablet_mode_switch.0/tablet_mode
Alternatively, if you want your device to always be in tablet mode, use "options=force_tablet_mode"