Author Topic: Momentary button - Retropie issue [solved]  (Read 2572 times)

Olorin

  • NewMember
  • *
  • Posts: 5
Momentary button - Retropie issue [solved]
« on: June 04, 2017, 03:58:40 PM »
Hello there,

I did install ATXRaspi as described on this diagram:



And did install script, also did check on ls /etc and sudo nano etc/rc.local. Everything is like on video clip from youtube:"ATXRaspi overview & setup."
Power supply is 5V 2.5A for Raspberry and on SD card it is fresh Retropie 4.2v img.
Now, when I power on Raspberry pi, it turns on, I can see starting up files and even Retropie logo, but after 20 seconds screen is blank, and after another 5 seconds green led turns off on raspberry pi (green led is mainly flashing red is solid). Red led on raspberry pi is stil on after that. Fan and led that is connected to ATXRaspi are constantly working. I need to hold power button for 8 seconds to power off (after holding it for 1,5 second it blinks one time). Nothing else I can do.

Do you know what is wrong here?

Before I did install your script it was booting up Retropie and working fine, but, of course, shutdown option did not work, only when button is pressed for 8 seconds

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: Momentary button - Retropie issue
« Reply #1 on: June 05, 2017, 08:40:41 AM »
Based on your description I think the shutdown script is running and immediately issuing a shutdown from a false SHUTDOWN signal trigger.

A few things are usually the problem:
- SHUTDOWN and BOOTOK (GPIO 7 & 8) wiring is not in the right place or are inverted
- poor solder joints
- poor jumper wire quality
- script is not running - sounds like yours is

Please check these conditions. I think your GPIO7 SHUTDOWN signal might be floating, in which case the script will think ATXRaspi is telling it to shutdown.

Olorin

  • NewMember
  • *
  • Posts: 5
Re: Momentary button - Retropie issue
« Reply #2 on: June 05, 2017, 03:47:49 PM »
It wasn`t on GPIO 7 and 8. Made mistake when I was changing configuration with latch button.
It is working now. Thank you!
Is there a posibility to shutdown after pressing it for 1 second? Now it's like around 4 seconds.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: Momentary button - Retropie issue [solved]
« Reply #3 on: June 05, 2017, 05:25:04 PM »
Great!

The shutdown delay is built into the board firmware.
If you want I can custom program it for you.
Maybe in a future revision this could be a resistor setting somewhere on the board.