Created attachment 122010 patch based on review of patch 68712, taken from running pm-functions
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1548392 Title: Fix for 1172692 fails to restore hibernation mode with suspend-hybrid Status in pm-utils: Confirmed Status in pm-utils package in Ubuntu: New Bug description: The patch provided in upstream bug <https://bugs.freedesktop.org/show_bug.cgi?id=52572> and implemented through 28-suspend-hybrid.patch causes error messages "sh: I/O error" when resuming with suspend-hybrid and hibernate kernel methods. With suspend-hybrid it also forces the hibernation mode, as shown in /sys/power/disk, to "suspend" instead of restoring the original mode which is what the patch tried to do. Please see the upstream bug for a review of the provided patch with proposed fixes. Affects all Ubuntu and derived versions with pm-utils 1.4.1-9fix.ubuntu12.10 or later. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pm-utils 1.4.1-13ubuntu0.2 [modified: usr/lib/pm-utils/pm-functions] ProcVersionSignature: Ubuntu 4.2.0-29.34~14.04.1-generic 4.2.8-ckt3 Uname: Linux 4.2.0-29-generic i686 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: i386 Date: Mon Feb 22 16:44:52 2016 InstallationDate: Installed on 2016-02-21 (0 days ago) InstallationMedia: Lubuntu 14.04.4 LTS "Trusty Tahr" - Release i386 (20160217.1) PackageArchitecture: all SourcePackage: pm-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/pm-utils/+bug/1548392/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp