Up to [local] / src / usr.sbin / gpioctl
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.10 / (download) - annotate - [select for diffs], Fri Feb 18 10:52:32 2022 UTC (2 years, 3 months ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
HEAD
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)
Build gpioctl(8) on riscv64. OK kettenis@
Revision 1.9 / (download) - annotate - [select for diffs], Sat May 16 16:37:50 2020 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)
add bcmgpio to the gpio manpage and install gpioctl manpage on arm64 too OK kettenis@
Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 23 03:12:25 2017 UTC (7 years, 4 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)
Build gpioctl(8) and hotplugd(8) on arm64. ok patrick@
Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 27 03:06:25 2013 UTC (10 years, 7 months ago) by aalm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)
enable gpioctl(8) for armv7, and add associated devices on armv7/sunxi. ok jasper@, patrick@, rapha@
Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 20 02:06:39 2010 UTC (13 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)
do not use gcc -W options which you do not understand
Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 10 14:48:27 2009 UTC (14 years, 10 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)
build on amd64 also ok deraadt@
Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 29 22:15:33 2006 UTC (17 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)
for macppc too; from ghz@darkdata.org
Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 25 09:44:49 2006 UTC (17 years, 10 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
amazing how far a typo of mine (CFLAGS vs CLFAGS) from early 2004 spread (and how long it went unnoticed) From: Alexey Dobriyan <adobriyan@gmail.com>
Revision 1.2 / (download) - annotate - [select for diffs], Wed Nov 16 03:42:12 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)
gpioctl can work on macppc too
Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 3 19:13:24 2004 UTC (20 years ago) by grange
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6
gpioctl -- program to control GPIO devices. 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@