Re: Device enumeration at boot doesn't detect acpi battery.

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

 



Hi, Brian,

please attach the acpidump output of your laptop.
please attach the dmesg output after boot.
It would be great if you can file a new bug report at
https://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
and attach these info there.

thanks,
rui


On Thu, 2010-05-20 at 18:50 +0800, Brian Hutsell wrote:
> Hello,
> 
> Apologies in 
> advance if I sent this to the wrong place.  I'm not sure where the 
> kernel's boot-time device enumeration code lives.  If this is the wrong 
> forum, could someone please tell me the email address I should forward 
> it to?  Thanks.
> 
> 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.
> 
> 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
> 
> 
> Can someone point me at the right forum, the code that needs to be 
> modified, or better yet, fix the problem?  I've never touched with the 
> kernel code before.
> 
> All help is appreciated.
> --Brian
> 
> 
>       
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux