Package: acpi-support
Version: 0.95-2
Severity: normal
Tags: patch
The lines:
for x in /proc/acpi/ac_adapter/*; do
if [ -f "$x" ] ; then
grep -q off-line $x/state
is incorrect, it should be:
for x in /proc/acpi/ac_adapter/*; do
if [ -d "$x" ] ; then
grep -q off-line $x/state
note the -f --> -d
as $x will be a directory.
Without this fix, none of the scripts in either
/etc/acpi/battery.d
or
/etc/acpi/ac.d
will run.
I added some scripts to change the cpufreq configuration from ondemand
to powersave.
thanks
Paul
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing'), (500, 'stable'), (300, 'unstable'),
(200, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21.20070720 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
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.9-1 Dump Desktop Management Interface
ii finger 0.17-11 user information lookup program
ii hdparm 7.7-1 tune hard disk parameters for high
ii laptop-detect 0.12.1-0.1 attempt to detect a laptop
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii lsb-base 3.1-24 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 toshset 1.72-6 Access much of the Toshiba laptop
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
acpi-support recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]