Retroflag Snes case
-
Thanks for your replies. Is there an easy way to check GPIO functionality?
The safe shutdown switch seems to work however. When switching from off to on, the LED turns off when the script is not installed and turns slightly darker when the script is installed indicating that its power source changes. -
@wurstsemmesepp Yes write a small bash script or use wiringPi and set some GPIOs to low and high. wiringPi offers a list how the state of GPIO is. For function test use a LED and connect it to GPIO and ground. It should light on or light off per current GPIO state.
Here is a small tutorial. You do't need a resistor a breadboard for this ;)
And in german
http://www.raspberrypi-tutorials.de/software/einfaches-schalten-der-gpio-ein-und-ausgaenge-am-raspberry-pi.htmland in russian
http://raspberrypi.ru/blog/328.html -
Thanks @cyperghost I did that. The result was the following (I used a multimeter instead of an LED and had a 10 s high and afterwards low signal):
- High means approx. 3.3 V
- acts as intended means the voltage is at 3.3 V when it is supposed to be high and 0 when it is supposed to be low.
- GPIO 14: low before running the GPIO script, acts as intended, nothing else happens.
- GPIO 2: high before running the GPIO script, acts as intended, setting the signal to low reboots the PI.
- GPIO 3: high before running the GPIO script, acts as intended, setting the signal to low shuts down the PI.
- GPIO 4: high before running the GPIO script, acts as intended, nothing else happens.
The safe shutdown script was installed before this test.
Looks like the case-PCB is faulty, right?
edit: added additional information.
-
@wurstsemmesepp said in Retroflag Snes case:
Looks like the case-PCB is faulty, right?
Yes seems so :(
Did you set the small switch inside the case in correct position?I assume that the switches for reboot/power are faulty. Sometimes the smoke of the soldering paste isolates the metal inside the switches (there is a kind of condensing process). You can use the voltmeter and measure resistance of the switches if press or not pressed. If they don't work properly then you have the culprit ;)
Then try to clean the contacs by using alcohol or use contact spray.
-
Thanks again @cyperghost
As said before, the safe shutdown switch slightly darkens the LED. The switch was of course set to on but I tried it the other way around as well. The reset button and the power switch both Not working seems quite unlikely, though. I am going to contact the seller as I dont want to risk any warranty by using a solvent. -
@wurstsemmesepp
afair the switch has no influence on LED brightness. So it seems you have a "special" case ;) Yes try to get a new one.... -
Finally, the case is replaced and everything works fine now. Thank you so much!!!
-
@cyperghost Hello,
I'm sorry to necro this thread, but I have a question about the crerror script. Is it currently down? When I enter it in the RetroPie terminal I get a 404 response.
My SuperPi case will not power off when using the power switch or reset button with the safe shutdown switch on. I'd like to try your script as a possible solution.
-
@Pzrjager If even the original script does not work in any way then another script will also not help. Check if the small sliding switch is in correct position if yes then you have bought a faulty device.
404 error? I can access github.
-
@cyperghost i just tried your script on the case + restart works but when I hit the power button it just shuts off, shouldn't it run a script first? 3b+ sorry not real technical with this kinda stuff
-
@fightingbros power button means - poweroff
So if the reset button works for you I assume the whole script works.How did you do to install?
-
@cyperghost yes I mean power off. Screen just goes black. Reset button when pressed shows no input on monitor, script runs then ES restarts.
I used the code I found of yours on github. I thought Shutdown was supposed to show a script first. Thx for the help
-
@fightingbros Well what do you expect? I could wrote a message like "Shutdown Now ..." but I think it is not needed. So did you install the pure script and set it up with
--nespi+
parameter or did you use the modified retroflag installer? -
@cyperghost I was under the impression that before powering off a script would run on the screen 1st based on YouTube videos I watched. I initially used the nespi script on github. When the power button just shut it off without the script I Googled some help and found your script. I went to command line and entered it.
Sorry if I'm missing something. Old dude who barely knows anything about code etc
-
@fightingbros So I assume it works ... can you show me the link to the video you mentioned? I'm not sure how you installed it. Does the LED blinks 4 times if you press the power button?
If yes then you did use the bash install, if not you did use the python installer.
-
@cyperghost ok so now it's doing what I expected. It's running a script on screen before shutting down. Thanks!
-
Hi
@fightingbros It seems I am having the same issue as poster above shame he did not reply with what he did to make it work.
I too had no luck with the official shutdown (rasp 3b+) in retropie 4.4
The reset did nothing, the shutdown didn't give any script running text on shutdown. Whilst it DID shutdown after 10 seconds or so my fan and power light on the pi remained on.I installed the @cyperghost script and things are better. Just like the guy above reset works as advertised
The power of works AND fan / pi power light goes off but shutdown is instant with (my concern is) no time to write anything or run any scripts to shut down safely) and there is no script text. I am worried my safe shutdown is not acting safely. Is there any way to test?
Sorry I am new to the pi and to coding. I just pressed F4 in retropi and ran the 1 line command to download shown in the CRC github which is linked earlier in the thread for the modified retroflag installer I have done nothing else
Thanks
-
@bigmike20vt
That is understandable as a Retroflag case user myself.
A good few things to test:Pressing the reset button in the middle of a game, should exit retroarch and most emulators and return to EmulationStation.
Make a manual edit to a rom/game in emulationstation metadata, just add a rating or add some games to favourites. (Game Collection Settingsneed to be configured to list favourites.) Then either reset or poweroff, the metadata should be saved.
If the data isn't saved then maybe the original retroflag script wasn't uninstalled.
If no script is installed then it wouldn't do anything.
-
Hi
@Efriim Thanks for your reply. Great idea on the rating / adding something to favourites etc before a shutdown to test, I should have thought of that.
I know the reset is working, it does exactly as you suggest it should. I will get on that tonight or tomorrow and if it is working will post back to confirm as such and it is just that the script runs super fast (which is great if so)Many thanks again.
-
Hi
just a quick update to this. I never did find out what the issue was however I have just wiped the card and started again, and readded the crc shutdown code........ and it works a treat!.Many thanks
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.