gpio.conf(5) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
GPIO.CONF(5)              NetBSD File Formats Manual              GPIO.CONF(5)

gpio.conf -- GPIO config file
The gpio.conf file is read by the gpio rc.d script during system start-up and shutdown, and is intended for configuring GPIO pins. FILE FORMAT Lines starting with a hash (`#') and empty lines are ignored. All other lines are passed to gpioctl(8).
/etc/gpio.conf The gpio.conf configuration file resides in /etc. /etc/rc.d/gpio rc.d(8) script that parses gpio.conf.
In this example, if the /etc/gpio.conf config file is present pin 1 of /dev/gpio0 is set as output and named "error_led". # Program pin 1 of /dev/gpio0 as output and name it "error_led" gpio0 1 set out error_led
gpioctl(8), rc(8) NetBSD 8.1 August 1, 2009 NetBSD 8.1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.