Franz Kuntke wrote:

> Hi there,
> 
> I am trying to get a Beaglebone Black working with OpenBSD.
> Everything works well - except for GPIO.
> Currently, GPIO on Beaglebone Black is currently not supported, right?
> Will gpioctl be ported to Beaglebone Black installation, in the
> foreseeable future?
> 
> Best regards,
> Franz

Assuming that GPION_M maps to /dev/gpioN, pin M, I can toggle the two user 
LEDs that are normally "on" (USR0/GPIO1_21 and USR1/GPIO1_22) using:
$ sudo gpioctl gpio1 21 toggle
$ sudo gpioctl gpio1 22 toggle
I'm NOT able to toggle the two that are always "off" (USR2/GPIO1_23 and 
USR3/GPIO1_24) using:
$ sudo gpioctl gpio1 23 toggle
$ sudo gpioctl gpio1 24 toggle
I'm not sure if I overlooked anything, so do this at your own risk!

Currently I'm using:
$ dmesg |head -n2
OpenBSD 5.5-beta (GENERIC-OMAP) #7: Wed Feb 19 15:42:30 EST 2014
    n...@bbb1.openbsd.org:/usr/src/sys/arch/armv7/compile/GENERIC-OMAP

Reply via email to