I would like to set the power button in my laptop to initiate suspension. Note that I can trigger suspension by closing the lid, or using pm-suspend, so the problem is the button, not the suspend process itself. I use Gnome, and through the tweak tool I have configured that I want the system to reboot, so this is also not the problem.
The problem seems to be that the system does not realise that I'm pressing the power key. The most clear indication that this is the case is that unlike when I press the buttons to control the screen brightness or the volume, acpi_listen returns nothing when I press the power button.
To provide further details, I have a Lenovo Thinkpad X1 Carbon (3rd Gen) with Suse 13.2.
modprobe thinkpad_acpi(or rmmod if it is loaded)?dmesgindicates nothing. I configured the load of thethinkpad_acpimodule, because doing so enables the brightness buttons. If I unload it (which forces me to reboot, breviaries the module is in use and cannot be unloaded), the same problem with the power button happens with the brightness (the sound volume still works however). All this makes me think that there is s bug in the module. Do you think I should report it? Where?