[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#460263: marked as done (procmeter3: acpi multiple battery detection not working?)

Your message dated Wed, 29 Apr 2009 22:17:27 +0000
with message-id <E1LzI5n-0004xO-TY@ries.debian.org>
and subject line Bug#460263: fixed in procmeter3 3.5b-1
has caused the Debian Bug report #460263,
regarding procmeter3: acpi multiple battery detection not working?
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

460263: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460263
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: procmeter3
Version: 3.5a-3
Severity: normal

For reasons I can't work out, when I ask procmeter3 to display both
batteries on a 2.6 kernel, I am only getting sensible predictions and
levels from the first battery.

My .procmeterrc file has, amongst other things:

order=... \
        ACPI.Batt1_Charge-t \
        ACPI.Batt1_Time-t \
        ACPI.Batt1_Rate-g \
        ACPI.Batt2_Charge-t \
        ACPI.Batt2_Time-t \
        ACPI.Batt2_Rate-g \

> sdiff -w 80 /proc/acpi/battery/BAT[01]/info  
present:                 yes            present:                 yes
design capacity:         57420 mWh    | design capacity:         66000 mWh
last full capacity:      57420 mWh    | last full capacity:      51840 mWh
battery technology:      rechargeable   battery technology:      rechargeable
design voltage:          14800 mV       design voltage:          14800 mV
design capacity warning: 3000 mWh       design capacity warning: 3000 mWh
design capacity low:     1000 mWh       design capacity low:     1000 mWh
capacity granularity 1:  200 mWh        capacity granularity 1:  200 mWh
capacity granularity 2:  200 mWh        capacity granularity 2:  200 mWh
model number:            LIP8084DLP   | model number:            0001J433
serial number:           40621        | serial number:           113
battery type:            LION           battery type:            LION
OEM info:                Sony Corp.   | OEM info:                SANYO

> sdiff -w 80 /proc/acpi/battery/BAT[01]/state
present:                 yes            present:                 yes
capacity state:          ok             capacity state:          ok
charging state:          discharging    charging state:          discharging
present rate:            28171 mW     | present rate:            110 mW
remaining capacity:      53950 mWh    | remaining capacity:      42080 mWh
present voltage:         15573 mV     | present voltage:         15762 mV

For the second battery, 
ACPI.Batt2_Charge-t shows: "n/a"
ACPI.Batt2_Time-t "unknown"
ACPI.Batt2_Rate-g - an empty graph

The first batt shows respectively 93%, 2:53 and a sensible graph.

I have verified with strace that both the /proc/acpi/battery/BAT*/info
and both /proc/acpi/battery/BAT*/state files are being consulted, but
can't follow the code through -- it looks like the acpi work is
unfinished according to the comment:
/****************** Begin acpi.c **********************************/

 * A not-yet-general-purpose ACPI library, by Joey Hess <joey@kitenet.net>

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

Kernel: Linux 2.6.23
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages procmeter3 depends on:
ii  libatk1.0-0                 1.20.0-1     The ATK accessibility toolkit
ii  libc6                       2.7-5        GNU C Library: Shared libraries
ii  libcairo2                   1.4.12-2     The Cairo 2D vector graphics libra
ii  libglib2.0-0                2.14.4-2     The GLib library of C routines
ii  libgtk2.0-0                 2.12.3-2     The GTK+ graphical user interface 
ii  libice6                     2:1.0.4-1    X11 Inter-Client Exchange library
ii  libpango1.0-0               1.18.4-1     Layout and rendering of internatio
ii  libsm6                      2:1.0.3-1+b1 X11 Session Management library
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxaw7                     2:1.0.4-1    X11 Athena Widget library
ii  libxext6                    1:1.0.3-2    X11 miscellaneous extension librar
ii  libxmu6                     1:1.0.3-1    X11 miscellaneous utility library
ii  libxt6                      1:1.0.5-3    X11 toolkit intrinsics library

procmeter3 recommends no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: procmeter3
Source-Version: 3.5b-1

We believe that the bug you reported is fixed in the latest version of
procmeter3, which is due to be installed in the Debian FTP archive:

  to pool/main/p/procmeter3/procmeter3_3.5b-1.diff.gz
  to pool/main/p/procmeter3/procmeter3_3.5b-1.dsc
  to pool/main/p/procmeter3/procmeter3_3.5b-1_i386.deb
  to pool/main/p/procmeter3/procmeter3_3.5b.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 460263@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Marco Rodrigues <gothicx@sapo.pt> (supplier of updated procmeter3 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Wed, 29 Apr 2009 18:11:30 +0000
Source: procmeter3
Binary: procmeter3
Architecture: source i386
Version: 3.5b-1
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Marco Rodrigues <gothicx@sapo.pt>
 procmeter3 - graphical system status monitor
Closes: 367443 460263 515389
 procmeter3 (3.5b-1) unstable; urgency=low
   * QA upload.
   * New upstream version (Closes: #367443).
   * debian/control:
     + Update Standards-Version to 3.8.1 (no changes).
     + Update b-d from x-dev to x11proto-core-dev (Closes: #515389).
     + Fix spelling errors in package description.
   * debian/watch:
     + Update version from 2 to 3.
   * debian/copyright:
     + Version license link to GPL-2.
   * modules/acpi.c:
     + Add multiple batteries support (Closes: #460263).
 08fb08e3fb965091176b111d1f0b06013463d8da 1179 procmeter3_3.5b-1.dsc
 b4e684a1c4d2b0dc81dc12ec1be539b15ab3b712 144966 procmeter3_3.5b.orig.tar.gz
 0beb93a18f19440d2fbdf8c9a7a94dc9ee501ad1 8860 procmeter3_3.5b-1.diff.gz
 8934836d0af86e6fdf1b4c577d3da32f8655b808 154006 procmeter3_3.5b-1_i386.deb
 d8410c23aba5e302a751ea68b53bbd776794606c7160a8cd1c977145a48fafb4 1179 procmeter3_3.5b-1.dsc
 e4a0e5979bf9c77aebd2a3368c16cd925a8fa908bfdd67b22c8c62adea8e7bed 144966 procmeter3_3.5b.orig.tar.gz
 da2f2d639d300f817ffe6bb2147bf6d55e5c3372f2e3bc76394cfe5f1c5a95be 8860 procmeter3_3.5b-1.diff.gz
 de71347ceb56960810007831c3032f50d45cb48b1c59af593d3fa8ff68459db4 154006 procmeter3_3.5b-1_i386.deb
 faebf1e9348c14d8e3ba428649f85516 1179 utils optional procmeter3_3.5b-1.dsc
 cf3893e6069d4546f2a6b92aeae7f101 144966 utils optional procmeter3_3.5b.orig.tar.gz
 8af342eccf6bc66a589592e3f01c3eec 8860 utils optional procmeter3_3.5b-1.diff.gz
 7a19d5df14ce4875890d3372864fea46 154006 utils optional procmeter3_3.5b-1_i386.deb

Version: GnuPG v1.4.9 (GNU/Linux)


--- End Message ---

Reply to: