Comment 1 for bug 47303

Revision history for this message
Paul Sladen (sladen) wrote : Re: No suspend for iBooks on a clean install

What happens if you go:

  System->Preferences->Power Management
  General->Sleep Button Action = Suspend.

gnome-power-manager is utterly, utterly broken in this respect:

  /var/lib/dpkg/info/gnome-power-manager.postinst

  case "$1" in
    configure)
        if [ -r /usr/share/acpi-support/device-funcs ]; then
           . /usr/share/acpi-support/device-funcs
           DeviceConfig
        fi
        if [ "x$ACPI_SLEEP" = "xtrue" ]; then
            gconftool-2 --direct \
                        --config-source xml:readwrite:/var/lib/gconf/defaults \
                        --set --type bool \
                        /apps/gnome-power-manager/can_suspend true

...otherwise, it sets it as false. g-p-m doesn't even call 'pmi capabilities' to enquiry...