Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-20 | +.An -nosplit | Jason McIntyre | |
2013-10-27 | enable gpioctl(8) for armv7, and add associated devices on armv7/sunxi. | aalm | |
ok jasper@, patrick@, rapha@ | |||
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2011-10-04 | - sync usage() and SYNOPSIS | Jason McIntyre | |
- document "flag", for I2C devices - "pin" is not optional ok matthieu | |||
2011-10-03 | Add a 'flag' locator to gpioiic(4), and define a first flag | Matthieu Herrb | |
value to swap the SDA and SCL pins assigment during attach. Mostly from work with mbalmer@NetBSD. ok miod@ | |||
2010-07-20 | do not use gcc -W options which you do not understand | Theo de Raadt | |
2009-08-10 | build on amd64 also | Jonathan Gray | |
ok deraadt@ | |||
2008-12-05 | need set argument now in this example; ok mbalmer@ | Kevin Steves | |
2008-12-03 | clarify GPIO device specification. with input from jmc; ok mbalmer@ jmc@ | Kevin Steves | |
2008-12-03 | delete unused prototype, from lint; ok mbalmer@ | Kevin Steves | |
2008-12-03 | there is no longer a default GPIO device; ok mbalmer@ jmc@ | Kevin Steves | |
2008-11-30 | Fix output. | Marc Balmer | |
2008-11-29 | Allow the words "on", "off", or "toggle" to be used instead of the | Marc Balmer | |
numerical values when writing to a pin; fix an error message. | |||
2008-11-26 | Reorder variables, add my copyright. | Marc Balmer | |
2008-11-26 | Use the new gpio(4) semantics and change the command line syntax to a | Marc Balmer | |
more readable and straightforward format. Note that there is no longer a default GPIO device, but it has to be sepcified on the command line always (and as Theo mentioned, newfs also does not default to /dev/sd0a...) You must do a 'make includesi' in /usr/src before building this command or before your next system build. ok uwe@ | |||
2008-11-24 | - tweak previous | Jason McIntyre | |
- kill .Tn | |||
2008-11-24 | Add and document -A and -D options to attach or detach devices at | Marc Balmer | |
runtime to a gpio bus. ok uwe, drahn | |||
2007-11-17 | GPIO pins can be programmed to invert input or output on some devices. | Marc Balmer | |
Introduce new flags, GPIO_PIN_INVIN and GPIO_PIN_INVOUT, for this. ok grange | |||
2007-11-17 | GPIO improvements: | Jason McIntyre | |
- make "man -k gpio" work - gpioctl(8) should not try to list all gpio devices (it's why we have man -k) - gpio devices should have "GPIO" in their .Nd, and cross-reference gpio(4) and gpioctl(8) second set of fixes for gpio(4) itself coming from mbalmer... | |||
2007-11-17 | pull-down (GPIO_PIN_PULLDOWN) is a valid flags for some GPIO devices, | Marc Balmer | |
e.g. the AMD Geode C5536 GPIO. ok grange | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-03-18 | use strtonum() to avoid out of range values, way simpler than the | Theo de Raadt | |
12-line song and dance that standard functions need; bret.lambert@gmail | |||
2006-11-29 | for macppc too; from ghz@darkdata.org | Theo de Raadt | |
2006-07-25 | amazing how far a typo of mine (CFLAGS vs CLFAGS) from early 2004 spread | Henning Brauer | |
(and how long it went unnoticed) From: Alexey Dobriyan <adobriyan@gmail.com> | |||
2005-11-17 | Unbreak; noticed by evol@online.ptt.ru. | Alexander Yurchenko | |
2005-11-16 | no need for -h, any illegal option is fine | Theo de Raadt | |
2005-11-16 | move this page to a standard options list; | Jason McIntyre | |
requested by deraadt@ ok grange@ | |||
2005-11-16 | gpioctl can work on macppc too | Theo de Raadt | |
2005-09-27 | tweaks from wiz@netbsd | Jason McIntyre | |
2004-12-02 | Document -q and -h options, noticed by Matt Peterson <matt@eff.org>. | Alexander Yurchenko | |
With a help from jmc@. | |||
2004-11-03 | Fix typo (termal -> thermal). From bob at cemetery dot homeunix dot org. | Aaron Campbell | |
2004-09-21 | .Xr elansc(4) here too | Alexander Yurchenko | |
2004-08-08 | spacing | Theo de Raadt | |
2004-06-04 | various tweaks; | Jason McIntyre | |
ok grange@ | |||
2004-06-03 | gpioctl -- program to control GPIO devices. | Alexander Yurchenko | |
The gpioctl program allows to manipulate GPIO devices pins Quick start for the Soekris net4801 users: # gpioctl -c 20 out pp # gpioctl 20 1 This will turn on the red error led. If you want to use JP5 I/O pins, just use the /dev/gpio1 device. 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. ok deraadt@ |