NVIDIA Firmware Tools (MFT) Documentation v4.22.1 LTS
NVIDIA ConnectX-5 Adapter Cards Firmware Release Notes v16.35.3502 LTS

mlxi2c Utility

The mlxi2c utility provides a way to route the I2C bus to 4th generation (Group I) switches.

The mst driver must be started prior to running mlxi2c.

To start mlxi2c:

  1. Start the mst driver (mst start or mst restart). Note: This step in not required in Windows.

  2. Run mlxi2c with the following command line syntax:

    Copy
    Copied!
                

    # mlxi2c [switches...] <command> [parameters...]

Switches Options

-d <device>

mst i2c device name default: "/dev/mst/mtusb-1" Affected commands: all

-h

Print this help information

-s, --i2c-secondary <address>

Change the I2C secondary address.

-v

Print version and exit

Commands

p <i2c_component>

Route the i2c path to the indicated i2c component

scan

Scan the i2c slave addresses

Example:

Display the addresses of all I2C-accessible devices:

Copy
Copied!
            

# mlxi2c -d /dev/mst/mtusb-1 scan

© Copyright 2023, NVIDIA. Last updated on Oct 11, 2023.