MSTREG(1)
๐ MSTREG(1) โ the user commands era ๐
okay bestie, welcome to mstreg, page 1 of the manual, and yes she lives in the User Commands section because she IS the moment. ๐
โจ NAME โจ
mstreg โ Expose supported access registers ๐
๐ธ DESCRIPTION ๐ธ
lowkey this whole page is the tool talking about herself, so here's the full self-intro, kept exactly as she wrote it ๐ซถ
๐ฆ NAME:
mstreg
๐ฆ SYNOPSIS:
mstreg [OPTIONS]
๐ฆ DESCRIPTION:
Exposes supported access registers, and allows users to obtain information regarding the registers fields and attributes, and to set and get data with specific register. โจ
๐ฆ OPTIONS:
-h|--helpโ Display help message. ๐-v|--versionโ Display version info. ๐ท๏ธ-d|--device<device>โ Perform operation for a specified mst device. ๐-a|--adb_file<adb_file>โ An external ADB file ๐--reg_name<reg_name>โ Known access register name ๐ท๏ธ--reg_id<reg_ID>โ Access register ID ๐ข--reg_len<reg_length>โ Access register layout length (bytes) ๐-i|--indexes<idxs_vals>โ Register indexes ๐งฎ-g|--getโ Register access GET ๐ซณ-s|--set<reg_dataStr>โ Register access SET โ๏ธ--show_reg<reg_name>โ Print the fields of a given reg access (must have reg_name) ๐--show_regsโ Print all available reg access' ๐๏ธ--yesโ Non-interactive mode, answer yes to all questions ๐
๐ Examples:
Show all available access register
mstreg -d <device> --show_regs
Show all fields of register PAOS
mstreg -d <device> --show_reg PAOS
GET PAOS with indexes: local port 0x1 and swid 0x5:
mstreg -d <device> --get --reg_name PAOS --indexes "local_port=0x1,swid=0x5"
SET PAOS with indexes: local port 0x1 and swid 0x5, and data: e 0x0:
mstreg -d <device> --set "e=0x0" --reg_name PAOS --indexes "local_port=0x1,swid=0x5"
๐ SEE ALSO ๐
mstflint(1)โ her sister, go say hi ๐ซถ
that's the whole vibe, bestie โ no cap, nothing skipped, nothing invented, every flag got her moment on the runway. ๐ โจ
๐ cute sign-off: this lil page came from mstflint, dated March 2020, and yes it's still MSTREG(1) at the bottom, iconic behavior only ๐๐
๐ฆ where this page comes from
- centos-stream 10: mstflint 4.37.0_1.1-2.el10 ยท (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- centos-stream 9: mstflint 4.34.0-5.el9 ยท GPLv2+ or BSD
- debian trixie: mstflint 4.31.0+1-4 ยท BSD-2-Clause OR GPL-2.0-only
- fedora 43: mstflint 4.32.0^20250517git48a1454-2.fc43 ยท (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- fedora 43: mstflint 4.37.0_1.1-2.fc43 ยท (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- fedora 44: mstflint 4.34.0-2.fc44 ยท (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- fedora 44: mstflint 4.37.0_1.1-2.fc44 ยท (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- nixos 26.05: mstflint 4.36.0-1
- nixpkgs unstable: mstflint 4.37.0-1
- ubuntu noble: mstflint 4.26.0+1-2ubuntu3 ยท BSD-2-Clause OR GPL-2.0-only
- ubuntu questing: mstflint 4.33.0+1-1
- ubuntu resolute: mstflint 4.33.0+1-1.1 ยท BSD-2-Clause OR GPL-2.0-only
- ubuntu stonking: mstflint 4.33.0+1-1.1build1 ยท BSD-2-Clause OR GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms