OSPi with new kernel

For a few days now there have been increasing requests that... OSPi would no longer switch the outputs. The reason for this is the changes in the Linux kernel, which simply removed support for the Raspi-GPIO module. And that's exactly what you need OpenSprinkler-OSPiin order to be able to switch the GPIOs.

14.06.2024 ATTENTION: The original firmware has already been updated! Simply update the software with sudo ./updater.sh

All Raspberry PI systems that run with kernel 6.3 / 6.4 / 6.5 / 6.6 are affected.

The background is described here (English): https://github.com/OpenSprinkler/OpenSprinkler-Firmware/issues/250

However, the solution is quite simple: copy from here https://github.com/jbalonso/opensprinkler-firmware the files gpio.h and gpio.cpp in it OpenSprinkler-Firmware directory and recompile the version, for example by simply calling the update script. Alternatively, you can also use the OpenSprinklerShop-Firmware, it has already updated the files.

First activate via

sudo raspi-config

the I2C bus (3 Interface Options – I4 I2C). Then from the command line:

sudo apt-get install -y libi2c-dev sudo apt-get install -y libgpiod-dev cd OpenSprinkler-Firmware
wget https://github.com/jbalonso/opensprinkler-firmware/raw/main/gpio.h wget https://github.com/jbalonso/opensprinkler-firmware/raw/main/gpio.cpp
sudo ./updater.sh

Leave a Comment

Your e-mail address will not be published. Required fields are marked with * marked

This site uses Akismet to reduce spam. Learn how your comment data is processed..