lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 26 Apr 2007 14:28:24 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	"Miles Lane" <miles.lane@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>, linux-acpi@...r.kernel.org,
	Vladimir Lebedev <vladimir.p.lebedev@...el.com>,
	Len Brown <lenb@...nel.org>
Subject: Re: 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as
 coming from AC

On Thu, 26 Apr 2007 12:13:00 -0700 "Miles Lane" <miles.lane@...il.com> wrote:

> One possible issue is that /proc/acpi/power_resource/ is an empty directory.
> Otherwise, the ACPI information seems to be fine:
> 
> # cat /proc/acpi/ac_adapter/ACAD/state
> state:                   on-line
> # cat /proc/acpi/ac_adapter/ACAD/state
> state:                   off-line
> 
> # cat /proc/acpi/battery/BAT0/state
> present:                 yes
> capacity state:          ok
> charging state:          discharging
> present rate:            0 mA
> remaining capacity:      7072 mAh
> present voltage:         12487 mV
> 
> When I unplug the power cable, /proc/acpi/battery/BAT0/state (present
> rate) shows that current flowing from the battery.
> 
> # cat /proc/acpi/button/lid/LID0/state
> state:      closed
> # cat /proc/acpi/button/lid/LID0/state
> state:      open

hm, I'm looking suspiciously at "ACPI: Cache battery status instead of
re-evaluating AML".

What sort of machine is this?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