[Touch-packages] [Bug 1172692]

2018-07-05 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 Touch seeded packages, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1172692 Title: Please

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

2018-05-30 Thread Dirk F
"So the fix could be what is proposed, or/and moving the packagekit hook to the right place." I'd say both. I understand that, per https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1548480/comments/8, the PackageKit side of the issue would be fixed if Ubuntu shipped version 0.8.14 or

[Touch-packages] [Bug 1763611] Re: Lubuntu bionic boots slower than the other Ubuntu flavours with some SSDs

2018-05-09 Thread Dirk F
Please see my comments at https://bugs.launchpad.net/ubuntu/+source /initramfs-tools/+bug/1644975/comments/12 and https://bugs.launchpad.net/ubuntu/+source/initramfs- tools/+bug/1644975/comments/10. In summary, /etc/initramfs-tools/conf.d/resume is obsolete. The resume process is supposed to be

[Touch-packages] [Bug 1644975] Re: Resume from disk (swapfile) fails

2018-05-09 Thread Dirk F
In the related bug #1763611, it is concluded that the Ubiquity installer incorrectly set up /etc/initramfs-tools/conf.d/resume to reference a non-existent disk UUID, causing a 30-40s delay in startup. Surely that file is obsolete (because it doesn't help resume from swapfile, eg) and should be

[Touch-packages] [Bug 1644975] Re: Resume from disk (swapfile) fails

2018-04-19 Thread Dirk F
If the swapfile is available as the initrd is handing over to the real system, then it should work (in Bionic and fixed versions back probably beyond Xenial). What would happen is something like this: - Grub[2] is loaded from yr /boot, an unencrypted partition or perhaps a USB stick - Grub

[Touch-packages] [Bug 1644975] Re: Resume from disk (swapfile) fails

2017-10-02 Thread Dirk F
In the latest upstream version 0.130 , the faulty script has been rewritten, with supporting sourced scripts. Perhaps a better solution would be for Ubuntu to pull in this version, and repackage it for

[Touch-packages] [Bug 1644975] Re: Resume from disk (swapfile) fails

2017-10-01 Thread Dirk F
Bug 983805 also applies to the /usr/share/initramfs-tools/scripts/local- premount/resume script. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1644975 Title:

[Touch-packages] [Bug 1644975] Re: Resume from disk (swapfile) fails

2017-10-01 Thread Dirk F
** Also affects: initramfs-tools (Debian) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1644975 Title: Resume from

[Touch-packages] [Bug 1644975] Re: Resume from disk (swapfile) fails

2017-10-01 Thread Dirk F
Reviewing the patch from bug 554009, I have the following comments: - as the patch sets SWAPTYPE, no need to set it in line 24 of the original script immediately before the patch: just run wait-for-root (if that is actually needed); - the test for $resume_offset would be safer if it looked for a

[Touch-packages] [Bug 1548480] Re: 95packagekit sleep hook weirdly installed in a subdirectory is ignored

2017-09-25 Thread Dirk F
Per the original report: "2 owing to a bug in pm-utils, separately reported, the previous hook is run for a second time instead." Which might have an effect worse than just disconcerting a reader of /var/log/pm-suspend.log. Anyhow, even if it's not worth it for the remaining 18 months of 14.04

[Touch-packages] [Bug 1548480] Re: 95packagekit sleep hook weirdly installed in a subdirectory is ignored

