[Bug 1548392]

2016-02-28 Thread Dirk F
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 Server Team, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1548392 Title: Fix for 1172692 fails

[Bug 1548486] Re: Sleep hook in a subdirectory ignored but causes double execution of previous hook

2016-02-27 Thread Dirk F
Upstream bug with patch at ** Bug watch added: freedesktop.org Bugzilla #94323 https://bugs.freedesktop.org/show_bug.cgi?id=94323 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to p

[Bug 1172692]

2016-02-23 Thread Dirk F
In comment #3 I wrote: >... > Finally, the pm_functions script uses "echo -n" (from line 318, including > the above patch) ... See also bug 91497. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pm-utils in Ubuntu. https://bugs.launchp

[Bug 1172692]

2016-02-23 Thread Dirk F
In comment #2 I wrote: > Comment on attachment 68712 [details] [review] >... > Although you could make the penultimate line as follows I don't recommend it > because it would hide any problems like the escaping issue that could cause > HIBERNATE_MODE_SAVE to be invalid: > > [ -n "$HI

[Bug 1172692]

2016-02-23 Thread Dirk F
Comment on attachment 68712 Improved patch to save previous hibernation method Review of attachment 68712: - In do_hibernate() the attempt to save and restore the active mode in /sys/power/disk fails, causing "sh: I/O error" message

[Bug 1548853] [NEW] 00powersave sleep hook misses claimed patch

2016-02-23 Thread Dirk F
Public bug reported: The pm-utils sleep hook installed at /usr/lib/pm- utils/sleep.d/00powersave was supposed to have been patched to prevent it running on ARM architectures. However a new case was added without deleting the preceding existing one (lines 12 on): case $1 in suspend|hibernate)

[Bug 1443249] Re: After kernel-3.13.0-41, wireless script checks wrong sys file.

2016-02-23 Thread Dirk F
*** This bug is a duplicate of bug 1544612 *** https://bugs.launchpad.net/bugs/1544612 ** This bug is no longer a duplicate of bug 1414110 Wireless powersave doesn't work (pm-utils) ** This bug has been marked a duplicate of bug 1544612 Missing fix for 1299975 claimed to be in pm-utils (

[Bug 1414110] Re: Wireless powersave doesn't work (pm-utils)

2016-02-23 Thread Dirk F
*** This bug is a duplicate of bug 1544612 *** https://bugs.launchpad.net/bugs/1544612 Should be fixed along with bug 1544612. Marking as duplicate... ** This bug has been marked a duplicate of bug 1544612 Missing fix for 1299975 claimed to be in pm-utils (1.4.1-13ubuntu0.1) -- You recei

[Bug 1548486] [NEW] Sleep hook in a subdirectory ignored but causes double execution of previous hook

2016-02-22 Thread Dirk F
Public bug reported: The set of sleep hooks provided in /usr/lib/pm-utils/sleep.d includes one (95packagekit/95packagekit) that is stored in a subdirectory. This has two effects: 1the hook is not run; 2the previous hook, currently /usr/lib/pm-utils/sleep.d/95led, is run for a second time

[Bug 1548392] [NEW] Fix for 1172692 fails to restore hibernation mode with suspend-hybrid

2016-02-22 Thread Dirk F
Public bug reported: The patch provided in upstream bug 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

[Bug 1544612] Re: Missing fix for 1299975 claimed to be in pm-utils (1.4.1-13ubuntu0.1)

2016-02-17 Thread Dirk F
Confirmed fix with 1.4.1-13ubuntu0.2, other details per original report. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.n

[Bug 1544612] Re: Missing fix for 1299975 claimed to be in pm-utils (1.4.1-13ubuntu0.1)

2016-02-15 Thread Dirk F
Thanks, Martin. But, the absence of the enable[d] file is apparently a legitimate case, and your patch as it stands causes an undesirable error message in the PM log in that case, such as: cat: /sys/class/net/wlan0/device/enable*: No such file or directory Hence my original proposed test for the

[Bug 1544612] Re: Missing fix for 1299975 claimed to be in pm-utils (1.4.1-13ubuntu0.1)

2016-02-13 Thread Dirk F
Actually, this is more tricky than I thought. The validity of the bug 1299975 patch depends on which wireless driver is in use, apparently reflecting some crufty aspects of sysfs and its driver implementations. In bug 1299975, on rereading, the reporter (savage) says that with an Intel wireless de

[Bug 1299975] Re: wireless script checks wrong sys file

2016-02-11 Thread Dirk F
See regression bug 1544612. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1299975 Title: wireless script checks wrong sys file To manage notifications about this bug go to: https

[Bug 1544612] Re: Missing fix for 1299975 claimed to be in pm-utils (1.4.1-13ubuntu0.1)

2016-02-11 Thread Dirk F
NB The mod identified in the line from the automated package report Package: pm-utils 1.4.1-13ubuntu0.1 [modified: usr/lib/pm-utils/pm-functions] arises from my manually applied fix for https://bugs.freedesktop.org/show_bug.cgi?id=52572. It would be good to get that into the repos too. **

[Bug 1544612] [NEW] Missing fix for 1299975 claimed to be in pm-utils (1.4.1-13ubuntu0.1)

2016-02-11 Thread Dirk F
Public bug reported: The patch debian/patches/17-fix-wireless-hook.patch for bug 1299975 is supposed to be applied in pm-utils (1.4.1-13ubuntu0.1) but is not installed in that version from trusty-updates. The file /usr/lib/pm-utils/power.d/wireless dated 2014-07-15 16:15 (attached) supposedly in