Bug#454921: kpowersave: Suspend To Disk process starts when HAL daemon restarts

2007-12-08 Thread Christophe Dongieux
Package: kpowersave
Version: 0.7.3-1
Severity: normal

Hello,

When I made an upgrade of my Debian yesterday, with Kpowersace launched, HAL 
was upgraded.
The s2disk process was called when the daemon was restarted during the 
configuration process of the 
hal package.
I could abort it without any problem.
I tried to reproduce this bug manually with success : a simple /etc/init.d/hal 
restart causes the 
system to suspend.
Pretty annoying ! :D



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kpowersave depends on:
ii  hal  0.5.10-4Hardware Abstraction Layer
ii  kdelibs4c2a  4:3.5.7.dfsg.1-1core libraries and binaries for al
ii  libc62.7-3   GNU C Library: Shared libraries
ii  libdbus-1-3  1.1.2-1 simple interprocess messaging syst
ii  libdbus-qt-1-1c2 0.62.git.20060814-2 simple interprocess messaging syst
ii  libgcc1  1:4.2.2-4   GCC support library
ii  libhal1  0.5.10-4Hardware Abstraction Layer - share
ii  libstdc++6   4.2.2-4 The GNU Standard C++ Library v3
ii  libxext6 1:1.0.3-2   X11 miscellaneous extension librar
ii  libxss1  1:1.1.2-1   X11 Screen Saver extension library
ii  libxtst6 2:1.0.3-1   X11 Testing -- Resource extension 

Versions of packages kpowersave recommends:
ii  acpi-support  0.95-2 scripts for handling many ACPI eve
ii  pm-utils  0.99.2-3   utilities and scripts for power ma

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#454921: kpowersave: Suspend To Disk process starts when HAL daemon restarts

2007-12-08 Thread Michael Biebl
Christophe Dongieux schrieb:
 Package: kpowersave
 Version: 0.7.3-1
 Severity: normal
 
 Hello,
 
 When I made an upgrade of my Debian yesterday, with Kpowersace launched, HAL 
 was upgraded.
 The s2disk process was called when the daemon was restarted during the 
 configuration process of the 
 hal package.
 I could abort it without any problem.
 I tried to reproduce this bug manually with success : a simple 
 /etc/init.d/hal restart causes the 
 system to suspend.
 Pretty annoying ! :D
 

Why do you think this is a bug in kpowersave?
Why should s2disk be called during upgrade of hal?

It's more likely that your hardware/battery is reporting bogus values.
Could you try to log what your battery reports when you do the hal restart.
Is kpowersave setup to suspend-to-disk if the battery level drops
beneath a certain level? Could you change the value and see what happens?


Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature