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

           Summary: Device enumeration at boot doesn't detect acpi
                    battery.
           Product: ACPI
           Version: 2.5
    Kernel Version: 2.6.32-22-generic  #33-Ubuntu SMP x86_64
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Power-Battery
        AssignedTo: acpi_power-batt...@kernel-bugs.osdl.org
        ReportedBy: bhut_o...@yahoo.com
                CC: rui.zh...@intel.com
        Regression: No


I have a laptop running Linux 2.6.32-22-generic #33-Ubuntu SMP x86_64.  My
laptop is an ACER Aspire 6930.  When I boot, the battery isn't enumerated into
"sysfs" like gnome-power-manager expects it to be.

After boot, the following command finds nothing:
% find /sys -name "BAT1" -print

If I inspect the contents of one of the files in the /proc/acpi/battery/BAT1
directory, they'll appear:
%  cat /proc/acpi/battery/BAT1/state
present:                yes
capacity state:          ok
charging state:          charged
present rate:            0 mA
remaining
capacity:      3619 mAh
present voltage:        12131 mV

% find /sys -name "BAT1" -print
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1
/sys/class/power_supply/BAT1

This is repeatable on every boot.  Once I "cat /proc/acpi/battery/BAT1/state",
gnome-power-manager recognizes my battery (via upowerd) and all is well.

This is the non-"gnome-power-manager" part of 
https://bugzilla.gnome.org/show_bug.cgi?id=617529


[I'll attach acpidump and dmesg output soon.  Must reboot first.]

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

------------------------------------------------------------------------------

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to