Skip to content

Commit 56522d2

Browse files
EXAMPLES_ADVANCED: Document --tablet-mode (#200)
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 6559368 commit 56522d2

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

EXAMPLES_ADVANCED.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Left / Ports 23
3939
> sudo framework_tool --pd-enable 0
4040
```
4141

42-
### Check EFI Resource Table
42+
## Check EFI Resource Table
4343

4444
On Framework Desktop:
4545

@@ -60,6 +60,30 @@ ESRT Entry 0
6060
Last Attempt Status: Success
6161
```
6262

63+
## Manually overriding tablet mode status
64+
65+
If you have a suspicion that the embedded controller does not control tablet
66+
mode correctly based on Hall and G-Sensor, you can manually force a mode.
67+
68+
This may also be useful if you want to use the touchpad and keyboard while the
69+
lid is folded back - for example if you're using an external display only (Cyberdeck).
70+
In this case you can force laptop mode.
71+
72+
Tablet mode:
73+
- Sets a GPIO connected to the touchpad to disable it
74+
- Stops the EC from sending keypresses to the CPU
75+
76+
```
77+
# Force tablet mode to disable touchpad and keyboard
78+
> framework_tool --tablet-mode tablet
79+
80+
# Force laptop mode to always keep touchpad and keyboard enabled
81+
> framework_tool --tablet-mode laptop
82+
83+
# Let the EC handle tablet mode automatically based on sensors
84+
> framework_tool --tablet-mode auto
85+
```
86+
6387
## Flashing EC firmware
6488

6589
**IMPORTANT** Flashing EC firmware yourself is not recommended. It may render

0 commit comments

Comments
 (0)