Your message dated Sat, 18 Mar 2006 10:47:39 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#357531: fixed in longrun 0.9-20
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: longrun
Version: 0.9-19
Severity: wishlist
It would be really nice/useful if you could provide ACPI integration in
the same manner that APM is currently integrated with longrun. The
attached files provide just this sort of integration. Just put the
longrun.event file into /etc/acpi/events (possibly renaming it to just
longrun for consistency) and the longrun.sh file into /etc/acpi/actions
(also renamed to longrun).
The longrun.sh script is based off of the currently provided
/etc/apm/events.d/longrun script, with the change that the ACPI version
gets its information from /proc/acpi/battery/* instead of /proc/apm.
The events file provided will run the script in response to any
ac_adapter or battery ACPI event, which should be generated whenever the
power source changes or the battery changes its power state. The ACPI
script takes the same actions as the original APM script.
With ACPI it would also be possible for the battery information to allow
users to select preferences based on the amount of time remaining (with
a simple calculation in the script) or on the current state of the
battery ('ok','warning','low'). However, these are left unimplemented
for the moment because they seemed rather redundant. If you think they
would be worthwhile, they should not be hard to work out...
The only problem with the ACPI integration is that there is no guarantee
that an ACPI event will be generated when the battery enters the
'warning' or 'low' state. It seems to be implementation-dependent for
whether or not state-change causes an event (correct me if I am wrong
about this point). Even if an event is generated it does not appear to
be configurable at what level a battery enters either state. This makes
the settings based on battery power level somewhat less useful for ACPI.
Unfortunately, I could not figure out a way around this problem without
involving some sort of polling mechanism, which seems rather excessive.
Hope you find it useful,
Kevin
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.20060317b
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages longrun depends on:
ii libc6 2.3.5-13 GNU C Library: Shared libraries an
longrun recommends no packages.
-- no debconf information
# /etc/acpi/events/longrun
# ACPI event configuration file for longrun
# Whenever the power conditions of the computer change
# (either battery or ac_adapter changes) we call the
# longrun actions script to change the longrun settings
# appropriately based on the configuration in
# /etc/default/longrun
event=(ac_adapter|battery)
action=/etc/acpi/actions/longrun %e
longrun.sh
Description: Bourne shell script
--- End Message ---
--- Begin Message ---
Source: longrun
Source-Version: 0.9-20
We believe that the bug you reported is fixed in the latest version of
longrun, which is due to be installed in the Debian FTP archive:
longrun_0.9-20.diff.gz
to pool/main/l/longrun/longrun_0.9-20.diff.gz
longrun_0.9-20.dsc
to pool/main/l/longrun/longrun_0.9-20.dsc
longrun_0.9-20_i386.deb
to pool/main/l/longrun/longrun_0.9-20_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated longrun package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 18 Mar 2006 13:24:00 -0500
Source: longrun
Binary: longrun
Architecture: source i386
Version: 0.9-20
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description:
longrun - Transmeta Crusoe LongRun control utility
Closes: 357531
Changes:
longrun (0.9-20) unstable; urgency=low
.
* Add acpid event scripts contributed by Kevin Locke. Closes: #357531
* Fix bashisms in scripts.
Files:
8a3f66d87e8f1d340550b0b94ff3165c 581 utils extra longrun_0.9-20.dsc
0d9ecf2882e1842356a9cbe600de99da 15344 utils extra longrun_0.9-20.diff.gz
5e68bc82ce6ec6163eaecaeacecea4ae 20506 utils extra longrun_0.9-20_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEHFHX2tp5zXiKP0wRAo2KAKDPf9Y3GYST4Nh07nK7yQG5v4fqKgCg0I0G
iNzb+JKo6jM+DMSTvW+raW0=
=Ui75
-----END PGP SIGNATURE-----
--- End Message ---