RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    ControlBlock Power Switch Issue

    Scheduled Pinned Locked Moved ControlBlock, PowerBlock & Co.
    controlblockpowerswitch
    26 Posts 7 Posters 7.3k Views
    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.
    • D
      dantropie @BakedGoods
      last edited by

      @BakedGoods awesome thanks!!! I'm still new to this stuff. Is there a way to make an edit without uninstalling and reinstalling things?

      1 Reply Last reply Reply Quote 0
      • P
        petrockblog Global Moderator @petrockblog
        last edited by

        @petrockblog said in ControlBlock Power Switch Issue:

        The location of the configuration file has also changed with the recent driver update. It is now located at /usr/local/etc/controlblockservice.cfg.

        That change has been reverted. The config file is located at its original location at /etc/controlblockservice.cfg.

        1 Reply Last reply Reply Quote 0
        • D
          dantropie
          last edited by

          Is there a way to edit the powerswitch.cpp without uninstalling and reinstalling anything?

          D 1 Reply Last reply Reply Quote 0
          • D
            dantropie @dantropie
            last edited by

            @dantropie is there a way to edit the cpp file from the command prompt?

            D 1 Reply Last reply Reply Quote 0
            • D
              dantropie @dantropie
              last edited by

              @dantropie so I did sudo nano on the PowerSwitch.cpp file and edited the line to shut down now. But it still takes 3-4 min to shut down. Any help?

              1 Reply Last reply Reply Quote 1
              • P
                petrockblog Global Moderator
                last edited by

                You can download and install the latest revision of the PowerBlock driver. You can control the shutdown action now with a shutdown script, see https://github.com/petrockblog/PowerBlock#shutdown-script.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                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.