LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC
@ 2007-04-26 19:13 Miles Lane
2007-04-26 21:28 ` Andrew Morton
0 siblings, 1 reply; 4+ messages in thread
From: Miles Lane @ 2007-04-26 19:13 UTC (permalink / raw)
To: Andrew Morton, LKML
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC
2007-04-26 19:13 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC Miles Lane
@ 2007-04-26 21:28 ` Andrew Morton
2007-04-26 22:52 ` Miles Lane
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2007-04-26 21:28 UTC (permalink / raw)
To: Miles Lane; +Cc: LKML, linux-acpi, Vladimir Lebedev, Len Brown
On Thu, 26 Apr 2007 12:13:00 -0700 "Miles Lane" <miles.lane@gmail.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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC
2007-04-26 21:28 ` Andrew Morton
@ 2007-04-26 22:52 ` Miles Lane
2007-04-27 8:10 ` Thomas Renninger
0 siblings, 1 reply; 4+ messages in thread
From: Miles Lane @ 2007-04-26 22:52 UTC (permalink / raw)
To: Andrew Morton; +Cc: LKML, linux-acpi, Vladimir Lebedev, Len Brown
On 4/26/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> On Thu, 26 Apr 2007 12:13:00 -0700 "Miles Lane" <miles.lane@gmail.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?
HP Pavilion dv1240us
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV
Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV
Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV
Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM
Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated
Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M)
USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface
Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE
Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
AC'97 Modem Controller (rev 03)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
01:06.0 Network controller: Intel Corporation PRO/Wireless 2200BG
Network Connection (rev 05)
01:09.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
01:09.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE
1394 Host Controller
01:09.3 Mass storage controller: Texas Instruments PCIxx21 Integrated
FlashMedia Controller
01:09.4 Generic system peripheral [0805]: Texas Instruments
PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC
2007-04-26 22:52 ` Miles Lane
@ 2007-04-27 8:10 ` Thomas Renninger
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Renninger @ 2007-04-27 8:10 UTC (permalink / raw)
To: Miles Lane; +Cc: Andrew Morton, LKML, linux-acpi, Vladimir Lebedev, Len Brown
On Thu, 2007-04-26 at 15:52 -0700, Miles Lane wrote:
> On 4/26/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> > On Thu, 26 Apr 2007 12:13:00 -0700 "Miles Lane" <miles.lane@gmail.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?
>
> HP Pavilion dv1240us
Does compiling CONFIG_MOUSE_PS2= as module (and best not loading it) or
compiling it out help?
Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-27 8:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-26 19:13 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC Miles Lane
2007-04-26 21:28 ` Andrew Morton
2007-04-26 22:52 ` Miles Lane
2007-04-27 8:10 ` Thomas Renninger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).