Controlblock sends all inputs once controller plugged in
-
I have a Raspberry Pi 4B with original power supply and heatsink + ventilators.
Rpi is stacked with 2 ControlBlock's from Petrockblock, to use 2 NES controllers and 2 SNES controllers. Extra to that, there are 4 U360 joysticks added.The whole group worked fine for a while (in september finaly everything worked together, and I've played a few times in between), but recently I wanted to play retropie and none of the SNES and NES controllers didn't work anymore.
I did some js tests and these are the results:
SNES controller 1 went all on once plugging in the controller.
pi@retropie:~ $ jstest /dev/input/js0 Driver version is 2.1.0. Joystick (ControlBlock SNES Gamepad) has 2 axes (X, Y) and 8 buttons (BtnA, BtnB, BtnX, BtnY, BtnTL, BtnTR, BtnSelect, BtnStart). Testing ... (interrupt to exit) Axes: 0:-32767 1:-32767 Buttons: 0:on 1:on 2:on 3:on 4:on 5:on 6:on 7:on
SNES controller 2 did not change when plugging in the controller.
pi@retropie:~ $ jstest /dev/input/js1 Driver version is 2.1.0. Joystick (ControlBlock SNES Gamepad) has 2 axes (X, Y) and 8 buttons (BtnA, BtnB, BtnX, BtnY, BtnTL, BtnTR, BtnSelect, BtnStart). Testing ... (interrupt to exit) Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off
NES controller 1 went all on when plugging in the controller
pi@retropie:~ $ jstest /dev/input/js2 Driver version is 2.1.0. Joystick (ControlBlock NES Gamepad) has 2 axes (X, Y) and 4 buttons (BtnA, BtnB, BtnSelect, BtnStart). Testing ... (interrupt to exit) Axes: 0:-32767 1:-32767 Buttons: 0:on 1:on 2:on 3:on
NES controller 2 was already on before plugging in the controller. This didn't change when plugging in the controller.
pi@retropie:~ $ jstest /dev/input/js3 Driver version is 2.1.0. Joystick (ControlBlock NES Gamepad) has 2 axes (X, Y) and 4 buttons (BtnA, BtnB, BtnSelect, BtnStart). Testing ... (interrupt to exit) Axes: 0:-32767 1:-32767 Buttons: 0:on 1:on 2:on 3:on
Controlblockconfig.cfg
{ "controlblocks" : [ { "enabled" : true, // Enables (=true) or disables (=false) the ControlBlock "address" : { // The address information of the first ControlBlock "SJ1" : 0, // The hardware address solder-jumper SJ1. Options: 0, 1 "SJ2" : 0 // The hardware address solder-jumper SJ2, Options: 0, 1 }, "gamepadtype" : "snes", // Sets the gamepad type. Options: "arcade", "mame", "snes", "nes", "genesis", "none" "onlyOneGamepad" : false, // If true, registers only one gamepad instead of two "powerswitchOn" : true // Enables (=true) the power switch functionality. Options: true, false }, { "enabled" : true, // Enables (=true) or disables (=false) the second ControlBlock "address" : { // The address information of the second ControlBlock "SJ1" : 1, // The hardware address solder-jumper SJ1. Options: 0, 1 "SJ2" : 0 // The hardware address solder-jumper SJ2, Options: 0, 1 }, "gamepadtype" : "nes", // Sets the gamepad type. Options: "arcade", "mame", "snes", "nes", "genesis", "none" "onlyOneGamepad" : false // If true, registers only one gamepad instead of two } ] }
Any ideas where this went wrong? So far I know I didn't do an update, or is this pushed automatically?
I also did some other tests:
- I've reverted the whole thing back to an old back-up from september
- I've removed one of the controlblocks (only using one) and also still the same problem
-
Nevermind, it's solved. Problem was in the connectors...
Topic can be deleted.
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.