misc/raspberrypi-gpioshutdown 1.0.1405500_1 FreeBSD
Kernel driver to reset GPIO pins on shutdown for Raspberry Pi
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- misc, kld
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.
Install
Binary package:
pkg install raspberrypi-gpioshutdown
From the ports tree:
cd /usr/ports/misc/raspberrypi-gpioshutdown/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= raspberrypi-gpioshutdown>0:misc/raspberrypi-gpioshutdown
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | - | - | 1.0.1402000_1 | - |
| FreeBSD:14:quarterly | - | - | n/a | 1.0.1402000_1 | - |
| FreeBSD:15:latest | - | - | n/a | - | - |
| FreeBSD:15:quarterly | - | - | n/a | n/a | n/a |
| FreeBSD:16:latest | - | - | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
No options to configure.
- USES
- kmod
- Service scripts
gpioshutdown
Files
Manual pages 1
- gpioshutdown(4)
pkg-plist 2
- /%%KMODDIR%%/gpioshutdown.ko
- share/man/man4/gpioshutdown.4.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| raspberrypi-gpioshutdown-1.0.tar.gz | 7320 | 25d647309b54d253a11e7ae74998a7d382ce3a9fddb6bd7adace67f0d4f83c9f |
Master sites 1
- http://mrp3.com/
Commit history 0
No commits in the history this site was built from.