2017-09-25 Thread Dirk F
Thanks Matthias, Amr. I reported this against Trusty LTS and the Fix would mean back-porting or otherwise introducing 0.8.17 over 0.8.12, probably not going to happen. So that the unnecessary, wrongly named and wrongly located file might be removed (though I suppose anyone who cares can actually

[Touch-packages] [Bug 1548480] Re: 95packagekit sleep hook weirdly installed in a subdirectory is ignored

2017-09-24 Thread Dirk F
If you are going to mark this as Fix Released let's see: what is the fix? which supported Ubuntu versions are fixed? ** Changed in: packagekit (Ubuntu) Status: Fix Released => Incomplete ** Changed in: packagekit (Ubuntu) Status: Incomplete => Confirmed -- You received this bug

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

2017-07-17 Thread Dirk F
On 2017-07-14 09:58, Christian Ehrhardt wrote: > I revisit dormant bugs on a regular scheduling following our triaging policy. > It seems nothing happened upstream still. > > For the Debian reporting you can do so through the mail interface - you don't > need a Debian system. > Usually it is

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

2017-01-14 Thread Dirk F
Christian, thanks for looking at this. I'd definitely encourage someone with a relevant Debian installation to reportbug this, and indeed any of the bugs that I've reported in pm- utils but remain ignored upstream. -- You received this bug notification because you are a member of Ubuntu Touch

[Touch-packages] [Bug 1415039] Re: laptop unresponsive after suspend

2016-08-12 Thread Dirk F
The message in /var/log/pm-suspend.log quoted in the report "Failed to connect to non-global ctrl_ifname: (null) error: No such file or directory" comes from the wpa_supplicant sleep hook. This hook shouldn't be run when NetworkManager is operating, since NM handles sleep and resume DBus

[Touch-packages] [Bug 1548392] Re: Fix for 1172692 fails to restore hibernation mode with suspend-hybrid

2016-08-12 Thread Dirk F
Marked bug 1394388 as duplicate of this. The bug report points out an additional related symptom, as follows. When issuing the pm-suspend command, the scripts set the HIBERNATE_MODE in /sys/power/disk to "suspend". There is some shell magic to save the previous setting in variable

[Touch-packages] [Bug 1394388] Re: pm-suspend not restoring /sys/power/disk with /bin/dash

2016-08-12 Thread Dirk F
*** This bug is a duplicate of bug 1548392 *** https://bugs.launchpad.net/bugs/1548392 ** This bug has been marked a duplicate of bug 1548392 Fix for 1172692 fails to restore hibernation mode with suspend-hybrid -- You received this bug notification because you are a member of Ubuntu

[Touch-packages] [Bug 1580223] [NEW] 'gdbus call' can't handle arguments containing '&' (XML escaping failure) failure

2016-05-10 Thread Dirk F
Public bug reported: When gdbus is used with the call subcommand, string arguments passed to the called method that contain the character '&' are treated as empty "". Presumably this also affects the emit subcommand. The problem appears to be that internally the arguments are processed as XML

[Touch-packages] [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 Touch seeded packages, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1548392 Title: Fix for

[Touch-packages] [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 Touch seeded packages, which is

[Touch-packages] [Bug 1548480] Re: 95packagekit sleep hook weirdly installed in a subdirectory is ignored

2016-02-25 Thread Dirk F
In order for (b) (PackageKit update) to happen for Ubuntu, I suppose someone knowledgeable would have to identify likely issues from doing so and communicate with someone like xnox ... -- You received this bug

[Touch-packages] [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

[Touch-packages] [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 Touch seeded packages, which is subscribed to pm-utils in Ubuntu.

[Touch-packages] [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

[Touch-packages] [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)

[Touch-packages] [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

[Touch-packages] [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

[Touch-packages] [Bug 1548480] Re: 95packagekit sleep hook weirdly installed in a subdirectory is ignored

2016-02-23 Thread Dirk F
So if I understand correctly, the upstream version 0.8.17 currently packaged in 16.04 is "prehistoric" (and my version in 14.04 LTS even more so) but the active branch based on upstream version 1.1.0-1 that you (Matthias) are working on is not? In that case for 16.04 Ubuntu could do one of

[Touch-packages] [Bug 1548480] Re: 95packagekit sleep hook weirdly installed in a subdirectory is ignored

2016-02-22 Thread Dirk F
Related pm-utils bug is bug 1548486. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to packagekit in Ubuntu. https://bugs.launchpad.net/bugs/1548480 Title: 95packagekit sleep hook weirdly installed in a subdirectory is

[Touch-packages] [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

[Touch-packages] [Bug 1548480] [NEW] 95packagekit sleep hook weirdly installed in a subdirectory is ignored

2016-02-22 Thread Dirk F
Public bug reported: The 95packagekit sleep hook provided by packagekit is installed in a subdirectory: /usr/lib/pm-utils/sleep.d/95packagekit/95packagekit This has two effects: 1the hook is not run; 2owing to a bug in pm-utils, separately reported, the previous hook is run for a

[Touch-packages] [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

[Touch-packages] [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 Touch seeded packages, which is subscribed to pm-utils in Ubuntu.

[Touch-packages] [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

[Touch-packages] [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

[Touch-packages] [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

[Touch-packages] [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.

[Touch-packages] [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 Touch seeded packages, which is subscribed to pm-utils in Ubuntu. https://bugs.launchpad.net/bugs/1299975 Title: wireless script checks wrong sys file Status in pm-utils package in Ubuntu:

[Touch-packages] [Bug 209018] Re: thinkpad R30 resolution problem / trident cyberblade 1l

2014-12-12 Thread Dirk F
Result for Lubuntu 14.04 on Toshiba Tecra 8200 (Trident CyberBlade/XP): - 1024x768 is available with both trident and vesa drivers, at least if specified in the Monitor and Screen sections of xorg.conf (as previously attached for 10.10.) xorg-server 2:1.15.1-0ubuntu2.6 Module vesa: vendor=X.Org

[Touch-packages] [Bug 1367386] [NEW] Xorg crash with Trident driver after Xubuntu upgrade to Trusty

2014-09-09 Thread Dirk F
Public bug reported: After upgrading Xubuntu 12.04 LTS - 14.04.1 LTS, system boots to black screen instead of desktop environment, but single user command line works fine. Problem traced to xorg-server segfault crash in the Trident driver as below (summary of details already uploaded). The code

[Touch-packages] [Bug 1367386] Re: Xorg crash with Trident driver after Xubuntu upgrade to Trusty

2014-09-09 Thread Dirk F
Whereas in 10.10, the reverse problem occurred (bug 209018): XAA worked and EXA crashed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1367386 Title: Xorg crash with