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

    ControlBlock2 stops working after reboot, reinstall of service required each time

    Scheduled Pinned Locked Moved ControlBlock, PowerBlock & Co.
    controlblockrpi5service
    3 Posts 2 Posters 303 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.
    • T
      trigger_d
      last edited by

      Hello,

      I have an RPI5 and ControlBlock2.

      I installed Retropie by following these instructions: albeit I'm using the full Raspberry PI OS (64 Bit) https://github.com/danielfreer/raspberrypi5-retropie-setup/tree/main?tab=readme-ov-file

      I've used the below command to install the service ControlBlock service

      "wget -O - https://raw.githubusercontent.com/petrockblog/ControlBlockService2/master/install.sh | sudo bash
      "

      Using jstest /dev/input/js1 I can see it working when using a jump wire. However, whenever I reboot, it appears the only way to get it working again, is to run the uninstall and run the above install again.

      I've ran sudo systemctl stop/start controlblock.service to no avail. running sudo systemctl status controlblock.service returns the following

      "pi@retropi:~ $ sudo systemctl status controlblock.service
      ● controlblock.service - ControlBlock Service
      Loaded: loaded (/etc/systemd/system/controlblock.service; enabled; preset: enabled)
      Active: active (running) since Mon 2024-11-04 17:09:59 GMT; 31s ago
      Docs: https://www.petrockblock.com
      Main PID: 1606 (controlblock)
      Tasks: 1 (limit: 9247)
      CPU: 102ms
      CGroup: /system.slice/controlblock.service
      └─1606 /usr/bin/controlblock

      Nov 04 17:10:31 retropi controlblock[1606]: mcp23s17_read_reg: There was a error during the SPI transaction.
      Nov 04 17:10:31 retropi controlblock[1606]: mcp23s17_read_reg: There was a error during the SPI transaction.
      Nov 04 17:10:31 retropi controlblock[1606]: mcp23s17_read_reg: There was a error during the SPI transaction.
      "

      Many thanks

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

        Hi, do you have any other hardware attached to the board?

        T 1 Reply Last reply Reply Quote 0
        • T
          trigger_d @petrockblog
          last edited by

          @petrockblog

          Hi,

          I have the following usb devices connected
          usb to 3.5mm jack converter
          keyboard, mouse
          xbox one controller

          Though I've attempted the install without the xbox controller connected; with it connected, it appears to occupy /dev/input/js0, shifting the controlblock to js1+js2.

          Kind regards

          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.