As of 11.10, 55NetworkManager calls the already non-existing "sleep" and "wake" methods on org.freedesktop.NetworkManager. It should call instead the "Sleep" (not capital 'S') method with a boolean argument:
dbus_send ... ... org.freedesktop.NetworkManager.Sleep boolean:true
for suspending, and false for resuming.
Attached the fixed file.
ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: pm-utils 1.4.1-8ubuntu1 [modified: usr/lib/pm-utils/sleep.d/55NetworkManager] ProcVersionSignature: Ubuntu 3.0.0-12.20~ppa1-generic-tuxonice 3.0.4 Uname: Linux 3.0.0-12-generic-tuxonice x86_64 ApportVersion: 1.23-0ubuntu3 Architecture: amd64 Date: Thu Nov 10 08:32:17 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426) PackageArchitecture: all ProcEnviron: LANGUAGE=en_US:en PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: pm-utils UpgradeStatus: Upgraded to oneiric on 2011-10-30 (11 days ago)
As of 11.10, 55NetworkManager calls the already non-existing "sleep" and "wake" methods on org.freedesktop .NetworkManager . It should call instead the "Sleep" (not capital 'S') method with a boolean argument:
dbus_send ... ... org.freedesktop .NetworkManager .Sleep boolean:true
for suspending, and false for resuming.
Attached the fixed file.
ProblemType: Bug pm-utils/ sleep.d/ 55NetworkManage r] ature: Ubuntu 3.0.0-12. 20~ppa1- generic- tuxonice 3.0.4 generic- tuxonice x86_64 ture: all
DistroRelease: Ubuntu 11.10
Package: pm-utils 1.4.1-8ubuntu1 [modified: usr/lib/
ProcVersionSign
Uname: Linux 3.0.0-12-
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Thu Nov 10 08:32:17 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pm-utils
UpgradeStatus: Upgraded to oneiric on 2011-10-30 (11 days ago)