[ubuntu-uk] Computer restarts on shutdown

James Morrissey morrissey.james1 at gmail.com
Mon Oct 8 10:06:02 UTC 2012


Thanks for this Tyler.

At the moment i only seem able to find the acpi call for the power button,
not for the cog.

Are they the same at:

/etc/acpi/events/powerbtn

and then:

/etc/acpi/powerbtn.sh

?

If not can someone tell me where the acpi script for the cog is?

Thanks,

j

On 7 October 2012 22:31, Tyler J. Wagner <tyler at tolaris.com> wrote:

> On 2012-10-07 12:26, James Morrissey wrote:
> >
> >     Following up on this issue:
> >
> >     >> sudo poweroff
> >     >> sudo shutdown -h now
> >
> >     >I'll give it a try once i have run the machine for a few hours. The
> >     >longer i run it the more likely the restart error occurs.
> >
> >     Using: sudo poweroff seems to stop the restart issue from happening.
> >     Does this mean that there is a software problem in the shutdown
> process
> >     via the cog?
>
> The cog *probably* sends an ACPI call, and ACPI has a script that it runs
> to shut down. I'd start by investigating that. It's possible that replacing
> whatever it is doing with the poweroff command would solve it for you. A
> hack, but if it works, great.
>
> I recall doing something similar back in the ... edgy (?) days?
>
> Regards,
> Tyler
>
> --
> "All parts should go together without forcing. You must remember that
> the parts you are reassembling were disassembled by you. Therefore, if
> you can't get them together again, there must be a reason. By all means,
> do not use a hammer."
>    -- IBM maintenance manual (1925)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20121008/47a50b50/attachment.html>


More information about the ubuntu-uk mailing list