Thanks for this Tyler. <br><br>At the moment i only seem able to find the acpi call for the power button, not for the cog.<br><br>Are they the same at:<br><br>/etc/acpi/events/powerbtn<br><br>and then:<br><br>/etc/acpi/powerbtn.sh<br>
<br>? <br><br>If not can someone tell me where the acpi script for the cog is?<br><br>Thanks, <br><br>j<br><br><div class="gmail_quote">On 7 October 2012 22:31, Tyler J. Wagner <span dir="ltr"><<a href="mailto:tyler@tolaris.com" target="_blank">tyler@tolaris.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2012-10-07 12:26, James Morrissey wrote:<br>
><br>
> Following up on this issue:<br>
><br>
> >> sudo poweroff<br>
> >> sudo shutdown -h now<br>
><br>
> >I'll give it a try once i have run the machine for a few hours. The<br>
> >longer i run it the more likely the restart error occurs.<br>
><br>
> Using: sudo poweroff seems to stop the restart issue from happening.<br>
> Does this mean that there is a software problem in the shutdown process<br>
> via the cog?<br>
<br>
</div>The cog *probably* sends an ACPI call, and ACPI has a script that it runs<br>
to shut down. I'd start by investigating that. It's possible that replacing<br>
whatever it is doing with the poweroff command would solve it for you. A<br>
hack, but if it works, great.<br>
<br>
I recall doing something similar back in the ... edgy (?) days?<br>
<br>
Regards,<br>
Tyler<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
"All parts should go together without forcing. You must remember that<br>
the parts you are reassembling were disassembled by you. Therefore, if<br>
you can't get them together again, there must be a reason. By all means,<br>
do not use a hammer."<br>
-- IBM maintenance manual (1925)<br>
</font></span></blockquote></div>