Safe Shutdown not working - NESPi 4 case
-
@lhari84 hello
On the 8.0 version, i can't install the case. I can change just the case=Nespi4case:1 line and it works but... the power button manage to activate the safeshutdown but doesn't stop the power. (the fan is still activated)
-
@scavy Hello
Ok thanks, so this is a known issue?
I have followed the RB changlogs for a long time and it showed up many entries suggesting the case works properly, too bad it does not, I really thought it would.Now I have added the case=NESPi:1 line but same situation as you wrote: RB shuts down safely, but Pi will not power off.
What I do not understand so far, is this case working properly in any other constellation? For example if using microSD instead of SSD?
Completely different question:
Do you think the Pi4 will be ok without a fan, just a (small) heatsink? My case has been delivered without ANY cooling solution, so I put a heatsink on CPU and placed a fan in the case, that was delivered with an older Retroflag Pi3-case in the past. The fan fits well, but the noise drives me crazy... -
@lhari84 I experienced the same error.
As far as I understand the script which is responsible for handling the buttons is not compatible with the python version in Recalbox 8.0. This is a known issue: https://gitlab.com/recalbox/recalbox/-/issues/2067
There are two merge requests that should solve it:
- https://gitlab.com/recalbox/recalbox/-/merge_requests/2072
- https://gitlab.com/recalbox/recalbox/-/merge_requests/2083
With version 7.2 it worked out of the box, with version 8.0 it only works if I apply the changes from the merge requests. I have tested it on an RPi3 in a NESPi+ case and on an RPi4 in a NESPi4 case.
-
@lhari84 said in Safe Shutdown not working - NESPi 4 case:
Completely different question:
Do you think the Pi4 will be ok without a fan, just a (small) heatsink? My case has been delivered without ANY cooling solution, so I put a heatsink on CPU and placed a fan in the case, that was delivered with an older Retroflag Pi3-case in the past. The fan fits well, but the noise drives me crazy...I have a GeekPi heat sink in both cases mentioned above, and it does a good job: https://thepihut.com/products/raspberry-pi-4-extreme-cooling-heat-sink-fan-kit
It can be connected to either 3V or 5V. I choose 3V. This way it is really silent and still keeps the Pi cool enough (tested e.g. with playing Dreamcast games on the Pi4 in the NESPi 4 case).
-
@woife Sounds good, so I will wait for the fix to start over with the Pi4 Case then.
Further I will not upgrade my good old SuperPi Case with Pi 3B+ to 8.0 for now, as you have mentioned the older generation unfortunately is affected too.Regarding the cooler, thanks for the info. I have thought about ordering this one, but was not sure it would fit and if it's more silent. Now I know
-
@scavy Hi,
Now, after updating to 8.0.1, I still can't get it working. Is there anything I should/can do?
Both methods case=Nespi4case:1 overwriting and system.power.switch=... (common activation paramater in recalbox.conf) will not work.
Same as with 8.0, system will shutdown, but NESPi 4 case will not power off.Changelog does not specify which Retroflag cases have been fixed, maybe NESPi 4 is not yet?
-
@lhari84 Hi
Try this :
https://forum.recalbox.com/topic/23588/problème-configuration-safe-shutdown-avec-le-nespi-4-caseIt worked fine for my Nespi4 case.
-
@micklabrique
Thank you so much, my missing piece was the following modification :mount -o remount,rw /boot
echo "# Overlay setup for proper powercut, needed for Retroflag cases" >> /boot/config.txt
echo "dtoverlay=gpio-poweroff,gpiopin=4,active_low=1,input=1" >> /boot/config.txt
shutdown -r now -
@woife said in Safe Shutdown not working - NESPi 4 case:
@lhari84 I experienced the same error.
As far as I understand the script which is responsible for handling the buttons is not compatible with the python version in Recalbox 8.0. This is a known issue: https://gitlab.com/recalbox/recalbox/-/issues/2067
There are two merge requests that should solve it:
- https://gitlab.com/recalbox/recalbox/-/merge_requests/2072
- https://gitlab.com/recalbox/recalbox/-/merge_requests/2083
With version 7.2 it worked out of the box, with version 8.0 it only works if I apply the changes from the merge requests. I have tested it on an RPi3 in a NESPi+ case and on an RPi4 in a NESPi4 case.
Hi.
I read those threads and I dont know what I have to do.
Could anyone explain it for somebody that has not high kwoledges.The original script was installed by me just pasting a line gave in retroflag’s web in the consolé
Thanks in advance.
-
@jor2404 for the NesPi4Case :
1/ Connect the Pi4 to the case and activate the safeshutdown button. Use the case manual to install it correctly.
2/ Install recalbox 8.0.2 if not done lol
3/ Connect your Recalbox to the internet. Connect in SSH. Authorize partition boot writting with this command : mount -o remount,rw /boot.
In the boot part look for the recalbox-boot.conf file. Open it.
Look for the case=none:1 line. Change it by case=NESPi4:1.
Save the changes.
4/ Still in the boot part look for the recalbox-user-config.txt file. At the end of the file, add this line : dtoverlay=gpio-poweroff,gpiopin=4,active_low=1,input=1
Save the changes.
5/ Reboot, your NesPi4Case is totally operationnal