Dell N3200-ON Open Networking Hardware Diagnostic Guide July 2022 - Page 37

scan and test Output, 71 -- -- -- -- -- -- RR RR RR RR RR RR RR RR

Page 37 highlights

[-F ,...] Write(16 bit addressing):= i2ctool --write --bus=/dev/i2c- --addr= -- reg16= [--reg_le] --val= (or) i2ctool -w -b /dev/i2c- -a -o [-L] -V Write without data:= i2ctool --no_data --bus=/dev/i2c- --addr= (or) i2ctool -N -b /dev/i2c- -a Usage: -h, --h Show the help text -n, --scan Scan operation -t, --test Test using the pre-programmed configuration or use supplied config -r, --read Read operation -w, --write Write operation -N, --no_data Write operation without data -f, --config= To specify the location of the config file e.g. /etc/dn/diag/ -C, --count= Count -R, --reg= Register -o, --reg16= Register(16 bit addressing) -V, --val= Value to be set -W, --width= Width {8,16} -b, --buspath= To specify the i2c bus e.g.: /dev/i2c- -a, --addr= Address -F, --flag= Misc I2C flag, such as PEC write -D, --display_size= Display size, {1,2,4} of bytesDisplay size, {1,2,4} of bytes -I, --iteration= Iteration command execution root@dellemc-diag-os:~# scan and test Output root@dellemc-diag-os:~# i2ctool --scan /dev/i2c-0: 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 20 30: 30 31 -- -- 34 35 36 40 44 -- -- -- 48 50: 50 60 70 RR RR RR RR RR RR RR RR /dev/i2c-1: 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 20 2c -- -- -30: -- 31 32 40 49 4a 4b 4c -- -- 4f 50 60 70: -- 71 RR RR RR RR RR RR RR RR I2C devices found on bus #0: 8 0x30 0x31 0x34 0x35 0x36 0x44 0x48 0x50 I2C devices found on bus #1: 9 0x2c 0x31 0x32 0x49 0x4a 0x4b 0x4c 0x4f 0x71 root@dellemc-diag-os:~# i2ctool --test Testing I2C devices: Checking I2C devices on bus 0: + Checking CPU board Thermal Sensor_TMP75AI 0x48 ..... Passed + Checking SPD EEPROM_M34E04 0x50 ..... Passed Dell DIAG-OS tools 37

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81

<value> [-F <PEC>,...]
Write(16 bit addressing):=
i2ctool --write --bus=/dev/i2c-<bus_number> --addr=<address> --
reg16=<register(16bit)> [--reg_le] --val=<value>
(or)
i2ctool -w -b /dev/i2c-<bus_number> -a <address> -o <register(16bit)> [-L] -V
<value>
Write without data:=
i2ctool --no_data --bus=/dev/i2c-<bus_number> --addr=<address>
(or)
i2ctool -N -b /dev/i2c-<bus_number> -a <address>
Usage:
-h, --h
Show the help text
-n, --scan
Scan operation
-t, --test
Test using the pre-programmed configuration or use supplied config
-r, --read
Read operation
-w, --write
Write operation
-N, --no_data
Write operation without data
-f, --config=
To specify the location of the config file e.g. /etc/dn/diag/
<file_name>
-C, --count=
Count
-R, --reg=
Register
-o, --reg16=
Register(16 bit addressing)
-V, --val=
Value to be set
-W, --width=
Width {8,16}
-b, --buspath=
To specify the i2c bus
e.g.: /dev/i2c-<bus number>
-a, --addr=
Address
-F, --flag=
Misc I2C flag, such as PEC write
-D, --display_size=
Display size, {1,2,4} of bytesDisplay size, {1,2,4} of bytes
-I, --iteration=
Iteration command execution
root@dellemc-diag-os:~#
scan and test Output
root@dellemc-diag-os:~# i2ctool --scan
/dev/i2c-0:
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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: 30 31 -- -- 34 35 36 -- -- -- -- -- -- -- -- --
40: -- -- -- -- 44 -- -- -- 48 -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- RR RR RR RR RR RR RR RR
/dev/i2c-1:
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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- 2c -- -- --
30: -- 31 32 -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- 49 4a 4b 4c -- -- 4f
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- 71 -- -- -- -- -- -- RR RR RR RR RR RR RR RR
I2C devices found on bus #0: 8
0x30
0x31
0x34
0x35
0x36
0x44
0x48
0x50
I2C devices found on bus #1: 9
0x2c
0x31
0x32
0x49
0x4a
0x4b
0x4c
0x4f
0x71
root@dellemc-diag-os:~# i2ctool --test
Testing I2C devices:
Checking I2C devices on bus 0:
+ Checking CPU board Thermal Sensor_TMP75AI 0x48
.....
Passed
+ Checking SPD EEPROM_M34E04 0x50
.....
Passed
Dell DIAG-OS tools
37