RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    1. Home
    2. Tags
    3. controlblock
    Log in to post
    • All categories
    • erik m

      Installing service fails
      ControlBlock, PowerBlock & Co. • controlblock serviceinstall fail hang • • erik m

      3
      0
      Votes
      3
      Posts
      35
      Views

      petrockblog

      @erik-m Ok, I pushed a fix a minute ago. Something changed with the system execution. I updated it accordingly.

    • antomost

      Error during installation
      ControlBlock, PowerBlock & Co. • controlblock • • antomost

      3
      0
      Votes
      3
      Posts
      63
      Views

      petrockblog

      @antomost I can only second @mitu 's advice.

    • stenem

      ControlBlock - Making sure that SPI interface is enabled
      ControlBlock, PowerBlock & Co. • controlblock spi interface • • stenem

      7
      0
      Votes
      7
      Posts
      112
      Views

      petrockblog

      Sorry for this delayed reply.

      What does the ControlBlock installation do, if you you run the ControlBlock installation directly from the command line via

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

      (see https://github.com/petrockblog/ControlBlockService2#quick-installation)

      Do you observe the same behavior?
      Can you post the link to the OS image that you are using, so that I can try to replicate the error?

    • NIGHTKILLER05

      Fan and case recommendation
      ControlBlock, PowerBlock & Co. • case fan controlblock • • NIGHTKILLER05

      1
      0
      Votes
      1
      Posts
      100
      Views

      No one has replied

    • biggestsonicfan

      Using ControlBlock with GPIO output instead of input?
      ControlBlock, PowerBlock & Co. • controlblock • • biggestsonicfan

      2
      0
      Votes
      2
      Posts
      77
      Views

      petrockblog

      Hi, interesting project idea!
      In case of simulating a controller towards a console it depends on the protocol and submission speeds.
      Generally, you can control the GPIO pins of the ControlPins via the SPI interface of the Raspberry. As long as SPI is fast enough for your use case, things should work.
      Hope that helps!

    • NIGHTKILLER05

      Error trying to install ControlBlock
      ControlBlock, PowerBlock & Co. • controlblock drivers • • NIGHTKILLER05

      3
      0
      Votes
      3
      Posts
      124
      Views

      NIGHTKILLER05

      @mitu Hey, that did the trick, thank you very much, sir !!!!

    • KSack

      CB switched to only work with momentary button
      ControlBlock, PowerBlock & Co. • shutdown switch powerbutton controlblock • • KSack

      2
      0
      Votes
      2
      Posts
      294
      Views

      KSack

      I've waited a week and aeverything just works fine again...

    • petitssuisses

      Custom gamepad type
      ControlBlock, PowerBlock & Co. • gamepad controlblock • • petitssuisses

      2
      0
      Votes
      2
      Posts
      261
      Views

      petrockblog

      @petitssuisses Sorry if this reply is too late.
      I would go for a new gamepad type to keep the existing in its current state as fallback. You could start with a copy of the MAMEGamepad.cpp file.

    • fastfalcon94

      Control Block no longer working
      ControlBlock, PowerBlock & Co. • buttons controlblock jstest • • fastfalcon94

      8
      0
      Votes
      8
      Posts
      505
      Views

      fastfalcon94

      I had tried all 3 methods on my pi 3. I used the manual cmake steps, I had tried the wget install.sh method, and I had also tried the GUI option in the retroarch "optional package" menu. I ran into no errors during any method, but nothing worked. Nothing was responsive in jstest. When performing the GUI option pi 2.5, it worked. (I didn't try other 2 methods on the pi 2.5 as my first attempt worked).

      I think its my pi. I bought it a few years ago and this was my first time trying to use the GPIO headers. I downloaded a pigpiod GPIO test script and it identified some of my pins as bad. I think I'll grab a pi 4.0 in the near future.

      I made a video going over my gamepad design if anyone is curious.

    • sIncION

      Controlblock button mapping keeps changing
      ControlBlock, PowerBlock & Co. • controlblock arcadecontrols arcade controls arcadebutton • • sIncION

      6
      0
      Votes
      6
      Posts
      342
      Views

      Sabaro

      @Sabaro my problem.... I set the cable wrong
      1 2 3 4. 4321.

    • gmilner

      Controlblock MAME keyboard emulation remapping
      ControlBlock, PowerBlock & Co. • controlblock mame retroarch • • gmilner

      2
      0
      Votes
      2
      Posts
      263
      Views

      etheling

      I did a similar project not too long a go. E.g. built RetroPie into Atari 2600 case. Anyways - yes, key presses that ControlBlock sends when using MAME layout are hardcoded into it's driver:

      URL: https://github.com/petrockblog/ControlBlockService2/blob/master/src/controlblock/gamepads/MAMEGamepad.cpp#L41-L141

      To change e.g. switch 'z' to send something else than z, say a, you would modify lines below and replace KEY_Z with KEY_A. And recompile and re-install the driver (instructions here https://github.com/petrockblog/ControlBlockService2).

      URL: https://github.com/petrockblog/ControlBlockService2/blob/master/src/controlblock/gamepads/MAMEGamepad.cpp#L68-L70 to

      Available KEY_* events (that you could replace KEY_Z above) are found from here: https://github.com/petrockblog/ControlBlockService2/blob/master/src/controlblock/uinput/UInputEventCodes.h

      I hope this helps you forward. I did a slight re-write for the driver myself as I wanted all the Atari 2600 switches to provide their original functionality. Which isn't straightforward since official ControlBlock driver doesn't support switch where both on and off indicate certain state (e.g. on -> colorTV, off B&W). I suppose I could clean up my code a bit and put it up to github sometime.

    • KSack

      js2 & js3 controlled by same controller
      ControlBlock, PowerBlock & Co. • controlblock snes controller nes controller jstest issue • • KSack

      12
      0
      Votes
      12
      Posts
      430
      Views

      petrockblog

      I am so glad to hear that :-)

    • Mario

      Problema Controlblock rev2.1
      ControlBlock, PowerBlock & Co. • controlblock • • Mario

      10
      0
      Votes
      10
      Posts
      240
      Views

      Mario

      Hello everyone, in the end I will use Recalbox with two USB interfaces.
      For me it is much easier.

      Thank you all for the help, best regards.

    • woomfaw

      Arcade buttons, RetroPie 4.5, ControlBlock 1.5
      ControlBlock, PowerBlock & Co. • controlblock arcade controls • • woomfaw

      3
      0
      Votes
      3
      Posts
      240
      Views

      petrockblog

      Glad to hear!

    • nh81

      Overclocking P3 B+ with ControlBlock
      ControlBlock, PowerBlock & Co. • controlblock overclock overheat • • nh81

      9
      0
      Votes
      9
      Posts
      257
      Views

      nh81

      @SuperPitendo Thank you so much for all the info and effort. Much appreciated!

    • m2306

      Undervoltage when using powersupply through ControlBlock
      ControlBlock, PowerBlock & Co. • controlblock undervoltage • • m2306

      2
      0
      Votes
      2
      Posts
      243
      Views

      petrockblog

      The power switch on the ControlBlock lead to a small voltage-drop at the switching component (as does every electronically component). From other projects I know that especially additional USB devices can be problematic. I guess that when you disconnect, one or both USB devices (SSD, converter) the under voltage disappears. Alternatively, you could get an active USB hub that powers the additional USB devices and keep the connection between the RPi and the USB devices.

    • paulmalko

      ControlBlock not communicating with RasPi 3B+
      ControlBlock, PowerBlock & Co. • controlblock • • paulmalko

      9
      0
      Votes
      9
      Posts
      485
      Views

      jaymcmeans

      @paulmalko I am having a very similar problem. When you say you "re-imaged the SD card". What did you reimage it with? RetroPi, Raspbian, ...??? Any help would be appreciated.

    • EmbeddedMan

      ControlBlock service won't start with v1.6 board
      ControlBlock, PowerBlock & Co. • controlblock install error • • EmbeddedMan

      15
      0
      Votes
      15
      Posts
      591
      Views

      EmbeddedMan

      @petrockblog It appears that I can get the service running by commenting out the line "[ -x "$DAEMON" ] || exit 0" and then starting the service. This also allows the service to run on boot.

      So, why does this line need to be commented out? I'm confused why this would work for everyone else and not my setup (even though I started from a completely fresh RetroPi 4.5).

    • thespiderman

      Update - Having problems getting Controlblock going - Still have some questions
      ControlBlock, PowerBlock & Co. • controlblock arcade buttons arcade joystick • • thespiderman

      3
      0
      Votes
      3
      Posts
      371
      Views

      petrockblog

      Glad to hear that you are making progress!

      It should always be possible to use the ControlBlock together with any USB controller. You would just need to run the input configuration for each device on EmulationStation. All controller types should be recognised and working afterwards.

      Regarding your question about the need for an additional keyboard: What you would need to do is to configure the emulators such that you have full control with your arcade / gamepad controls only. That should be possible.

      Hope that helps!