Package: ibam
Version: 1:0.5.2-1
Severity: important

ibam can't read battery info when
/sys/class/power_supply/BAT0/energy_full
is unavailable, but
/sys/class/power_supply/BAT0/charge_full
exists

cpufreqd appears to have experienced a similar problem in the past:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495655

I am running on an EeePC 701

$ibam
No apm data available.


$strace ibam

...

open("/proc/pmu/info", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
ordirectory)
open("/proc/acpi/event", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
open("/sys/class/power_supply/BAT0/energy_full", O_RDONLY|O_LARGEFILE)
= -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

...

write(2, "No apm data available.", 22No apm data available.)  = 22
write(2, "\n", 1
)                       = 1
exit_group(0)                           = ?


$ls /sys/class/power_supply/BAT0/ -l
total 0
-rw-r--r-- 1 root root 4096 2010-01-15 20:05 alarm
-r--r--r-- 1 root root 4096 2010-01-15 17:15 charge_full
-r--r--r-- 1 root root 4096 2010-01-15 17:15 charge_full_design
-r--r--r-- 1 root root 4096 2010-01-15 17:15 charge_now
-r--r--r-- 1 root root 4096 2010-01-15 17:15 current_now
lrwxrwxrwx 1 root root    0 2010-01-15 17:15 device -> ../../../PNP0C0A:00
-r--r--r-- 1 root root 4096 2010-01-15 17:15 manufacturer
-r--r--r-- 1 root root 4096 2010-01-15 17:15 model_name
drwxr-xr-x 2 root root    0 2010-01-15 20:05 power
-r--r--r-- 1 root root 4096 2010-01-15 17:15 present
-r--r--r-- 1 root root 4096 2010-01-15 17:15 serial_number
-r--r--r-- 1 root root 4096 2010-01-15 17:15 status
lrwxrwxrwx 1 root root    0 2010-01-15 17:15 subsystem ->
../../../../../../../class/power_supply
-r--r--r-- 1 root root 4096 2010-01-15 17:15 technology
-r--r--r-- 1 root root 4096 2010-01-15 17:15 type
-rw-r--r-- 1 root root 4096 2010-01-15 17:15 uevent
-r--r--r-- 1 root root 4096 2010-01-15 17:15 voltage_min_design
-r--r--r-- 1 root root 4096 2010-01-15 17:15 voltage_now


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

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ibam depends on:
ii  debconf [debconf-2.0]         1.5.26     Debian configuration management sy
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.1-1  GCC support library
ii  libstdc++6                    4.4.1-1    The GNU Standard C++ Library v3

ibam recommends no packages.

Versions of packages ibam suggests:
pn  gnuplot                       <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to