ReliaGATE 10-05-34 User Manual Rev 1-0
12.8.3
How to obtain further information
To obtain further information on Linux support for watchdog, see:
www.kernel.org/doc/Documentation/watchdog/watchdog-api.txt
12.9
The Programmable pushbutton
The ReliaGATE 10-05-34 is provided with a programmable pushbutton.
The programmable pushbutton is sensed by a Linux daemon which executes a shell script every time the
button is either pushed or released.
To export the pushbutton, use the following commands:
echo 86 > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio86/direction
To see the pushbutton status, use the following commands
cat /sys/class/gpio/gpio86/value
The output will be like the following:
If the button is being pushed, then value is 1.
l
If the button is not being pushed, then value is 0.
l
12 How to access the interfaces under Linux
47
/ 62
Need help?
Do you have a question about the ReliaGATE 10-05-34 and is the answer not in the manual?