So have you visited the KDE menu / Personnel Settings / Hardware Group / Power Management / Power Profiles and configured the Button Events Handler for your selected or default profile?
Thanks for this hint, I re-checked the settings. However, I only find options to get the system into suspend/hibernate mode.
I do not find any option for wakeup events?
Thanks for this hint, I re-checked the settings. However, I only find options to get the system into suspend/hibernate mode.
I do not find any option for wakeup events?
Thank You
The setting of Wake-Up events is done in your BIOS setup though hardware buttons for this can exist as well with Laptops and the real power button should always do something.
…now, the main power button PWRF and the lid switch LID0 are recognized by acpi as described in the original post.
Pressing PWRF for 4 seconds e.g. shuts off the computer, as expected.
But, the buttons are not included in /etc/acpi/wakeup - I think this is the problem:
How to get them in there?
In ACPI there are six power states: S0, S1, S2, S3, S4, and S5. These states are defined as follows:
S0:
the run state. In this state, the machine is fully running.
S1:
the suspend state. In this state, the CPU will suspend activity but retain its contexts.
S2 and S3:
sleep states. In these states, memory contexts are held but CPU contexts are lost. The differences between S2 and S3 are in CPU re-initialization done by firmware and device re-initialization.
S4:
a sleep state in which contexts are saved to disk. The context will be restored upon the return to S0. This is identical to soft-off for hardware. This state can be implemented by either OS or firmware.
S5:
the soft-off state. All activity will stop and all contexts are lost.
So, in your BIOS setup, what state is it set for? Mine is set for S3 and it would seem that when you put your computer into the “Sleep” mode, the BIOS setting will be important. Now, if you put your computer into Hibernate, this is a totally different animal where the contents of memory are saved to a disk file in SWAP and the actual power button function is not modified in any way, but rather how openSUSE starts up and realizing it was hibernated will restore the session from a file saved on the hard disk.
I am having the same issue and did not think to look in bios.
Here is my mine. I t looks like mine is set to Hibernate on both lid and button.
I am having the same issue and did not think to look in bios. So the idea is that the bios should match?
…now, unfortunately just such an entry is missing acc.
pinysuse, I think you need to look at your BIOS settings and see how it is setup. Have you visited your BIOS setup for ACPI to see how it is configured?