Skip to content

Commit 5e8397e

Browse files
committed
--inputdeck-mode: Mention laptop 12
Not implemented yet, but may come soon in EC. Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent eb90e30 commit 5e8397e

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

EXAMPLES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Options:
8282
--inputdeck
8383
Show status of the input modules
8484
--inputdeck-mode <INPUTDECK_MODE>
85-
Set input deck power mode [possible values: auto, off, on] (Framework 13 and 16) [possible values: auto, off, on]
85+
Set input deck power mode [possible values: auto, off, on] (Laptop 12, 13, 16) [possible values: auto, off, on]
8686
--expansion-bay
8787
Show status of the expansion bay (Framework 16 only)
8888
--charge-limit [<CHARGE_LIMIT>]

framework_lib/src/chromium_ec/command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pub enum EcCommands {
9090
PriavcySwitchesCheckMode = 0x3E14,
9191
/// Not used by this library
9292
ChassisCounter = 0x3E15,
93-
/// Check the status of the input module deck (Framework 13 and 16)
93+
/// Check the status of the input module deck (Laptop 12, 13, 16)
9494
CheckDeckState = 0x3E16,
9595
/// Not used by this library
9696
GetSimpleVersion = 0x3E17,

framework_lib/src/commandline/clap_std.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ struct ClapCli {
167167
#[arg(long)]
168168
inputdeck: bool,
169169

170-
/// Set input deck power mode [possible values: auto, off, on] (Framework 13 and 16)
170+
/// Set input deck power mode [possible values: auto, off, on] (Laptop 12, 13, 16)
171171
#[arg(long)]
172172
inputdeck_mode: Option<InputDeckModeArg>,
173173

framework_lib/src/commandline/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,7 @@ Options:
18631863
--s0ix-counter Show S0ix counter
18641864
--intrusion Show status of intrusion switch
18651865
--inputdeck Show status of the input deck
1866-
--inputdeck-mode Set input deck power mode [possible values: auto, off, on] (Framework 13 and 16)
1866+
--inputdeck-mode Set input deck power mode [possible values: auto, off, on] (Framework 12, 13, 16)
18671867
--expansion-bay Show status of the expansion bay (Framework 16 only)
18681868
--nvidia Show NVIDIA GPU information (Framework 16 only)
18691869
--charge-limit [<VAL>] Get or set battery charge limit (Percentage number as arg, e.g. '100')

framework_tool/completions/fish/framework_tool.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ complete -c framework_tool -l flash-full-ec -d 'Flash full EC flash with new fir
2626
complete -c framework_tool -l flash-ec -d 'Flash EC (RO+RW) with new firmware from file - may render your hardware unbootable!' -r -F
2727
complete -c framework_tool -l flash-ro-ec -d 'Flash EC with new RO firmware from file - may render your hardware unbootable!' -r -F
2828
complete -c framework_tool -l flash-rw-ec -d 'Flash EC with new RW firmware from file' -r -F
29-
complete -c framework_tool -l inputdeck-mode -d 'Set input deck power mode [possible values: auto, off, on] (Framework 13 and 16)' -r -f -a "auto\t''
29+
complete -c framework_tool -l inputdeck-mode -d 'Set input deck power mode [possible values: auto, off, on] (Laptop 12, 13, 16)' -r -f -a "auto\t''
3030
off\t''
3131
on\t''"
3232
complete -c framework_tool -l charge-limit -d 'Get or set max charge limit' -r

framework_tool/completions/zsh/_framework_tool

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ _framework_tool() {
3636
'--flash-ec=[Flash EC (RO+RW) with new firmware from file - may render your hardware unbootable!]:FLASH_EC:_files' \
3737
'--flash-ro-ec=[Flash EC with new RO firmware from file - may render your hardware unbootable!]:FLASH_RO_EC:_files' \
3838
'--flash-rw-ec=[Flash EC with new RW firmware from file]:FLASH_RW_EC:_files' \
39-
'--inputdeck-mode=[Set input deck power mode \[possible values\: auto, off, on\] (Framework 13 and 16)]:INPUTDECK_MODE:(auto off on)' \
39+
'--inputdeck-mode=[Set input deck power mode \[possible values\: auto, off, on\] (Laptop 12, 13, 16)]:INPUTDECK_MODE:(auto off on)' \
4040
'--charge-limit=[Get or set max charge limit]::CHARGE_LIMIT:_default' \
4141
'*--charge-current-limit=[Set max charge current limit]:CHARGE_CURRENT_LIMIT:_default' \
4242
'*--charge-rate-limit=[Set max charge current limit]:CHARGE_RATE_LIMIT:_default' \

0 commit comments

Comments
 (0)