EC_PROBE(1)

๐Ÿ“ฆ
version 0.5.4 ยท 2 versions
, in nixpkgs unstable

๐Ÿ’– EC_PROBE(1) โ€” ec_probe ๐Ÿ’–

okay so this is the General Commands Manual, section 1, and we're talking about ec_probe, the probing tool for the embedded controller. Bestie, it's giving hardware-whisperer energy, iykyk, and I am obsessed. Slay. โœจ๐Ÿ’…


๐ŸŒธ NAME ๐ŸŒธ

ec_probe โ€” probing tool for the embedded controller. ๐Ÿซถ

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Probing tool for the embedded controller. That's literally the whole description, no cap. Periodt. fr fr. ๐Ÿ˜ญ๐Ÿ’–

โœจ SYNOPSIS โœจ

ec_probe {read | write | read_bit | write_bit | dump | load | monitor |
evaluate | watch | acpi_call | graph | shell} [OPTIONS]

๐Ÿ”ฅ OPTIONS ๐Ÿ”ฅ

  • -h, --help โ€” Show help message and exit. ๐Ÿซถ
  • --version โ€” Show program's version number and exit. โญ
  • -e, --embedded-controller={ec_sys,acpi_ec,dev_port} โ€” Select the implementation used to access the embedded controller. ๐Ÿ‘‘
    • ec_sys: Use the ec_sys kernel module. ๐Ÿงฉ
    • acpi_ec: Use the acpi_ec kernel module. โšก
    • dev_port: Access the embedded controller via /dev/port. ๐Ÿšช

๐ŸŽ€ COMMANDS ๐ŸŽ€

  • dump [OPTIONS] โ€” Dump all EC registers. ๐Ÿ—‚๏ธ
    • -c, --color โ€” Force colored output. ๐ŸŒˆ
    • -C, --no-color โ€” Disable colored output. ๐Ÿšซ
  • load FILE โ€” Load a previously made dump into the embedded controller. ๐Ÿ’พ
  • read [OPTIONS] REGISTER โ€” Reads REGISTER from the embedded controller and prints out the value. ๐Ÿ”Ž
    • -w, --word โ€” If given, the value of REGISTER and the value of REGISTER + 1 is read and combined into a single value. ๐Ÿซฑ
    • -f, --format FORMAT โ€” Specify output format of value. ๐ŸŽจ
      • b, B: Print value in binary.
      • d, D: Print value in decimal.
      • x, X: Print value in hexadecimal.
    • -m, --map FILE โ€” Specify a map file (generated by nbfc acpi-dump map) that is used for resolving register names. ๐Ÿ—บ๏ธ
  • write [OPTIONS] REGISTER VALUE โ€” Writes VALUE to REGISTER of the embedded controller. โœ๏ธ
    • -w, --word โ€” If given, VALUE is written into a combined register of REGISTER and REGISTER + 1. ๐Ÿซฑ
    • -m, --map FILE โ€” Specify a map file (generated by nbfc acpi-dump map) that is used for resolving register names. ๐Ÿ—บ๏ธ
  • read_bit [OPTIONS] REGISTER BIT-OFFSET โ€” Reads the bit at BIT-OFFSET from REGISTER and prints its value. ๐Ÿ”ข
    • BIT-OFFSET is the zero-based bit offset (0โ€“7). ๐ŸŽฏ
    • -m, --map FILE โ€” Specify a map file (generated by nbfc acpi-dump map) that is used for resolving register names. ๐Ÿ—บ๏ธ
  • write_bit [OPTIONS] REGISTER BIT-OFFSET VALUE โ€” Writes VALUE to the bit at BIT-OFFSET of REGISTER. ๐ŸŽฏ
    • BIT-OFFSET is the zero-based bit offset (0โ€“7). ๐Ÿ”ข
    • -d, --dry โ€” If given, shows what would be written without modifying the register. ๐Ÿ™ˆ
    • -m, --map FILE โ€” Specify a map file (generated by nbfc acpi-dump map) that is used for resolving register names. ๐Ÿ—บ๏ธ
  • monitor [OPTIONS] โ€” Monitor all embedded controller registers for changes. ๐Ÿ‘€
    • -i, --interval SECONDS โ€” Sets the update interval in seconds. โฑ๏ธ
    • -t, --timespan SECONDS โ€” Sets how many seconds the program will run. โณ
    • -r, --report FILE โ€” Save the monitored results to a CSV file. ๐Ÿ“„
    • -c, --clearly โ€” With -r|--report: Blanks out consecutive duplicate readings when writing to the CSV file. ๐Ÿงผ
    • -d, --decimal โ€” With -r|--report: Output register readings in decimal format instead of hexadecimal format. ๐Ÿ”Ÿ
    • -C, --cpu โ€” Record CPU temperatures. ๐ŸŒก๏ธ
      • A tool such as stress or stress-ng should be used to generate CPU load. ๐Ÿ”ฅ
    • -G, --gpu โ€” Record GPU temperatures. ๐ŸŽฎ
      • A tool such as stress-ng should be used to generate GPU load. ๐Ÿ”ฅ
  • evaluate [OPTIONS] FILE โ€” Evaluate a report previously made by ec_probe monitor --report FILE. ๐Ÿง 
    • This command calculates the correlation between register readings and CPU/GPU temperature. ๐Ÿ“Š
    • Note that the correlation may be reversed, meaning that higher register values can correspond to lower temperatures, and vice versa. ๐Ÿ”„
    • The ec_probe monitor --report command must be run with -C|--cpu or -G|--gpu or both. โœ…
    • The ec_probe monitor --report command must not be run with -c|--clearly. ๐Ÿšซ
    • -d, --decimal โ€” Read register values as decimal numbers. ๐Ÿ”ข
  • watch [OPTIONS] โ€” Monitor all embedded controller registers for changes (alternative version). ๐Ÿ‘๏ธ
    • -i, --interval SECONDS โ€” Sets the update interval in seconds. โฑ๏ธ
    • -t, --timespan SECONDS โ€” Sets how many seconds the program will run. โณ
  • acpi_call [OPTIONS] METHOD [ARGUMENT...] โ€” Call an ACPI Method. ๐Ÿ“ž
    • The maximum number of arguments is 8. 8๏ธโƒฃ
    • Example:
ec_probe acpi_call '\_SB.PCI0.LPCB.EC0.SFSD' 0xFF
  • -d, --dry โ€” Print the ACPI command without executing it. ๐Ÿ–จ๏ธ
  • -m, --map FILE โ€” Specify a map file (generated by nbfc acpi-dump map) that is used for resolving abbreviated method names. ๐Ÿ—บ๏ธ
  • graph [OPTIONS] FILE โ€” Visualize recordings made by ec_probe monitor --report. ๐Ÿ“ˆ
    • The ec_probe monitor --report command must not be run with -c|--clearly. ๐Ÿšซ
    • -d, --decimal โ€” Read register values as decimal numbers. ๐Ÿ”ข
    • --register-color COLOR โ€” Draw the register line in COLOR (default: blue). ๐Ÿ’™
    • --cpu-color COLOR โ€” Draw the CPU temperature line in COLOR (default: red). โค๏ธ
    • --gpu-color COLOR โ€” Draw the GPU temperature line in COLOR (default: magenta). ๐Ÿ’œ
  • shell โ€” Read commands from STDIN. ๐Ÿš

All input values are interpreted as decimal numbers by default. Use the "0x" prefix for hexadecimal values and "0b" for binary values. ๐Ÿ”ขโœจ

๐Ÿ’€ EXIT STATUS ๐Ÿ’€

  • 0 โ€” Everything fine. โœ…
  • 1 โ€” Generic error. ๐Ÿ˜ฌ
  • 2 โ€” Command-line error. ๐Ÿšง
  • 3 โ€” Initialization error. ๐Ÿงจ
  • 5 โ€” Fatal error (memory allocation failure). ๐Ÿ’ฅ

๐Ÿ› BUGS ๐Ÿ›

Report bugs to https://github.com/nbfc-linux/nbfc-linux. ๐Ÿซถ

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Benjamin Abendroth (braph93@gmx.de). ๐Ÿ’Œ

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

nbfc(1), nbfc_service(1), nbfc_service.json(5), fancontrol(1). โœจ


that's the whole manual, bestie โ€” Notebook FanControl 0.5.4, APRIL 2026, EC_PROBE(1), signing off. ๐Ÿ’–๐ŸŽ€

๐Ÿ“ฆ where this page comes from