[Soekris] 4801 GPIO

Jesper B. Rosenkilde gloin at anarki.dk
Wed Jan 17 22:54:16 UTC 2007


Steven Finnegan wrote:
> On Jan 17, 2007, at 6:42 , Poul-Henning Kamp wrote:
>
> A little more help would be greatly appreciated
>

On OpenBSD there is a driver for gpio[1], if you look at the source[2],
you might be able to port it to FreeBSD. There is also a program called
gpioctl[3][4], which can be used to control the gpio through /dev/gpioN.
This should give you something to work with.

Regard
Jesper Rosenkilde

[1] OpenBSD man page for gpio:
http://www.openbsd.org/cgi-bin/man.cgi?query=gpio
[2] Source code for gpio:
http://opengrok.creo.hu/openbsd/xref/src/sys/dev/gpio/
[3] OpenBSD man page for gpioctl:
http://www.openbsd.org/cgi-bin/man.cgi?query=gpioctl&arch=i386
[4] Source code for gpioctl:
http://opengrok.creo.hu/openbsd/xref/src/usr.sbin/gpioctl/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.soekris.com/pipermail/soekris-tech/attachments/20070117/8be21489/signature.bin


More information about the Soekris-tech mailing list