Comment 26 for bug 1010608

Revision history for this message
martywd (martywd) wrote :

Ok, forget my mod in comment #24. Hans-Christoph's suggested fix in comment #4 seems the more appropriate solution to this push power button / immediate shutdown issue and for me it solves the issue in both LM13 and LM14.

@Miroslav
Your suggested mod in comment #23 didn't change the press power button/immediate shutdown issue for me whereas Hans-Christoph's suggestion did.

But, Miroslav, your suggested mod of the '/usr/share/acpi-support/policy-funcs' has fixed another 'Suspend' issue I've been having on a recently acquired laptop (LM14 MATE 64-bit). The problem was, when suspending the laptop using the Fn+... combo keys the laptop would suspend. But on the next press of the power button (or re-opening of the laptop's lid) to wake the laptop back up, the login screen would light up, but immediately return to suspend resulting in a required second press of the power button. Once the display came up a second time, the laptop would remain powered on thus allowing login, etc.

This was only happening when the laptop was suspended using the Fn+... keys. I.e., if I simply pressed the power button (or clicked 'Menu Button | Quit' in the MATE menu) and then clicked the 'Suspend' button at the gui popup prompt, the laptop would suspend and with another press of the power button the laptop would power up and remain powered on.

Adding the'PMS="$PMS mate-power-manager" line to the /usr/share/acpi-support/policy-funcs' script as per your instructions in comment #23 has fixed this suspend using the Fn+... keys issue. Now when resuming from a Fn+... key press suspend, I haven't had any further false starts.
.