Bugzilla – Bug 266696
Two rpms processing ACPI events at the same time
Last modified: 2007-04-23 09:07:12 UTC
In SuSE 10.2 both pm-utils and powersave process the ACPI events for suspend2ram and suspend2disk (with a thinkpad, suse10.2). The corrensponding entries in the file /usr/lib/powersave/thinkpad_acpi_events have not been disabled. Therefore the "faster" of the two processes come into action. Therefore it may happen that the laptop goes back to suspend immediatly after resume. This happens because one of the suspend-events have not been processed and this one is then stored in the image that is saved on disk / in ram. If you reboot, this event is then processed immediatly. I detected this because I added some scripts to /etc/pm/hooks that made the pm-utils slower, therefore the corresponding processes survived in the image. Can easily be tested with any thinkpad processing /usr/lib/powersave/thinkpad_acpi_events and a script in /etc/pm/hooks that does a sleep X. Solution: remove the events for FN-F4 and FN-F12 from /usr/lib/powersave/thinkpad_acpi_events. I add a patch for powersave to this bug.
Created attachment 132941 [details] Stop powersave from processing suspend2disk / suspend2ram events This patch fixes the behaviour of powersave. Including this patch stops powersave from handling suspend2disk / suspend2ram events.
Sorry, I have to close this bug as duplicate of bug 264692. A fixed package already exists in the factory distribution. For 10.2 one can update the powersave package from http://software.opensuse.org/download/home:/dkukawka/openSUSE_10.2/ *** This bug has been marked as a duplicate of bug 264692 ***