Raspberrypi-gpioshutdown

Jul 20, 2023

Kernel driver to reset GPIO pins on shutdown for Raspberry Pi

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.



Checkout these related ports:
  • Zoneinfo - Updated timezone definitions
  • Zine - Simple and opinionated tool to build your own magazine
  • Ytree - DOS-XTREE(tm) look-a-like file manager
  • Yaunc - Yet another uptimes.net client
  • Xtypo - X-based keyboard trainer
  • Xtar - View and manipulate contents of a tar file
  • Xtail - Watches the growth of files or directories
  • Xplr - Hackable, minimal, fast TUI file explorer
  • Xosd - X11 on-screen-display program and library
  • Xless - X11-based viewer for text files
  • Xiphos - Bible interface utilizing the sword framework
  • Xgboost - Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT, GBM)
  • Xgas - The animated simulation of an ideal gas
  • Xfce4-wm-themes - Additional themes for xfwm4
  • Xfce4-weather-plugin - Weather plugin for the Xfce panel