Updated debdiff to show bug number.

** Summary changed:

- pm-utils doesn't detect uswsusp in hardy (with fix)
+ pm-utils doesn't detect uswsusp in hardy

** Description changed:

  Binary package hint: pm-utils
  
- This prevents uswsusp from being used (except by calling s2disk
- manually).  The reason pm-utils doesn't use uswsusp to suspend to disk
- is because  /usr/lib/pm-utils/defaults doesn't look for s2disk in the
- right location, preventing the script from autodetecting uswsusp's
- presence properly.  The fix is to modify /usr/lib/pm-utils/defaults in
- the pm-utils package to add the proper path where Ubuntu installs
- uswsusp's utilities:
+ pm-utils does not detect the presence of uswsusp (it looks for s2disk in
+ /usr/sbin instead of /sbin), resulting in Suspend and Hibernate using
+ pm-utils's default method. For some users (those whose systems cannot
+ suspend/hibernate without uswsusp), this means that Suspend/Hibernate is
+ completely broken for them. For other users, uswsusp just isn't used,
+ which leads to a longer hibernate/resume time.
+ 
+ In the development branch, pm-utils had been upgraded to
+ 1.1.2.4-1ubuntu1, i.e. new release. The relevant patches that had errors
+ with them, i.e. 10-uswsusp-support.patch and 30-comment-defaults-
+ file.patch were obsoleted in 1.1.0-1.
+ 
+ A debdiff fixing the patches mentioned above, and the corresponding
+ build log has been attached, see comments 2 and 4.
+ 
+ TEST CASE: Install uswsusp, then hibernate the system. Upon resuming,
+ run the command "dmesg | grep swsusp". That should tell whether or not
+ uswsusp was used when hibernating, i.e. no output means uswsusp wasn't
+ used.
+ 
+ Regression potential: none apparent, unless the s2disk binary gets
+ relocated.
+ 
+ Current workaround:
+ Modify /usr/lib/pm-utils/defaults in the pm-utils package to add the proper 
path where Ubuntu installs uswsusp's utilities:
  
  # where is the s2disk binary located? Defaults to "/usr/sbin/s2disk"
  # (do not change unless you kow what you are doing)
  #
  # Set the path so the script autodetects s2disk in the location 
  # Ubuntu's uswsusp package installs it. 
  S2DISK_BIN="/sbin/s2disk"
  
- 
- -Note that this is NOT duplicate of #109151, which is a problems in 
acpi-utils which basically isn't used in Hardy.
- 
- -Using uswsusp was the only way I could get my MacBook Pro C2D to
- hibernate.
- 
  -Until the repositories fix this, the workaround is to copy /usr/lib/pm-
  utils/defaults to /etc/pm/config.d/config and make the change above in
  /etc/pm/config.d/config

** Attachment added: "Updated debdiff that shows LP bug number"
   
http://launchpadlibrarian.net/17241759/pm-utils_0.99.2-3ubuntu10_0.99.2-3ubuntu11.debdiff

-- 
pm-utils doesn't detect uswsusp in hardy
https://bugs.launchpad.net/bugs/246053
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to