Dell S4148F-ON Open Networking Hardware Diagnostic Guide June 2018 - Page 39
get output, i2ctool, Tests, CLI options
View all Dell S4148F-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 39 highlights
36 PMU_SUSCLK OUT LOW 0 37 PMU_SLP_DDRVTT_B IN LOW 0 38 PMU_SLP_LAN_B IN LOW 0 39 PMU_WAKE_B OUT LOW 0 40 PMU_PWRBTN_B IN LOW 0 49 GBE_SDP0_1 IN LOW 0 50 GBE_LED0 IN LOW 0 51 GBE_LED1 IN LOW 0 52 GBE_LED2 IN LOW 0 53 GBE_LED3 IN LOW 0 54 NCSI_RXD1 OUT LOW 0 55 GBE_MDIO0_I2C_CLK OUT LOW 0 58 GBE_MDIO1_I2C_DATA IN LOW 0 59 JTAG_TRST OUT LOW 0 root@dell-diag-os:~# get output root@dell-diag-os:~# gpiotool --get --pin=1 Chip 0 Core Gpio bits: 60 CORE gpiochip196 Bit Name Dir Value set output root@amazon:/opt/dellemc/diag/bin# ./gpiotool --set --pin=1 --val=1 i2ctool The i2ctool allows for scanning, reading, and writing of the I2c bus devices. To read and write to devices on the i2c bus, use the i2ctool. The i2ctool also scans the i2c busses and reports what devices are found. The scan reads address 0x0 from all the devices in the address range of 0x0 to 0x7f on all i2c busses present. The i2ctool does not automatically traverse MUXes along the i2c bus. Other tools use this tool to read i2c device information and pass the results back through a named pipe. Tests To test, the i2ctool has a configuration file that lists all the devices on the busses. The tool runs through the list and tries to reach the devices. The i2ctool reports when a device is not returning data. CLI options DellEmc Diag - I2C Tool version 1.5, x.xx.x.x-x build, 2017/05/23, Syntax: i2ctool To Scan the (Specific) I2C devices:= i2ctool --scan [--bus=/dev/i2c- ] (or) i2ctool -n [-b /dev/i2c-] To Test the pre-programmed configuration or from config file:= i2ctool --test [-- Dell EMC DAIG-OS tools 39