Bug#650013: [gnome-power-manager] Suspend hangs on HP4730s when uswsusp is not installed

2011-11-25 Thread Ondřej Kunc
Package: gnome-power-manager
Version: 3.0.2-3
Severity: normal
Tags: patch

--- 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

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.0.0-1-amd64

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-hibernateyes
  on-battery:  no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:   no
GNOME Power Manager Process Information:
jk2313  0.0  0.2 339556 11468 ?Sl   16:14
0:00  \_ gnome-power-manager
jk3903  0.0  0.0   4148   584 pts/0S+   16:31   0:00
\_ sh -c { /usr/bin/xterm -e  '/usr/share/bug/gnome-power-manager/script'
31; } 21
jk3904  3.0  0.1  62540  7244 pts/0S+   16:31
0:00  \_ /usr/bin/xterm -e
/usr/share/bug/gnome-power-manager/script
HAL Process Information:


Bug#650013: [gnome-power-manager] Suspend hangs on HP4730s when uswsusp is not installed

2011-11-25 Thread Josselin Mouette
tag 650013 - patch
thanks

Le vendredi 25 novembre 2011 à 16:42 +0100, Ondřej Kunc a écrit :
 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.

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?

-- 
 .''`.  Josselin Mouette
: :' :
`. `'
  `-


signature.asc
Description: This is a digitally signed message part


Bug#650013: [gnome-power-manager] Suspend hangs on HP4730s when uswsusp is not installed

2011-11-25 Thread Ondřej Kunc

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):

tag 650013 - patch
thanks

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

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.
 

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?

   





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#650013: [gnome-power-manager] Suspend hangs on HP4730s when uswsusp is not installed

2011-11-25 Thread Ondřej Kunc
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):

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

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 ?
 

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,
   





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org