Dell PowerSwitch S4128F-ON Open Networking Hardware Diagnostic Guide June 2018 - Page 40
Outputscan Output, w, --write
![]() |
View all Dell PowerSwitch S4128F-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 40 highlights
config=] (or) i2ctool -t [-f ] Execute repeatedly command by count:= i2ctool --iteration=max/ [option1] [option2]... (or) i2ctool -I max/ [option1] [option2]... Read:= i2ctool --read --bus=/dev/i2c- --addr= --reg= -- count= --width= --display_size= (or) i2ctool -r -b /dev/i2c- -a -R -C -W -D Read(16 bit addressing):= i2ctool --read --bus=/dev/i2c- --addr= --reg16= [--reg_le] --count= --width= --display_size= (or) i2ctool -r -b /dev/i2c- -a -o [-L] -C - W -D Write:= i2ctool --write --bus=/dev/i2c- --addr= --reg= -- width= --val= (or) i2ctool -w -b /dev/i2c- -a -R -W -V Write(16 bit addressing):= i2ctool --write --bus=/dev/i2c- --addr= --reg16= [--reg_le] --val= (or) i2ctool -w -b /dev/i2c- -a -o [-L] -V Usage: -h, --h -n, --scan -t, --test -r, --read -w, --write -f, --config= -C, --count= -R, --reg= -o, --reg16= -V, --val= -W, --width= -b, --buspath= -a, --addr= -D, --display_size= -I, --iteration= Show the help text Scan operation Test using the pre-programmed configuration or use supplied config Read operation Write operation To specify the location of the config file e.g. /etc/dn/diag/ Count Register Register(16 bit addressing) Value to be set Width {8,16} To specify the i2c bus e.g.: /dev/i2c- Address Display size, {1,2,4} of bytesDisplay size, {1,2,4} of bytes Iteration command execution Output NOTE: The i2ctool does not automatically scan multiple MUXed segments. Before scanning, you MUST set the MUXes to select the devices you want to see on the busses. By default, the i2ctool scans the i2c devices from the root MUX where it sees the list of devices directly connected to the CPU MUX. The default scan function scans all connected busses. By specifying a bus, you can limit the scan to one bus. In the scan data, RR indicates a reserved address which is not used for any devices and UU indicates that the device is busy or mapped to the OS. scan Output root@dell-diag-os:/etc/dn/diag# i2ctool --scan 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: RR RR RR RR RR RR RR RR 10 18 -- 1a 20 2e -30: 30 -- 32 40 50: 50 -- 52 40 Dell EMC DAIG-OS tools
![](/manual_guide/products/dell-powerswitch-s4128fon-open-networking-hardware-diagnostic-guide-2018-c714f1f/40.png)