Unfortunately, FreeBSD does not have gpioctl.

Does anyone know how to read the GPIO pins from FreeBSD?

Joshua Hyatt


> Date: Fri, 31 Aug 2007 10:47:49 +0100
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]; [email protected]
> Subject: Re: [Soekris] net4801 Software Reset
> 
> On 2007/08/31 11:14, Otfried Geffert wrote:
> > > I believe the reset switch is connected to GPIO18.
> > 
> > I have a net5501 and would like to know the wiring too
> > - also for the purpose of shutting/down my OS (OpenBSD 4.0)
> 
> Why 4.0 on a new machine? Anyway, you can just cycle through the
> pins and see which one changes when you press the button.
> 
> # for i in `jot 29 0`;do gpioctl $i; done
> 

_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to