Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Syncronism Lost when system.power.switch=PIN56PUSH enable

    Recalbox General
    syncronism lost enable
    2
    3
    289
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • STaRNiGHT
      STaRNiGHT last edited by

      Hello Folks

      I have a problem with my recalbox ... I have Recalbox 9.0.2 in a Raspberry Pi4 and VGA666 conected to my old arcade CRT.. All work fine.. but when enable system.power.switch=PIN56PUSH ... the CRT syncronims fails ...

      Can anyone help me? If I can't use the GPOI pins, do you know another way to configure a key to safely shut down the rapsberry, I use IPAC2.

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • STaRNiGHT
        STaRNiGHT last edited by

        Autoresponse

        I have found the problem . VGA666 interface use GPIO 2 & 3 for synchronism

        GPIO 02: level=0 fsel=6 alt=2 func=LCD_VSYNC
        GPIO 03: level=0 fsel=6 alt=2 func=LCD_HSYNC

        For the power button function and VGA666 to coexist you have to change the pin, I changed it to 16 and it works without problem.

        recalbox/scripts/rpi-pin56-power.py

        GPIO.setup(16, GPIO.IN, pull_up_down=GPIO.PUD_UP)
        
        def shutdown():
          os.system("shutdown -h now")
        
        try:
          if mode == "onoff" :
            GPIO.wait_for_edge(16, GPIO.RISING)
        
        

        in case it is of any help to anyone

        chriz74 1 Reply Last reply Reply Quote 0
        • chriz74
          chriz74 @STaRNiGHT last edited by

          @STaRNiGHT my electrohome g07 goes out of sync in system menus using Pi2jamma which has the vga666 circuit too. However afaik I didn’t enable anything like that.

          1 Reply Last reply Reply Quote 0
          • Locked by  admin admin 
          • First post
            Last post

          Want to support us ?

          70
          Online

          98.7k
          Users

          28.1k
          Topics

          187.0k
          Posts

          Copyright © 2021 recalbox.com