EasyManua.ls Logo

Dell EMC Edge 3200 - Configure GPIO

Dell EMC Edge 3200
88 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Figure 83. Watchdog info
$ service watchdog status
Figure 84. Watchdog status
5. To test the watchdog device, force the Linux kernel to crash:
$ sudo sysctl -w kernel.sysrq=1
$ sudo su -
$ echo c > /proc/sysrq-trigger
The system hangs and watchdog reboots the system after 20 seconds (if watchdog-timeout = 20).
Configure GPIO
About this task
The EGW-3200 is equipped with six Digital in and six Digital out. To access the registers to read and write to them, perform the
following steps.
Steps
1. Run the following command:
$ sudo su -
2. Export GPIO:
$ echo 369 > /sys/class/gpio/export
369 GPIO is USER_LED_1, 370 GPIO is USER_LED_2, and 371 GPIO is USER_LED_3.
Figure 85. Export GPIO
Setting Up the Ubuntu Operating System
81

Table of Contents

Related product manuals