Port details |
- raspberrypi-gpioshutdown Kernel driver to reset GPIO pins on shutdown for Raspberry Pi
- 1.0_1 misc
=2 1.0_1Version of this port present on the latest quarterly branch. IGNORE: is only for armv6 armv7, while you are running amd64
- Maintainer: bobf@mrp3.com
 - Port Added: 2018-08-29 17:30:21
- Last Update: 2024-12-19 14:38:42
- Commit Hash: ed4dd3b
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: kld
- License: BSD2CLAUSE
- Description:
- GPIO 'shutdown' Kernel module for the Raspberry Pi Model 1B and Model 2
The purpose of this module is to shut down all GPIOs prior to powering off
or rebooting a Raspberry Pi.
The main reason for this is due to there being no real indicators that the
shutdown process has completed. By doing a shutdown of all of the GPIOs (such
that they act like inputs without pullup resistors), you can detect the 'high
impedence' state either with an LED or using some kind of exernal board (such
as an 'ATX Raspi' board). An external board could then detect the shutdown,
and power off the Raspberry Pi safely, and you won't have to fix the file
system due to problems caused by powering it down before it's safe to do so.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- raspberrypi-gpioshutdown>0:misc/raspberrypi-gpioshutdown
- To install the port:
- cd /usr/ports/misc/raspberrypi-gpioshutdown/ && make install clean
- We doubt a package is available for this port because we see it marked as as:
-
Packages are normally not provided for ports that are marked as above.
- To add the package, run one of these commands:
- pkg install misc/raspberrypi-gpioshutdown
- pkg install raspberrypi-gpioshutdown
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: raspberrypi-gpioshutdown
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: armv6 armv7
- distinfo:
- TIMESTAMP = 1521490257
SHA256 (raspberrypi-gpioshutdown-1.0.tar.gz) = 25d647309b54d253a11e7ae74998a7d382ce3a9fddb6bd7adace67f0d4f83c9f
SIZE (raspberrypi-gpioshutdown-1.0.tar.gz) = 7320
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- misc_raspberrypi-gpioshutdown
- USES:
- kmod
- pkg-message:
- For install:
- raspberrypi-gpioshutdown kernel module:
This port installs a startup script in your ${LOCALBASE} etc/rc.d directory
called 'gpioshutdown'.
Once installed, either load the kernel module at boot time (using
/boot/loader.conf) or by adding the following entry to the /etc/rc.conf file
(recommended) by running this command:
sysrc gpioshutdown_enable="YES"
Or, you can simply load the module using the 'rc' system, by adding this
line to /etc/rc.conf instead:
kld_list=gpioshutdown
If you have other modules in 'kld_list' just add 'gpioshutdown' to the end of
that list.
For more detailed information, type 'man 4 gpioshutdown'.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.0_1 19 Dec 2024 14:38:42
    |
Robert Clausecker (fuz)  |
misc/raspberrypi-gpioshutdown: fix build on recent FreeBSD
Due to -Werror being enabled for kernel modules these days, the build
of this module failed with a "variable set but not used" warning.
Remove the offending variable to fix the build.
Approved by: portmgr (build fix blanket)
MFH: 2024Q4 |
1.0_1 18 Mar 2024 12:28:11
    |
Christian Weisgerber (naddy)  |
misc/raspberrypi-gpioshutdown: Move man pages to share/man
Approved by: portmgr (blanket) |
1.0 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.0 06 Apr 2021 14:31:13
    |
Mathieu Arnold (mat)  |
all: Remove all other $FreeBSD keywords. |
1.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.0 13 Aug 2019 22:29:43
  |
mat  |
onvert to UCL & cleanup pkg-message (categories l-m) |
1.0 29 Aug 2018 21:39:39
  |
swills  |
misc/raspberrypi-gpioshutdown: fix man page install path
Reported by: Yuri Pankov <yuripv@yuripv.net> |
1.0 29 Aug 2018 21:01:41
  |
swills  |
misc/raspberrypi-gpioshutdown: Fix man page installation
Reported by: mat |
1.0 29 Aug 2018 17:30:03
  |
swills  |
misc/raspberrypi-gpioshutdown: create port
GPIO 'shutdown' Kernel module for the Raspberry Pi Model 1B and Model 2
The purpose of this module is to shut down all GPIOs prior to powering off
or rebooting a Raspberry Pi.
PR: 226787
Submitted by: Bob Frazier <bobf@mrp3.com> |