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

Troubles with Tablet Mode #1978

Closed
phitschhd opened this issue Dec 10, 2023 · 4 comments
Closed

Troubles with Tablet Mode #1978

phitschhd opened this issue Dec 10, 2023 · 4 comments

Comments

@phitschhd
Copy link

phitschhd commented Dec 10, 2023

Hi,
first of all thank you for this great project!
Device: HP Elite X2 G8 (with detachable keyboard)
Describe Problem: When i detach my keyboard, then ChromeOS goes correctly in the tablet-mode, but the onscreen keyboard doesn’t appear and the auto rotate is also not available. If i activate the force_enable_tablet mode in the brunch framework settings the tablet mode works perfectly (with onscreen keyboard and also the rotation) but the detachable keyboard doesn’t work (i cannot make any inputs) when i connect it to the tablet. Except the f keys and the touchpad from the keyboard works when force_tablet_mode is enabled.

@phitschhd
Copy link
Author

phitschhd commented Dec 16, 2023

Update: I managed it to work properly by adding the right kernel (04F3:0C79) for my device in the /lib/udev/rules.d/99-tablet-mode.rules file.
@sebanc could you please add
ACTION=="add", SUBSYSTEMS=="hid", KERNEL=="*:04F3:0C79.*" , RUN+="/bin/bash -c 'echo 0 > /sys/bus/platform/devices/tablet_mode_switch.0/tablet_mode'"
ACTION=="remove", SUBSYSTEMS=="hid", KERNEL=="*:04F3:0C79.*" , RUN+="/bin/bash -c 'echo 1 > /sys/bus/platform/devices/tablet_mode_switch.0/tablet_mode'" in the 99-tablet-mode.rules file so that I don't have to change it every time I do a brunch update?

@sebanc
Copy link
Owner

sebanc commented Jan 1, 2024

Hi,

Your patch is included in brunch r119 stable release.

@phitschhd
Copy link
Author

Hi, thanks, appreciate your work! :)

@tenda96
Copy link

tenda96 commented Jun 27, 2024

hi could you please add mine too? (is a dell latitude 5290 2in1)

ACTION=="add", SUBSYSTEMS=="hid", KERNEL==":044E:1218." , RUN+="/bin/bash -c 'echo 0 > /sys/bus/platform/devices/tablet_mode_switch.0/tablet_mode'"
ACTION=="remove", SUBSYSTEMS=="hid", KERNEL==":044E:1218." , RUN+="/bin/bash -c 'echo 1 > /sys/bus/platform/devices/tablet_mode_switch.0/tablet_mode'"

Thank you and thanks for your work!
Let me know :)

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