#650013 Suspend hangs on HP4730s when firmware-linux-nonfree is not installed

#650013#5
Date:
2011-11-25 15:42:52 UTC
From:
To:
--- Please enter the report below this line. ---
Hi, we have found that fresh install of debian testing hangs on this
notebook when suspend to ram or suspend to disk is issued. We managed to
solve this problem so we read instructions on
http://wiki.debian.org/suspend. There is written that uswsusp can be
used to suspend/resume, so we
installed it. And notebook is now suspending and resuming fine. It will be
great that gnome-power-manager will depend on uswsusp because without it it
causes PC hang, which results in lossing unsaved data and running apps.
Another solution is not to hang and show message that for suspending it is
needed to install uswsusp.

Identification of affected machine:

root@jk-debian:/home/jk# s2ram -i
This machine can be identified by:
    sys_vendor   = "Hewlett-Packard"
    sys_product  = "HP ProBook 4730s"
    sys_version  = "A0001D02"
    bios_version = "68SRR Ver. F.09"

Debian Release: wheezy/sid
  500 testing         security.debian.org
  500 testing         ftp.cz.debian.org
--- Package information. ---
Depends                           (Version) | Installed
===========================================-+-================
libc6                              (>= 2.4) | 2.13-21
libcairo2                       (>= 1.10.0) | 1.10.2-6.1
libcanberra-gtk3-0                (>= 0.25) | 0.28-3
libcanberra0                       (>= 0.2) | 0.28-3
libglib2.0-0                    (>= 2.28.0) | 2.28.8-1
libgnome-keyring0               (>= 2.20.3) | 3.2.0-3
libgtk-3-0                       (>= 3.0.0) | 3.0.12-2
libnotify4                       (>= 0.7.0) | 0.7.4-1
libpango1.0-0                   (>= 1.18.0) | 1.29.4-2
libupower-glib1                  (>= 0.9.9) | 0.9.14-3
libx11-6                                    | 2:1.4.4-4
libxext6                                    | 2:1.3.0-3
libxrandr2                  (>= 2:1.2.99.2) | 2:1.3.2-2
dconf-gsettings-backend                     | 0.7.5-3
 OR gsettings-backend                       |
notification-daemon                         | 0.7.3-1
dbus-x11                                    | 1.4.16-1
consolekit                                  | 0.4.5-1
upower                                      | 0.9.14-3
gnome-settings-daemon              (>= 3.0) | 3.0.3-3
gnome-screensaver                  (>= 3.0) | 3.0.1-3


Recommends      (Version) | Installed
=========================-+-===========
udisks                    | 1.0.4-2


Suggests         (Version) | Installed
==========================-+-===========
policykit-1                | 0.102-1
--- Output from package bug script --- Distro version: wheezy/sid Kernel version: 3.0.0-1-amd64 g-p-m version: 3.0.2 HAL version: System manufacturer: missing System version: missing System product: missing AC adapter present: no Battery present: no Laptop panel present: no CPU scaling present: no Battery Information: UPower data: Device: /org/freedesktop/UPower/devices/line_power_AC native-path: /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC power supply: yes updated: Fri Nov 25 16:14:08 2011 (1064 seconds ago) has history: no has statistics: no line-power online: yes Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 vendor: Hewlett-Packard model: Primary serial: 01230 2011/06/11 power supply: yes updated: Fri Nov 25 16:22:33 2011 (559 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: fully-charged energy: 74.7936 Wh energy-empty: 0 Wh energy-full: 74.7936 Wh energy-full-design: 74.7936 Wh energy-rate: 0 W voltage: 16.634 V percentage: 100% capacity: 100% technology: lithium-ion Daemon: daemon-version: 0.9.14 can-suspend: yes can-hibernate yes on-battery: no on-low-battery: no lid-is-closed: no lid-is-present: yes is-docked: no GNOME Power Manager Process Information: jk 2313 0.0 0.2 339556 11468 ? Sl 16:14 0:00 \_ gnome-power-manager jk 3903 0.0 0.0 4148 584 pts/0 S+ 16:31 0:00 \_ sh -c { /usr/bin/xterm -e '/usr/share/bug/gnome-power-manager/script' 3>&1; } 2>&1 jk 3904 3.0 0.1 62540 7244 pts/0 S+ 16:31 0:00 \_ /usr/bin/xterm -e /usr/share/bug/gnome-power-manager/script HAL Process Information:
#650013#10
Date:
2011-11-25 16:10:59 UTC
From:
To:
tag 650013 - patch
thanks

Le vendredi 25 novembre 2011 à 16:42 +0100, Ondřej Kunc a écrit :

gnome-power-manager is a mere frontend to upower which in turn uses
pm-utils, so this will certainly not happen.

Does it work when you use plain pm-suspend?

#650013#17
Date:
2011-11-25 16:31:28 UTC
From:
To:
Hi,

I've found one thing ... it doesn't depend on package uswsusp but on
package firmware-linux-nonfree. I'm sorry for this wrong information,
because I had installed this package because of kernel complain on boot.
So uswsusp is not needed. But pm-suspend hangs computer when
firmware-linux-nonfree is not installed.
The missing file is CAICOS_pfp.bin. How can we solve this for standard
users ?
Ondra

Dne 25.11.2011 17:10, Josselin Mouette napsal(a):

#650013#22
Date:
2011-11-25 17:56:45 UTC
From:
To:
Le vendredi 25 novembre 2011 à 17:31 +0100, Ondřej Kunc a écrit :

If a firmware file is missing, the latest gnome-settings-daemon should
warn you about that during the session.
I don’t think we can do much more than that, especially for non-free
firmware.

Cheers,

#650013#27
Date:
2011-11-25 18:29:54 UTC
From:
To:
Hi, I think that this may be solved by pm-suspend or by kernel directly.
I know that it's not possible to download firmware when it's needed but
I may block suspending of the computer when it is very probable that it
will break it. We have not been warned about missing firmware by gnome
but by kernel debug message (dmesg) which I don't count as standard way
for users. Is it possible to reassign this bug to pm-suspend ?

Dne 25.11.2011 18:56, Josselin Mouette napsal(a):

#650013#42
Date:
2011-11-26 22:45:56 UTC
From:
To:
Installing software from pm-suspend is not going to happen.
#650013#51
Date:
2011-11-26 22:50:52 UTC
From:
To:
Hi,

I don't want pm-utils to install that, but it may refuse to suspend
without it, because it hangs system and than it can result in data loss.

What can be done about it ?

Thanks

#650013#56
Date:
2011-11-26 22:58:00 UTC
From:
To:
Is this problem solvable in kernel ?

Thanks for information

#650013#63
Date:
2023-12-21 17:56:09 UTC
From:
To:
Dear submitter,

as the package pm-utils has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1058701

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)