FRAMEWORK_TOOL(1)
π FRAMEWORK_TOOL π
okay bestie, welcome to framework_tool(1) β the General Commands Manual girlie of your dreams β¨
β¨ NAME β¨
framework_tool β control and query Framework Computer systems π»π¦
πΈ SYNOPSIS πΈ
framework_tool [-v -...] command [argument]
π DESCRIPTION π
so like, framework_tool is a command-line utility for interacting with Framework Computer laptops and desktops. no cap. it talks to the Embedded Controller (EC) to query firmware versions, battery and USB-C status, thermal data, privacy and intrusion switches, and expansion card details. it's giving full system gossip. π
it can also adjust system settings and flash EC firmware. main character energy fr fr.
β οΈ heads up babe: most operations require root privileges. don't forget your sudo or she simply will not cooperate π
β¨ OPTIONS β¨
π§ Firmware Information
--versionsβ list current firmware versions (BIOS, EC, PD controllers, retimer, touchpad, touchscreen). the whole squad, accounted for π--versionβ show tool version information. add-vvfor more details, iykyk--featuresβ show features supported by the firmware--esrtβ display the UEFI ESRT table--meinfo [dmidecode-dump]β show Intel ME information from SMBIOS. optionally provide a path to admidecodebinary dump file π--boardidβ print all board IDs--pd-binfile β parse version from a PD firmware binary file--ec-binfile β parse version from an EC firmware binary file--capsulefile β parse UEFI capsule information from a binary file--h2o-capsulefile β parse H2O BIOS capsule information from a binary file--dumpfile β dump extracted UX capsule bitmap image to a file πΌοΈ
π System Status
--powerβ show current power status of battery and AC. add-vvfor more details.--thermalβ print thermal information (temperatures and fan speed) π₯--sensorsβ print sensor information (ALS, G-Sensor)--pdportsβ show USB-C PD port state--pdports-chromebookβ show PD port info (generic Chromium EC)--pd-infoβ show details about the PD controllers--dp-hdmi-infoβ show details about connected DisplayPort or HDMI expansion cards--audio-card-infoβ show details about connected audio expansion cards. requires root--privacyβ show privacy switch statuses (camera and microphone) π--intrusionβ show status of the intrusion switch--inputdeckβ show status of the input modules (Framework 16 only)--expansion-bayβ show status of the expansion bay (Framework 16 only)--get-gpio [name]β get GPIO value by name, or all GPIOs if no name is given--stylus-batteryβ check stylus battery level (USI 2.0 stylus only) ποΈ--uptimeinfoβ show EC uptime information--s0ix-counterβ show S0ix counter--console recent|followβ read EC console output πΊ
π Settings
--kblight [percent]β get or set keyboard backlight percentage β¨--charge-limit [percent]β get or set the maximum battery charge limit--charge-current-limitmilliwatts[port]β set maximum charge current limit--charge-rate-limitrate[port]β set maximum charge rate limit--fp-led-level [level]β get or set fingerprint LED brightness level--fp-brightness [percent]β get or set fingerprint LED brightness percentage--tablet-mode auto|on|offβ set tablet mode override--touchscreen-enable true|falseβ enable or disable the touchscreen--inputdeck-mode auto|on|offβ set input deck power mode (Framework 12, 13, 16)--fansetduty [fan percent]β set fan duty cycle (0-100%) π¬οΈ--fansetrpm [fan rpm]β set fan speed in RPM--autofanctrl [fan]β turn on automatic fan speed control--ec-hib-delay [seconds]β get or set EC hibernate delay (S5 to G3 transition)--remap-keymatrix from to β remap a key by changing its scancode β¨οΈ--rgbkbdstart color ... β set per-key RGB colours starting at start π
π₯ Firmware Flashing
π okay these ones are serious. read the warnings, bestie. like actually.
--flash-ecfile β flash EC (RO and RW) with new firmware. may render hardware unbootable. requires--force--flash-ro-ecfile β flash EC RO region with new firmware. may render hardware unbootable. requires--force--flash-rw-ecfile β flash EC RW region with new firmware--dump-ec-flashfile β dump EC flash contents to a file--flash-full-ecfile β flash full EC flash (RO, RW, and all regions) with new firmware. may render hardware unbootable. requires--force--dp-hdmi-updatefile β update the firmware of a connected DisplayPort or HDMI expansion card
π Advanced Options
--drivertype β select the EC driver to use. by default port I/O is used--pd-addrsaddr1 addr2 addr3 β specify I2C addresses of the PD chips. must be used together with--pd-ports--pd-portsport1 port2 port3 β specify I2C ports of the PD chips. must be used together with--pd-addrs--host-commandcmd version[data ...]β send a raw EC host command--pd-resetcontroller β reset a specific PD controller (for debugging only).--pd-disablecontroller β disable all ports on a specific PD controller (for debugging only)--pd-enablecontroller β enable all ports on a specific PD controller (for debugging only)--reboot-ecmode β control EC RO/RW jump--devicetype β hardware device type to compare against--compare-version--compare-versionversion β version string to compare with the on-device version.--hashfile β hash a file of arbitrary data using the EC hash algorithm--testβ run self-test to check if EC communication is working π§ͺ--test-retimerβ run self-test to check if retimer communication is working--dry-runβ simulate execution of a command without applying changes--forceβ allow execution of unsafe commands
β General Options
-vβ increase verbosity. repeat for more output (e.g.,-vv)-h,--helpβ print help information
π EXIT STATUS π
the framework_tool utility exits 0 on success, and >0 if an error occurs.
translation: 0 = slay, >0 = not slay π
π¦ EXAMPLES π¦
list all firmware versions:
# framework_tool --versions
show battery and AC status:
# framework_tool --power
get keyboard backlight level:
# framework_tool --kblight
set keyboard backlight to 50%:
# framework_tool --kblight 50
set battery charge limit to 80%:
# framework_tool --charge-limit 80
parse version from EC firmware file:
$ framework_tool --ec-bin ec.bin
flash EC RW firmware:
# framework_tool --flash-rw-ec ec_rw.bin
πΈ SEE ALSO πΈ
(the one other page in the group chat π)
π AUTHORS π
framework_tool was written by Framework Computer Inc <hello@frame.work> π«Ά
this manual page was written by Nadzeya Hutsko <nadzeya@debian.org> β icon behavior, genuinely β¨
and that's the whole page bestie!! go forth and query your EC π
Debian Β· April 8, 2026 Β· FRAMEWORK_TOOL(1) β mwah, love u, bye ππ¦β¨
π¦ where this page comes from
- ubuntu stonking: framework-tool 0.6.5-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms