Runtime Probe supports probing components and their attributes with probe functions.
The implementation of probe functions can be found in function_templates/ and functions/. Available attributes and their definition for each component could be found in runtime_probe.proto.
Note that the probe function set is different from factory probe functions.
If OEMs/ODMs have any trouble on this, please contact us.
ap_i2cRead data from a register on an AP I2C component.
Arguments:
i2c_bus (int): The bus of the I2C connected to AP.chip_addr (int): The I2C address.data_addr (int): The register offset.Result attributes:
data (uint32): The value in the register.audio_codecTBD
generic_batteryProbe battery components.
TBD
generic_cameraProbe generic camera components.
TBD
mipi_cameraProbe MIPI camera components.
TBD
usb_cameraProbe USB camera components.
TBD
cpuProbe CPU components.
TBD
ec_i2cRead data from a register on an EC I2C component.
Arguments:
i2c_bus (int): The bus of the I2C connected to EC.chip_addr (int): The I2C address.data_addr (int): The register offset.size (int, optional): The data size in bits. Default: 8.Result attributes:
data (uint32): The value in the register.edidProbe display panel components with their EDID (Extended Display Identification Data).
TBD
input_deviceProbe input devices such as stylus, touchpad, and touchscreen.
Arguments:
device_type (string, optional): Input device type: stylus, touchpad, touchscreen.Result attributes:
name (string): Device name.path (string): Pathname of the sysfs entry of the device.event (string): Event of the device.bus (uint32): Bus number. 16 bits.vendor (uint32): Vendor ID. 16 bits.product (uint32): Product ID. 16 bits.version (uint32): Version number. 16 bits.fw_version (string): Firmware version.device_type (enum InputDevice_Type): Device type: stylus, touchpad, touchscreen, unknown.dramProbe DRAM memories. Only support AMD64 platforms.
TBD
generic_networkProbe generic network components.
TBD
cellular_networkProbe cellular network components.
TBD
ethernet_networkProbe non-removable ethernet cellular components.
TBD
wireless_networkProbe wireless cellular components.
TBD
generic_storageProbe non-removable generic storage components.
TBD
ata_storageProbe non-removable ATA storage components.
TBD
mmc_storageProbe non-removable eMMC storage components.
TBD
nvme_storageProbe non-removable NVMe storage components.
TBD
ufs_storageProbe non-removable UFS storage components.
TBD
tcpcProbe TCPC components.
Result attributes:
port (uint32): The USB-C port number. 8 bits.vendor_id (uint32): Vendor ID. 16 bits.product_id (uint32): Product ID. 16 bits.device_id (uint32): Device ID. 16 bits.tpmProbe TPM components.
TBD