Hi , I have a strange behavior of my system using a Zero2Go rev2.
The System is based on the dietPi distribution (to run MuPiBox, a Kids Audio player)
I found that when the system boots up, it shuts down right after booting.
What I found is that when the daemon.sh toggles the SYSTEM_UP line it initiates a shutdown of the system. Like as pressing the button.
BUT I commented out the shutdown statement in daemon.sh
I also modified the Zero2Go to use different GPIO which works fine with a standard Raspi Linux, but not with my diet Pi distro.
So it looks like for some reason toggling SYSTEM_UP also affects the BUTTON / SWITCH line or is causing a shortcut or something that shuts down the Raps.
Maybe because the GPIO for BUTTON / SWITCH gets used by something else and gets toggled?
I am running out of ideas.
If anybody has an idea, I would be happy for any hints or suggestions.
Thanks,
Christian
This most probably is due to GPIO conflicting.
Is there any connected hardware that may also use GPIO17 and/or GPIO-4?
Please show us your wiring, and also how you modified your Zero2GO. The "zero2go.log" file may also have some useful information.
@admin
Thanks! I cut the traces to GPIO 4 and GPIO 17 and added wires so I can connect the signals to any other pin.
Nothing else is connected to the Pi, except the zero2go.
But I am using dietPi distribution.
My guess is that the GPIO lines behave differently. Maybe something causes all lines to change when the SYSUP is toggled by zero2go?
But I do not have a scope to test that right now.
Christian
I made quick search of "MuPiBox" and found this page. It seems MuPiBox suggest to use OnOff Shim, which uses GPIO-4 and GPIO-17 as well.
Although you don't use the OnOff Shim hardware, you may have installed the software suggested by MuPiBox, which may include the software for OnOff Shim. I think that most probably is the reason to cause IO conflicting.
Yes, the OnOff Shim is used by that software (MuPiBox) but I wanted to replace it with the zero2go (because of more flexible input voltages).
But the same problem persists if I only use the underlying dietPi Linux distribution that is not using the OnOffShim.
I also changed the GIO 4 and GPIO 17 from the zero2go to other GPIO (soldering and changing daemon.sh)but it shows the same problem.
Somehow the GPIO for the Switch Signal gets toggled if I change the System Up Signal
Thanks,
Christian
Don't know if the MuPiBox software automatically installed the software for OnOff Shim. If it did, please make sure to uninstall the software for OnOff Shim. Otherwise I have no clue then.