Suspend Session and Button Events handling wont work, manual Hibernate/Sleep does?!?

Hello,

I have the problem that Suspend Session or the Button Events of the KDE Energy Saving Module wont work. After the set time, the display dims, turns off but the computer wont suspend (no matter if Sleep, Hibernate, Logout or Shutdown is selected). Suspending by pressing the Powerbutton isn’t working either.

The System:
Opensuse 12.3 64bit KDE on a Lenovo T410

Any idea whats going wrong? Where can I start looking for the problem? Is the Energy Saving Module writing to any log? I had a look into /var/log/messages, /var/log/pm-powersave.log and /var/log/pm-suspend.log but nothing shows up.

Kind Regards,
Martin

There is a well known kernel issue with power management. Add the following line to /etc/default/grub:

Insert at the end of the entry in the GRUB_CMDLINE_LINUX_DEFAULT=" "

pcie_aspm=force i915.i915_enable_rc6=1 i915.lvds_downclock=1 i915.i915_enable_fbc=1

In addition, install laptop-mode-tools, powertop and pm-utils.
**pm-utils **provide simple shell command line tools to suspend and hibernate computers that can be used to run vendor or distro supplied scripts on suspend and resume.

Also tlp from this repo http://download.opensuse.org/repositories/devel:/cloverleaf/openSUSE_12.3/

Additional info: https://wiki.archlinux.org/index.php/pm-utils#Installation

Restart your laptop.

Important Follow Up

Also install tp_smapi module from the repository below:

Index of /repositories/home:/munix9/openSUSE_12.3
**
Kernel Modules implementing smapi on ThinkPads** The tp_smapi kernel module exposes some features of the ThinkPad hardware/firmware via a sysfs interface.
Currently, the main implemented functionality is control of battery charging and extended battery status.

It also includes an improved version of the HDAPS driver. The underlying hardware interfaces are SMAPI
and direct access to the embedded controller.

Please read this reference about the T410: https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T410#Graphics

Follow Up for** tp_smapi
**
After installing tp_smapi, open konsole or xterm and type: modprobe tp_smapi
**
For auto-loading the tp_smapi module during boot**

Please check in Yast Software Management.
For autoloading the modules. You will also have to open Yast–> System → /etc/sysconfig Editor -->System → Kernel → MODULES_LOADED_ON_BOOT

Type in: tp_smapi

Click on the OK buttons to complete your entry. You must reboot your laptop.

For Lenovo ThinkPads to bring back the brightness on the screen for kernel 3.7 and up:

Add:

acpi_osi="!Windows 2012"

To the file /etc/default/grub. Insert at the end of the entry in the GRUB_CMDLINE_LINUX_DEFAULT=" " i.e. GRUB_CMDLINE_LINUX_DEFAULT=“acpi_osi=”!Windows 2012" "

Then run:

grub2-mkconfig -o /boot/grub2/grub.cfg

Restart the laptop.

Also, if you are running the nVidia card you must install bumblebee. Good luck!