https://bugzilla.kernel.org/show_bug.cgi?id=25612


Zhang Rui <rui.zh...@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rui.zh...@intel.com
         Resolution|                            |CODE_FIX




--- Comment #1 from Zhang Rui <rui.zh...@intel.com>  2010-12-27 02:39:13 ---
please revert this patch,
commit 3138b32d5e0998ba3cbd1c74bdc1887d74c5279b
Author: Zhang Rui <rui.zh...@intel.com>
Date:   Wed Dec 8 10:40:49 2010 +0800

    ACPI battery: update status upon sysfs query

    Sometimes the Battery driver doesn't get notifications when it's
    plugged/unplugged. And this results in the incorrect Battery
    status reported by the power supply sysfs I/F.

    Update Battery status first when querying from sysfs.
    http://marc.info/?l=linux-acpi&m=128855015826728&w=2

    Tested_by: Seblu <se...@seblu.net>
    Signed-off-by: Zhang Rui <rui.zh...@intel.com>
    Signed-off-by: Len Brown <len.br...@intel.com>

If you don't know how to revert it, please just download 2.6.37-rc7 kernel,
remove line 189 and 190 of drivers/acpi/battery.c, which are
    if (acpi_battery_update(battery))
        return -ENODEV;
rebuild your kernel and see if the problem still exists.

Please re-open it if reverting the patch doesn't help.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to