Powerblock shutdown slow
-
@cyperghost said in Powerblock shutdown slow:
@ruckage said in Powerblock shutdown slow:
Using the Powerblock to shutdown: 30 second.
Using command-line or shutdown option in the ES menu: 4 secondsSounds like a delay in detecting routine.
I think it's better to tag @petrockblog ... He developed this device ;)Thanks, good idea - hopefully @petrockblog may have some insight.
The shutdown does seem to start instantly, whatever is running at the time (ES/emulator) closes and you get the usual scroll of text output you'd expect but then it seems to pause halfway through the process before eventually continuing the shutdown and then powering off.
-
Sounds like something should be refined with the PowerBlock service handing. I need to take a look into that.
-
@petrockblog Thanks for the reply.
I'm using the latest official retropie image if that helps. Also the powerblock isn't the latest model, it's one bought I from you in November of 2015 (rev 1.0) in case that could be an issue.
Actually I do have a brand new powerblock that I bought from you recently (rev 1.1) which I believe is the latest model so I'll try that out to rule it out as problem.Edit: I tried the rev 1.1 board and it's the same, I didn't think it would be the problem but it was worth a try.
-
I assume that it somehow depends on the way the shutdown script or the PowerBlock service is integrated into Raspbian. I am afraid that I need to take a look into that to better understand the reason for that delay.
-
I have just published a new release of the PowerBlock driver. Besides a logger, and extended configurability, it also fixes the shutdown behaviour such that it only takes (again) about four seconds for a shutdown now:
https://blog.petrockblock.com/2018/08/03/update-powerblock-driver-1-5-0/
-
@petrockblog
Thanks for the update, I appreciate it. I'll update it this afternoon and give it a try. -
@petrockblog
Sorry for not posting sooner. The updated version works perfectly - instant shutdown again :)
Thanks for fixing that. -
Glad to hear that!
-
EDIT: Don’t mind me, nothing to see here.
-
All right.
I took a look into the sources of the ControlBlock driver. The same issue that caused the slow shutdown for the PowerBlock also existed there. I have fixed that now.
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.