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

gpiotool, CLI options

Page 33 highlights

Fan 1 Speed: 15855 (12000) Fan 1 Speed: 12443 (12000) Fan 2 Speed: 14672 (12000) Fan 2 Speed: 11599 (12000) Fan 3 Speed: 13195 (12000) Setting speed for Fan 1 to 28000 Setting speed for Fan 2 to 28000 Setting speed for Fan 3 to 28000 Checking Fan Speeds Fan 1 Speed: 15420 (28000) Fan 1 Speed: 18460 (28000) Fan 1 Speed: 21605 (28000) Fan 1 Speed: 24887 (28000) Fan 2 Speed: 24576 (28000) Fan 3 Speed: 23831 (28000) Setting speed for Fan 1 to 14000 Setting speed for Fan 2 to 14000 Setting speed for Fan 3 to 14000 Checking Fan Speeds Fan 1 Speed: 22995 (14000) Fan 1 Speed: 19960 (14000) Fan 1 Speed: 16948 (14000) Fan 1 Speed: 13993 (14000) Fan 2 Speed: 14093 (14000) Fan 3 Speed: 13559 (14000) Setting speed for Fan 1 to 6000 Setting speed for Fan 2 to 6000 Setting speed for Fan 3 to 6000 Checking Fan Speeds Fan 1 Speed: 11139 (6000) Fan 1 Speed: 8141 (6000) Fan 1 Speed: 6362 (6000) Fan 2 Speed: 6105 (6000) Fan 3 Speed: 6271 (6000) Fan Controller Test: Overall test results PASSED root@dellemc-diag-os:~# root@dellemc-diag-os:~# fantool --get --fan=1 Fan 1 speed is 24730 RPM root@dellemc-diag-os:~# fantool --get --fan=2 Fan 2 speed is 25700 RPM root@dellemc-diag-os:~# gpiotool The gpiotool controls the state of the GPIO lines from the CPU or any other device that drives the GPIO lines. The CPU GPIO alines the map in Linux to /sys/class/gpio entries, which are manipulated through the standard read/write interfaces. There is chip numbering to support multiple GPIO chips, or chips at an offset. For devices such as the complex programmable logic device (CPLD) or field programmable gate arrays (FPGA), gpiotool accesses those devices to drive the GPIO lines using the standard bus interfaces such as i2c, mem, or pci. CLI options root@dellemc-diag-os:~# gpiotool DellEmc Diag - GPIO Tool version 2.0, x.xx.x.x-x build, 2019/07/03, Syntax: gpiotool Show the help-text:= gpiotool --h gpiotool -h List available gpio chips and pins:= gpiotool --list gpiotool -l Set GPIO pin:= (or) (or) Dell DIAG-OS tools 33

  • 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

Fan 1 Speed: 15855 (12000)
Fan 1 Speed: 12443 (12000)
Fan 2 Speed: 14672 (12000)
Fan 2 Speed: 11599 (12000)
Fan 3 Speed: 13195 (12000)
Setting speed for Fan 1 to 28000
Setting speed for Fan 2 to 28000
Setting speed for Fan 3 to 28000
Checking Fan Speeds
Fan 1 Speed: 15420 (28000)
Fan 1 Speed: 18460 (28000)
Fan 1 Speed: 21605 (28000)
Fan 1 Speed: 24887 (28000)
Fan 2 Speed: 24576 (28000)
Fan 3 Speed: 23831 (28000)
Setting speed for Fan 1 to 14000
Setting speed for Fan 2 to 14000
Setting speed for Fan 3 to 14000
Checking Fan Speeds
Fan 1 Speed: 22995 (14000)
Fan 1 Speed: 19960 (14000)
Fan 1 Speed: 16948 (14000)
Fan 1 Speed: 13993 (14000)
Fan 2 Speed: 14093 (14000)
Fan 3 Speed: 13559 (14000)
Setting speed for Fan 1 to 6000
Setting speed for Fan 2 to 6000
Setting speed for Fan 3 to 6000
Checking Fan Speeds
Fan 1 Speed: 11139 (6000)
Fan 1 Speed: 8141 (6000)
Fan 1 Speed: 6362 (6000)
Fan 2 Speed: 6105 (6000)
Fan 3 Speed: 6271 (6000)
Fan Controller Test: Overall test results------------------ >>>> PASSED
root@dellemc-diag-os:~#
root@dellemc-diag-os:~# fantool --get --fan=1
Fan 1 speed is 24730 RPM
root@dellemc-diag-os:~# fantool --get --fan=2
Fan 2 speed is 25700 RPM
root@dellemc-diag-os:~#
gpiotool
The
gpiotool
controls the state of the GPIO lines from the CPU or any other device that drives the GPIO lines.
The CPU GPIO alines the map in Linux to
/sys/class/gpio
entries, which are manipulated through the standard read/write
interfaces. There is chip numbering to support multiple GPIO chips, or chips at an offset. For devices such as the complex
programmable logic device (CPLD) or field programmable gate arrays (FPGA),
gpiotool
accesses those devices to drive the
GPIO lines using the standard bus interfaces such as
i2c
,
mem
, or
pci
.
CLI options
root@dellemc-diag-os:~# gpiotool
DellEmc Diag - GPIO Tool
version 2.0, x.xx.x.x-x
build, 2019/07/03,
Syntax: gpiotool <option>
Show the help-text:=
gpiotool --h
(or)
gpiotool -h
List available gpio chips and pins:=
gpiotool --list
(or)
gpiotool -l
Set GPIO pin:=
Dell DIAG-OS tools
33