Bug#466058: [Pkg-xfce-devel] Bug#466058: xfce4-battery-plugin: xfce4 battery plugin gives wrong infomation with linux kernel 2.6.24
Yves-Alexis Perez schrieb: > On dim, 2008-02-24 at 19:02 +0100, Frank Zimmermann wrote: > Thanks. Could you paste the output of: > > ls /sys/class/power_supply? AC BAT0 KR Frank -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#466058: [Pkg-xfce-devel] Bug#466058: xfce4-battery-plugin: xfce4 battery plugin gives wrong infomation with linux kernel 2.6.24
On dim, 2008-02-24 at 19:02 +0100, Frank Zimmermann wrote: > I am facing the same probelem on my Asus M6N. But it doesn't > alwaysshow > the same sometimes the battery status is 45% sometimes it's 0% (no > matter if pluged in or just unplugged). Here is my output of > grep . /sys/class/power_supply/BAT0/* Thanks. Could you paste the output of: ls /sys/class/power_supply? > Do you think this is a bug in the Kernel? Well, if it is, it shows only on xfce4-battery-plugin, so I don't really think so. Still investigating. -- Yves-Alexis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#466058: [Pkg-xfce-devel] Bug#466058: xfce4-battery-plugin: xfce4 battery plugin gives wrong infomation with linux kernel 2.6.24
On Feb 19, 2008 8:36 PM, Yves-Alexis Perez <[EMAIL PROTECTED]> wrote: > > Can you ls /sys/class/power_supply and give the result here? > it seems ok after update the xfce4-goodies yesterday. at least it shows 100% right now. but i noticed a 0% at last login and a 45% before it becomes 100% this time. ls results : /sys/class/power_supply/BAT0# l total 0 drwxr-xr-x 3 root root0 2008-02-20 04:29 . drwxr-xr-x 4 root root0 2008-02-20 04:29 .. -rw-r--r-- 1 root root 4096 2008-02-19 20:35 alarm -r--r--r-- 1 root root 4096 2008-02-19 20:29 charge_full -r--r--r-- 1 root root 4096 2008-02-19 20:29 charge_full_design -r--r--r-- 1 root root 4096 2008-02-19 20:29 charge_now -r--r--r-- 1 root root 4096 2008-02-19 20:29 current_now lrwxrwxrwx 1 root root0 2008-02-20 04:29 device -> ../../../devices/LNXSYSTM:00/device:00/PNP0C0A:00 -r--r--r-- 1 root root 4096 2008-02-19 20:29 manufacturer -r--r--r-- 1 root root 4096 2008-02-19 20:35 model_name drwxr-xr-x 2 root root0 2008-02-19 20:35 power -r--r--r-- 1 root root 4096 2008-02-19 20:29 present -r--r--r-- 1 root root 4096 2008-02-19 20:29 status lrwxrwxrwx 1 root root0 2008-02-19 20:29 subsystem -> ../../../class/power_supply -r--r--r-- 1 root root 4096 2008-02-19 20:29 technology -r--r--r-- 1 root root 4096 2008-02-19 20:29 type -rw-r--r-- 1 root root 4096 2008-02-19 20:29 uevent -r--r--r-- 1 root root 4096 2008-02-19 20:35 voltage_min_design -r--r--r-- 1 root root 4096 2008-02-19 20:29 voltage_now -- [EMAIL PROTECTED] http://blog.cathayan.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#466058: [Pkg-xfce-devel] Bug#466058: xfce4-battery-plugin: xfce4 battery plugin gives wrong infomation with linux kernel 2.6.24
On Sat, Feb 16, 2008 at 09:52:07AM +, qi wrote: > Package: xfce4-battery-plugin > Version: 0.5.0-4 > Severity: important > > I am using Debian Sid on a Dell laptop, and the xfce4-battery-plugin show > wrong > infomation after updated to linux-image-2.6.24. It shows right when getting > up, > but turns to be 28% after several seconds. At the same time, acpi -b and > lshal are all giving right numbers. What is the problem? > maybe it is a dell problem? > > ~$ acpi -b > Battery 1: charged, 100% > > ~$ lshal |grep battery > battery.alarm.design = 480 (0x1e0) (int) > battery.alarm.unit = 'mAh' (string) > battery.charge_level.capacity_state = 'ok' (string) > battery.charge_level.current = 55433 (0xd889) (int) > battery.charge_level.design = 53280 (0xd020) (int) > battery.charge_level.granularity_1 = 532 (0x214) (int) > battery.charge_level.granularity_2 = 532 (0x214) (int) > battery.charge_level.last_full = 55433 (0xd889) (int) > battery.charge_level.low = 1609 (0x649) (int) > battery.charge_level.percentage = 100 (0x64) (int) > battery.charge_level.rate = 0 (0x0) (int) > battery.charge_level.unit = 'mWh' (string) > battery.charge_level.warning = 5328 (0x14d0) (int) > battery.is_rechargeable = true (bool) > battery.model = 'DELL C95537' (string) > battery.present = true (bool) > battery.rechargeable.is_charging = false (bool) > battery.rechargeable.is_discharging = false (bool) > battery.reporting.current = 4994 (0x1382) (int) > battery.reporting.design = 4800 (0x12c0) (int) Can you ls /sys/class/power_supply and give the result here? Cheers, -- Yves-Alexis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#466058: [Pkg-xfce-devel] Bug#466058: xfce4-battery-plugin: xfce4 battery plugin gives wrong infomation with linux kernel 2.6.24
On Feb 16, 2008 6:52 PM, Yves-Alexis Perez <[EMAIL PROTECTED]> wrote: > Hmh, could you check in sysfs, using: > grep . /sys/class/power_supply/BAT0/* > and join the output? Output: alarm:48 charge_full:4994000 charge_full_design:480 charge_now:4994000 current_now:1000 manufacturer:SMP model_name:DELL C95537 present:1 status:Full technology:Li-ion type:Battery uevent:PHYSDEVPATH=/devices/LNXSYSTM:00/device:00/PNP0C0A:00 uevent:PHYSDEVBUS=acpi uevent:PHYSDEVDRIVER=battery uevent:POWER_SUPPLY_NAME=BAT0 uevent:POWER_SUPPLY_TYPE=Battery uevent:POWER_SUPPLY_STATUS=Full uevent:POWER_SUPPLY_PRESENT=1 uevent:POWER_SUPPLY_TECHNOLOGY=Li-ion uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=1110 uevent:POWER_SUPPLY_VOLTAGE_NOW=12381000 uevent:POWER_SUPPLY_CURRENT_NOW=1000 uevent:POWER_SUPPLY_CHARGE_FULL_DESIGN=480 uevent:POWER_SUPPLY_CHARGE_FULL=4994000 uevent:POWER_SUPPLY_CHARGE_NOW=4994000 uevent:POWER_SUPPLY_MODEL_NAME=DELL C95537 uevent:POWER_SUPPLY_MANUFACTURER=SMP voltage_min_design:1110 voltage_now:12381000 my notebook is Dell Inspiron 640m. > > It seems to be the same thing as > http://bugzilla.xfce.org/show_bug.cgi?id=3793 > I can't trigger it myself, everything is displayed properly. Maybe > that's a bug in the sysfs kernel interface, or something like that. > > Wich kernel image do you have installed? (dpkg -l > '*linux-image-2.6.24*') > the kernel image is: ii linux-image-2.6.24 2.6.24-4 Linux 2.6.24 image on PPro/Celeron/PII/PIII/P4 -- [EMAIL PROTECTED] http://blog.cathayan.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#466058: [Pkg-xfce-devel] Bug#466058: xfce4-battery-plugin: xfce4 battery plugin gives wrong infomation with linux kernel 2.6.24
forwarded #466058 http://bugzilla.xfce.org/show_bug.cgi?id=3793 thanks On sam, 2008-02-16 at 17:52 +0800, qi wrote: > Package: xfce4-battery-plugin > Version: 0.5.0-4 > Severity: important > > I am using Debian Sid on a Dell laptop, and the xfce4-battery-plugin show > wrong > infomation after updated to linux-image-2.6.24. It shows right when getting > up, > but turns to be 28% after several seconds. At the same time, acpi -b and > lshal are all giving right numbers. What is the problem? > maybe it is a dell problem? Hmh, could you check in sysfs, using: grep . /sys/class/power_supply/BAT0/* and join the output? It seems to be the same thing as http://bugzilla.xfce.org/show_bug.cgi?id=3793 I can't trigger it myself, everything is displayed properly. Maybe that's a bug in the sysfs kernel interface, or something like that. Wich kernel image do you have installed? (dpkg -l '*linux-image-2.6.24*') Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part