Package: acpi-support
Version: 0.90-4
Severity: wishlist

Ksysguardd maintains open files in /proc/acpi:

[EMAIL PROTECTED]:~$ sudo lsof /proc/acpi/*
COMMAND    PID      USER   FD   TYPE DEVICE SIZE       NODE NAME
acpid     2916      root    3r   REG    0,3    0 4026532126 /proc/acpi/event
ksysguard 5835 joebloggs    3r   DIR    0,3    0 4026532466 /proc/acpi/battery
ksysguard 5835 joebloggs    4r   DIR    0,3    0 4026532343 /proc/acpi/fan
ksysguard 5835 joebloggs    5r   DIR    0,3    0 4026532698 
/proc/acpi/thermal_zone

This, during suspend/resume, causes at least the battery module [un]load 
commands in 
/etc/acpi/resume.d/72-acpi-pain.sh to fail, resulting in missing battery 
information upon resume, as 
outlined here:

http://article.gmane.org/gmane.linux.hardware.thinkpad/30612

I've added this script, as 73-hup-ksysguardd.sh which kludges around the 
problem by HUPping 
ksysguardd:

#!/bin/sh

for DAEMON in `pidof ksysguardd`; do
    /bin/kill -HUP $DAEMON
done

Can you include it/push it upstream?

Thanks

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en US, LC_CTYPE=en US (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpi-support depends on:
ii  acpid                        1.0.4-7.1   Utilities for using ACPI power man
ii  dmidecode                    2.8-4       Dump Desktop Management Interface 
ii  finger                       0.17-11     user information lookup program
ii  hdparm                       6.9-2       tune hard disk parameters for high
ii  laptop-detect                0.12.1-0.1  attempt to detect a laptop
ii  libc6                        2.5-4       GNU C Library: Shared libraries
ii  lsb-base                     3.1-23.1    Linux Standard Base 3.1 init scrip
ii  powermgmt-base               1.29        Common utils and configs for power
ii  radeontool                   1.5-5       utility to control ATI Radeon back
ii  vbetool                      0.7-1.1     run real-mode video BIOS code to a
ii  xbase-clients                1:7.2.ds2-2 miscellaneous X clients

Versions of packages acpi-support recommends:
pn  laptop-mode-tools             <none>     (no description available)

-- no debconf information


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

Reply via email to