OpenBSD
WRAP support is included in OpenBSD 3.5. To read and write the GPIO pins, the gpioctl program
included with this package can be used:
Quick start for the PC Engines WRAP.1C users:
# gpioctl 40
This will read the state of the button (0 means pressed).
# gpioctl -c 2 pp out
This will turn the first led on, to turn off write 1 to the pin,
it's reversed. For the second and the third leds use pins 3 and
18.
Even more WRAP support in OpenBSD 3.6:
• New gscpcib(4) driver for National Semiconductor Geode SC1100 PCI-ISA bridges.
• New iic(4) driver for Inter IC (I2C) master/slave buses.
• New lmtemp(4) driver for National Semiconductor LM75/LM77 temperature sensors.
• New gscsio(4) driver for National Semiconductor Geode SC1100 Super I/O chips.
• New gpio(4) driver and accompanying gpioctl(8) utility for supporting General Purpose
Input/Output.
WRAP router platform
17
2/13/2007