Port details |
- raspberrypi-gpioshutdown Kernel driver to reset GPIO pins on shutdown for Raspberry Pi
- 1.0 misc
=0 Version 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: 2021-04-07 08:09:01
- Commit Hash: cf118cc
- 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.
¦ ¦ ¦ ¦ 
- 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
- A package is not available for ports marked as:
- Forbidden / Broken / Ignore / Restricted
- 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'.
- WWW:
- Master Sites:
|
Number of commits found: 7
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
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> |
Number of commits found: 7
|