rszimm / sprinklers_pi

Sprinkling System Control Program for the Raspberry Pi
GNU General Public License v2.0
310 stars 100 forks source link

sprinkler_pi won´t start (1.0.9) #92

Closed frelev closed 7 years ago

frelev commented 7 years ago

I updated my rPi jessie (apt-get update) + upgraded to 1.0.9 Now sprinkler_pi won´t start, not at boot and not using sudo /etc/init.d/sprinklers_pi start

I checked the log and there is an entry though

2017/06/09 17:43:37 Starting v1.0.9..

But no GUI. Reboot didn´t help

EDIT: I started with start-trace and got

`pi@sprinkler:/usr/local/etc/sprinklers_pi $ sudo /etc/init.d/sprinklers_pi start-trace [....] Starting : sprinklers_pi2017/06/09 18:06:21 Starting v1.0.9.. Unable to determine hardware version. I see: Hardware : BCM2835 ,

  • expecting BCM2708 or BCM2709. If this is a genuine Raspberry Pi then please report this to projects@drogon.net. If this is not a Raspberry Pi then you are on your own as wiringPi is designed to support the Raspberry Pi ONLY. . ok

`

frelev commented 7 years ago

Solved by downgrading kernel to 4.4.9 using sudo rpi-update 2ca627126e49c152beb1bf7abd7122ce076dcc65

10481 commented 7 years ago

The issue you were having (as did I when I updated) is with wiringPi, not sprinkler_pi. You just need to pull the updated wiringPi files and rerun the build script for it. info on why it happened and wiringPi install instructions. If you followed the instructions from here and installed wiringPi from source, then you only need to go into the wiringPi folder and pull the new files and run the build script. Now you can use updated kernels.