notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
raspberrypi-gpioshutdown Kernel driver to reset GPIO pins on shutdown for Raspberry Pi
1.0_1 misc on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.0_1Version of this port present on the latest quarterly branch.
Ignore IGNORE: is only for armv6 armv7, while you are running amd64
Maintainer: bobf@mrp3.com search for ports maintained by this maintainer
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.
cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (9 items)
Collapse this list.
  1. @kld /boot/modules
  2. /usr/local/share/licenses/raspberrypi-gpioshutdown-1.0.1401000_1/catalog.mk
  3. /usr/local/share/licenses/raspberrypi-gpioshutdown-1.0.1401000_1/LICENSE
  4. /usr/local/share/licenses/raspberrypi-gpioshutdown-1.0.1401000_1/BSD2CLAUSE
  5. /boot/modules/gpioshutdown.ko
  6. share/man/man4/gpioshutdown.4.gz
  7. @owner
  8. @group
  9. @mode
Collapse this list.
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:
  • Ignore
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):
raspberrypi-gpioshutdown
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.01.0.1304000_1----
FreeBSD:13:quarterly--1.01.0.1304000_1----
FreeBSD:14:latest---1.0.1401000_1----
FreeBSD:14:quarterly---1.0.1401000_1----
FreeBSD:15:latest--n/a-n/a---
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:
Expand this list (1 items)
Collapse this list.
  1. http://mrp3.com/
Collapse this list.

Number of commits found: 9

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0_1
19 Dec 2024 14:38:42
commit hash: ed4dd3bfc4326cd2262f5215491eab8cd172a2c2commit hash: ed4dd3bfc4326cd2262f5215491eab8cd172a2c2commit hash: ed4dd3bfc4326cd2262f5215491eab8cd172a2c2commit hash: ed4dd3bfc4326cd2262f5215491eab8cd172a2c2 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
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
commit hash: 6e4fdd5a82d081a40da7c6fb5f4a120d5d242ea2commit hash: 6e4fdd5a82d081a40da7c6fb5f4a120d5d242ea2commit hash: 6e4fdd5a82d081a40da7c6fb5f4a120d5d242ea2commit hash: 6e4fdd5a82d081a40da7c6fb5f4a120d5d242ea2 files touched by this commit
Christian Weisgerber (naddy) search for other commits by this committer
misc/raspberrypi-gpioshutdown: Move man pages to share/man

Approved by:	portmgr (blanket)
1.0
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.0
06 Apr 2021 14:31:13
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
1.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.0
13 Aug 2019 22:29:43
Revision:508882Original commit files touched by this commit
mat search for other commits by this committer
onvert to UCL & cleanup pkg-message (categories l-m)
1.0
29 Aug 2018 21:39:39
Revision:478421Original commit files touched by this commit
swills search for other commits by this committer
misc/raspberrypi-gpioshutdown: fix man page install path

Reported by:	Yuri Pankov <yuripv@yuripv.net>
1.0
29 Aug 2018 21:01:41
Revision:478419Original commit files touched by this commit
swills search for other commits by this committer
misc/raspberrypi-gpioshutdown: Fix man page installation

Reported by:	mat
1.0
29 Aug 2018 17:30:03
Revision:478362Original commit files touched by this commit
swills search for other commits by this committer
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: 9