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

    # Reconfigure Powerblock pin usage - update

    Scheduled Pinned Locked Moved ControlBlock, PowerBlock & Co.
    powerblockpins 11 and 12gpio 17gpio 18
    2 Posts 2 Posters 409 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.
    • wifwaf41W
      wifwaf41
      last edited by

      PowerBlock

      Re: Reconfigure [PowerBlock] pin usage?

      "No, it is not possible. Pins 11 and 12 are hard wired, sorry."

      Is this still the case?...

      ...Documentation regarding /etc/powerblockconfig.cfg states that the default(s) are pin 11 (GPIO 17) and pin 12 (GPIO 18) suggesting they can be changed.

      From Documentation:
      Configuration
      The configuration file of powerblock is located at /etc/powerblockconfig.cfg. It uses simple .ini file syntax = for setting the the values of its configuration parameters.
      The parameters are explained in detail in the following:
      • activated: Can be set to
      o 1: Activates the handling of the power switch signals of the PowerBlock.
      o 0: Deactivates the handling of the power switch signals of the PowerBlock.
      • statuspin: Raspberry BCM pin used for status signaling (default: 17) connects to S2 on PowerBlock
      • shutdownpin: Raspberry BCM pin used for shutdown signaling (default: 18) connects to S1 on Powerblock
      • logging: Enables or disables logging via syslog to /var/log/syslog. The logging is enabled if set to 1.

      My Setup:
      PROJECT SETUP

      Pi Model or other hardware: Raspberry Pi 3 Model B

      Power Supply used: ModMyPi AC Adapter Model GDJ-051025 5.1v 2.5a with On/Off Switch
      NOTE: Project will use RPI UPS Powerpack.

      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): N/A
      Built From: N/A

      USB / Devices connected: Kuman I2S PiFi Digi DAC+ HiFi Digital Audio Sound Card, PIR and small Speakers

      Controller used: N/A

      Error messages received: Sound Card stops working - (I believe there is a conflict on pin12 = GPIO18)

      Log found in /dev/shm/runcommand.log (if relevant): N/A

      Guide used: (Mention if you followed a guide): N/A

      File: (File with issue - with FULL path): /etc/powerblockconfig.cfg

      Emulator: (Name of emulator - if applicable): N/A

      Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS): N/A

      How to replicate the problem: Attach PowerBlock and install service, then no sound.

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

        You could try and not connect the PowerBlock via the 2x6 pin header but connect the PowerBlock with jumper wires. You could then change the status and shutdown pins in the configuration accordingly.

        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.