Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please read before reporting Tablet Mode detection issues #308

Open
sebanc opened this issue Jun 13, 2020 · 2 comments
Open

Please read before reporting Tablet Mode detection issues #308

sebanc opened this issue Jun 13, 2020 · 2 comments

Comments

@sebanc
Copy link
Owner

sebanc commented Jun 13, 2020

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:

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

  2. 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).

  3. 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).

  4. 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"

@Skawtnyc
Copy link

I chose to use force_tablet_mode on my Surface Go. It works, and when I have it connected to my desktop setup with keyboard and mouse, it properly shifts to desktop mode.

@nadlax
Copy link

nadlax commented Aug 2, 2020

Is there a way to force clamshell Mode? My laptop has been forced to tablet mode at all times and ctrl+alt+shift+t doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants