Power measurement fails on Hailo-10H M.2 module (both OVERCURRENT_PROTECTION and default AUTO)

Hi, I’m trying to measure power consumption on my Hailo-10H M.2 module but every approach fails, despite documentation suggesting it should work out-of-the-box.

Environment:

  • Device: Hailo-10H, M.2 Key M (2242/2280), confirmed via vendor spec sheet

  • Interface: PCIe Gen 3.0, 4 lanes

  • HailoRT: 5.3.0 (hailort + hailort-pcie-driver packages, arm64, installed via apt)

  • Host: NVIDIA Jetson AGX Orin, JetPack 6.1.0

  • hailortcli fw-control identify confirms: Device Architecture HAILO10H, Boot source PCIE

What the documentation says:
The Python Power Measurement Tutorial (HailoRT 5.3.0 User Guide, section 5.6) states that power measurement requires an INA231 sensor on the board, and that:

“The default for platforms supporting current monitoring, such as M.2 and mPCIe modules, is DvmTypes.OVERCURRENT_PROTECTION, which measures the power consumption of the whole module.”

Since my module is confirmed M.2, I expected this to work by default.

What actually happens:

  1. Explicitly requesting the documented default DVM for M.2 modules:
$ hailortcli measure-power --duration 1 --dvm OVERCURRENT_PROTECTION
Executing on device: pci/0005:01:00.0
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_ARGUMENT(2)
Failed to set power measurement parameters, status HAILO_INVALID_ARGUMENT(2)
Failed power measurement, status HAILO_INVALID_ARGUMENT(2)
Failed to execute on device: pci/0005:01:00.0. status= HAILO_INVALID_ARGUMENT(2)
  1. Just running with default (AUTO) DVM selection, no explicit --dvm:
$ hailortcli measure-power --duration 1
Executing on device: pci/0005:01:00.0
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OPEN_FILE_FAILURE(13)
Failed to start power measurement, status HAILO_OPEN_FILE_FAILURE(13)
Failed power measurement, status HAILO_OPEN_FILE_FAILURE(13)
Failed to execute on device: pci/0005:01:00.0. status= HAILO_OPEN_FILE_FAILURE(13)
  1. Same result from a different DVM (VDD_CORE) — also HAILO_OPEN_FILE_FAILURE(13).

  2. Same failure reproduced at the Python API level, bypassing the CLI entirely:

python

from hailo_platform import Device
target = Device()
power = target.control.power_measurement()
hailo_platform.pyhailort._pyhailort.HailoRTException: libhailort failed with error: 13 (HAILO_OPEN_FILE_FAILURE)

Also tried, as a benchmark side-effect:

$ hailortcli benchmark <hef> --power-mode performance
...
Measurement power is not supported
Measurement current is not supported

My question:

  • OVERCURRENT_PROTECTION fails with HAILO_INVALID_ARGUMENT, suggesting the DVM itself isn’t recognized as valid on my device — even though the docs say this should be the default for M.2 modules.

  • Every other DVM fails with HAILO_OPEN_FILE_FAILURE, suggesting something at a lower level (driver / sysfs / device file) isn’t available.

Is power measurement expected to work out-of-the-box on a standard Hailo-10H M.2 module, or does it require something extra (specific firmware config, a board revision with INA231 populated, a driver component not included in the standard apt package)? What does HAILO_OPEN_FILE_FAILURE typically indicate in this context, and is there a way to check from software whether my specific board actually has the INA231 populated?

Thanks in advance!

Power measurement is currently available only on the Hailo-10H M.2 2280 Starter Kit (Part Number: HM22HB1C2XAE ).

To verify whether your board supports power measurement, run:

hailortcli fw-control identify --extended

On a supported board, you should see output similar to the following:

Executing on device: pci/0000:3b:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 5.3.0 (release,app)
Logger Version: 0
Device Architecture: HAILO10H
Boot source: PCIE
Device supported features: PCIE, Power Measurement
LCS: 5
SoC ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
PM Values: 0000007201000020010000E7000000000000000000000000
Board SKU-ID: 0
Chip Serial Number: XXXXXXXXXXXXXXXXXXXXXXXX

If the Device supported features field lists only PCIE , then you have a standard M.2 module that does not include the INA power measurement device.

Note: The Hailo-10H M.2 2242 Starter Kit does not include an INA device because the 2242 form factor does not provide enough board space to accommodate it.