MSTREG(1)

๐Ÿ“ฆ
version 4.37.0_1.1 ยท 3 versions
, in centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– 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