3. Check the GPIO direction and value using the following commands:
$ cat /sys/class/gpio/gpio369/direction
$ cat /sys/class/gpio/gpio369/value
4. Set the GPIO value using the following command:
$ echo {0 or 1} > /sys/class/gpio/gpio369/value
Figure 86. Set GPIO value
Results
The low level triggers the USER_LEDs. When the value is 0, the USER_LED is illuminated, as shown in the following figure.
Figure 87. GPIO USER_LED illuminated
TPM tasks
About this task
If TPM is turned on, the device node (/dev/tpm0) exists.
Figure 88. TPM on
82
Setting Up the Ubuntu Operating System