https://fedoramagazine.org/raspberry-pi-zero-gpio-fedora/
How to access a Raspberry Pi Zero's GPIO pins from Fedora