a stop job is running for LSB: ControlBlockService init script
-
Hi folks,
I've been trying to get RetroPi up and running this afternoon using a RaspberryPi B+ and the ControlBlock. I downloaded version and followed Florian's video on youtube (
thanks in advance
-
That behavior occurs, if you do have a toggle switch attached to the ControlBlock. If you do not want to use the power switch functionality (but only the controller functionality), you need to edit the configuration file for the ControlBlock driver
/etc/controlblockconfig.cfg
and setpowerswitch
tofalse
.Hope that helps!?
-
Thank you very much for your reply. How do I edit that file though? Each time I boot the Pi, it begins the shut down process after about 10 seconds or so.
-
If you remove the ControlBlock you can then boot the pi normally without it shutting down, edit the config file, then reinstall the ControlBlock after a shutdown.
-
Cheers!
Hopefully I can sort it and get it working with the proper sockets and pads - only been trying for years with various adapters :-)
-
Thanks a lot everyone. After years of tinkering on and off, both versions of the GPIO, countless soldering and unsoldering sessions I now have a working RetroPi setup with original Snes controllers.
Time to play :)
-
Glad to hear that!
-
@numbercrow How did you remove the ControlBlock before it begins the shut down process? I don't have time and I can't access to the files...
-
@numbercrow I don't have any "controlBlock", I have just install it by mistake and I can't boot my retropie without automatic shutdown...
-
You need to mount the SD card from another PC and edit the file form there, unfortunately.
-
@petrockblog said in a stop job is running for LSB: ControlBlockService init script:
You need to mount the SD card from another PC and edit the file form there, unfortunately.
euhm. but how? i cant find the file in /etc (on my pc)
i accidently installed it after updating Retropie..or is it possible to delete controlblock while the sd is inserted in a pc. or ignore it during boot so i can manually uinstall it in Retropie?
-
@derekboy2000 You need a Linux installation to read the 2nd partition on the sdcard. Try booting in 'safe -mode' your RPI system to remove the ControlBlock service (https://raspberrypi.stackexchange.com/questions/61638/how-do-i-start-up-in-safemode).
While in safe-mode, remove the/etc/init.d/controlblockservice
file and reboot into normal mode. -
@mitu This seems to be happening more and more. Why the hell are people installing drivers for hardware they don't have?
I wonder if there is any way we can get a warning / confirmation screen added before this is installed. -
@mitu said in a stop job is running for LSB: ControlBlockService init script:
@derekboy2000 You need a Linux installation to read the 2nd partition on the sdcard. Try booting in 'safe -mode' your RPI system to remove the ControlBlock service (https://raspberrypi.stackexchange.com/questions/61638/how-do-i-start-up-in-safemode).
While in safe-mode, remove the/etc/init.d/controlblockservice
file and reboot into normal mode.thank you I'll try
edit:
I just ignores it, and keeps shutting off.
(got to go to Christmas dinner so I can't try anything else)@jonnykesh said in a stop job is running for LSB: ControlBlockService init script:
@mitu This seems to be happening more and more. Why the hell are people installing drivers for hardware they don't have?
I wonder if there is any way we can get a warning / confirmation screen added before this is installed.To be honest I don't even know how I installed it. I just updated RetroPie since it was a while ago the last time I updated everything. and during the reboot I noticed CB was installed.
I think it's a better idea to disable this function so you have to manually activate the option.
-
Before the driver had to be "Enabled" from RetroPie-Setup. @petrockblog submitted a PR to enable this by default which I included with some changes. However the driver itself causes a reboot if you don't have the controlblock installed I think. A check in the service to see if the hardware is present would be best I guess, but we could switch back to the old functionality perhaps - what do you think @petrockblog ?
-
I have just created a pull request that makes that the service is not enabled with the installation anymore (https://github.com/RetroPie/RetroPie-Setup/pull/2240). I could have though about that before, sorry!
-
BTW: I hope all of you had nice a Christmas vacation!
-
I managed to acces the Controlblock service file(I installed raspbian on another SD card..).
Is there a way to edit the file so it will ignore the "shutdown/exit" command or even change it in something else.
I found this line://# Exit if the package is not installed
[ -x "$DAEMON" || exit 0]Editing software isn't really my thing. but euhm..
-
@derekboy2000 You can just remove the file altogether, then remove the driver from RetroPie setup once the system starts up again.
-
@mitu said in a stop job is running for LSB: ControlBlockService init script:
@derekboy2000 You can just remove the file altogether, then remove the driver from RetroPie setup once the system starts up again.
negative. I can't delete it: "the file operation was completed with errors" that's why I'm asking how to edit it
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.