RE: Problems with acpi (battery status not shown)

2014-09-10 Thread Ian Smith
On Wed, 10 Sep 2014 00:51:40 +, Moore, Robert wrote:

 > What was used to disassemble the file in the first place?

I gather Nick followed the standard instructions for ACPI debugging.

 > Please send the acpidump for the machine, thanks.
 > Bob

At 925KiB it's a tad big to attach.  From Nick's OP (with verbose dmesg 
and sysctl hw.acpi attached):

 > here is ASL file link:
 > https://www.sendspace.com/file/do5xn7

Horrid site, careful where you click ..

>From these acpiconf readings, the problem with getting battery status is 
certainly real, despite battery init looking good and EC looking ok too.

cheers, Ian

 > > -Original Message-
 > > From: owner-freebsd-a...@freebsd.org [mailto:owner-freebsd-
 > > a...@freebsd.org] On Behalf Of nick gigashvili
 > > Sent: Tuesday, September 09, 2014 12:45 PM
 > > To: Ian Smith
 > > Cc: freebsd-acpi@freebsd.org
 > > Subject: Re: Problems with acpi (battery status not shown)
 > > 
 > > Hi again
 > > 
 > > I did as you suggested I tested with acpiconf with different times and
 > > different states here are the results. first two files are when laptop was
 > > charging only difference in these two files was in Present voltage last
 > > two files are when laptop was discharging there is no difference in these
 > > two. After couple hours it ran out of battery and l aptop was powered off
 > > then I put it on AC power and turned it on battery was at 0% and charging
 > > and after some time it is still at 0% and charging
 > > 
 > > Now regarding to ASL file I ran iasl my-asl.asl and on line 27104 there
 > > was syntax error with "Package  (0x06)" unfortunately I don'tunderstand a
 > > damn thing with ASL syntax ...
 > > maybe this will make no difference but still I tried
 > > 
 > > Thanks
 > > 
 > > On Mon, Sep 8, 2014 at 5:00 PM, Ian Smith  wrote:
 > > 
 > > > On Mon, 8 Sep 2014 14:41:46 +0400, nick gigashvili wrote:
 > > >
 > > >  > > When replying, please edit your Subject line so it is more
 > > > specific  > > than "Re: Contents of freebsd-acpi digest..."
 > > >
 > > > One has to be really careful replying to digests; not only to restore
 > > > the Subject but also to quote no more than necessary to follow the one
 > > > message or topic.  We already had your verbose dmesg etc ..
 > > >
 > > >  > Thanks Ian for response Ill do as you suggested...
 > > >
 > > > Let us know.  My X200 dropped back to 94% today but remains relaxed.
 > > >
 > > >  > what about ASL syntax error shouldn't I pay attantion to it ?
 > > >
 > > > I wouldn't know, only a little bit about batteries.  You need to show
 > > > exact error message/s to interest someone who knows what those mean.
 > > >
 > > > I had a brief dive into a few sections of your 925KiB hp-8570w.asl and
 > > > managed to surface before drowning .. little the wiser.
 > > >
 > > > Your original message below for context, without attachments.
 > > >
 > > > cheers, Ian
 > > >
 > > >  > > Message: 1
 > > >  > > Date: Fri, 5 Sep 2014 18:43:23 +0400  > > From: nick gigashvili
 > > >   > > To: freebsd-acpi@freebsd.org  > >
 > > > Subject: Problems with acpi (battery status not shown)  > >
 > > > Message-ID:
 > > >  > >  > >  > > w...@mail.gmail.com>
 > > >  > > Content-Type: text/plain; charset="utf-8"
 > > >  > >
 > > >  > > Hi
 > > >  > >
 > > >  > > I'm having problem with acpi battery status is not updated it is
 > > > freezed on  > > 96% when on AC power, I'm running FreeBSD 10-RELEASE
 > > > on HP Workstation  > > 8570w.
 > > >  > > I tested ASL with iasl and it has syntax error. I coultn't boot
 > > > with acpi  > > turned off so Im sending you dmesg output only with
 > > > acpi enabled.
 > > >  > >
 > > >  > > here is ASL file link:
 > > >  > > https://www.sendspace.com/file/do5xn7
 > > >  > >
 > > >  > > Thank you
 > > >  > > -- next part --  > > Table 'FACP' at
 > > > 0xbeffc000  > > Table 'HPET' at 0xbeffb000  > > Table 'APIC' at
 > > > 0xbeffa000
 > > >
 > > > [..]
 > > >
 > 
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


RE: Problems with acpi (battery status not shown)

2014-09-09 Thread Moore, Robert
What was used to disassemble the file in the first place?

Please send the acpidump for the machine, thanks.
Bob


> -Original Message-
> From: owner-freebsd-a...@freebsd.org [mailto:owner-freebsd-
> a...@freebsd.org] On Behalf Of nick gigashvili
> Sent: Tuesday, September 09, 2014 12:45 PM
> To: Ian Smith
> Cc: freebsd-acpi@freebsd.org
> Subject: Re: Problems with acpi (battery status not shown)
> 
> Hi again
> 
> I did as you suggested I tested with acpiconf with different times and
> different states here are the results. first two files are when laptop was
> charging only difference in these two files was in Present voltage last
> two files are when laptop was discharging there is no difference in these
> two. After couple hours it ran out of battery and l aptop was powered off
> then I put it on AC power and turned it on battery was at 0% and charging
> and after some time it is still at 0% and charging
> 
> Now regarding to ASL file I ran iasl my-asl.asl and on line 27104 there
> was syntax error with "Package  (0x06)" unfortunately I don'tunderstand a
> damn thing with ASL syntax ...
> maybe this will make no difference but still I tried
> 
> Thanks
> 
> On Mon, Sep 8, 2014 at 5:00 PM, Ian Smith  wrote:
> 
> > On Mon, 8 Sep 2014 14:41:46 +0400, nick gigashvili wrote:
> >
> >  > > When replying, please edit your Subject line so it is more
> > specific  > > than "Re: Contents of freebsd-acpi digest..."
> >
> > One has to be really careful replying to digests; not only to restore
> > the Subject but also to quote no more than necessary to follow the one
> > message or topic.  We already had your verbose dmesg etc ..
> >
> >  > Thanks Ian for response Ill do as you suggested...
> >
> > Let us know.  My X200 dropped back to 94% today but remains relaxed.
> >
> >  > what about ASL syntax error shouldn't I pay attantion to it ?
> >
> > I wouldn't know, only a little bit about batteries.  You need to show
> > exact error message/s to interest someone who knows what those mean.
> >
> > I had a brief dive into a few sections of your 925KiB hp-8570w.asl and
> > managed to surface before drowning .. little the wiser.
> >
> > Your original message below for context, without attachments.
> >
> > cheers, Ian
> >
> >  > > Message: 1
> >  > > Date: Fri, 5 Sep 2014 18:43:23 +0400  > > From: nick gigashvili
> >   > > To: freebsd-acpi@freebsd.org  > >
> > Subject: Problems with acpi (battery status not shown)  > >
> > Message-ID:
> >  > >  >  > > w...@mail.gmail.com>
> >  > > Content-Type: text/plain; charset="utf-8"
> >  > >
> >  > > Hi
> >  > >
> >  > > I'm having problem with acpi battery status is not updated it is
> > freezed on  > > 96% when on AC power, I'm running FreeBSD 10-RELEASE
> > on HP Workstation  > > 8570w.
> >  > > I tested ASL with iasl and it has syntax error. I coultn't boot
> > with acpi  > > turned off so Im sending you dmesg output only with
> > acpi enabled.
> >  > >
> >  > > here is ASL file link:
> >  > > https://www.sendspace.com/file/do5xn7
> >  > >
> >  > > Thank you
> >  > > -- next part --  > > Table 'FACP' at
> > 0xbeffc000  > > Table 'HPET' at 0xbeffb000  > > Table 'APIC' at
> > 0xbeffa000
> >
> > [..]
> >
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


Re: Problems with acpi (battery status not shown)

2014-09-09 Thread nick gigashvili
Hi again

I did as you suggested I tested with acpiconf with different times and
different states
here are the results. first two files are when laptop was charging only
difference in these
two files was in Present voltage last two files are when laptop was
discharging there is no
difference in these two. After couple hours it ran out of battery and l
aptop was powered off
then I put it on AC power and turned it on battery was at 0% and charging
and after some time
it is still at 0% and charging

Now regarding to ASL file I ran iasl my-asl.asl and on line 27104 there was
syntax error
with "Package  (0x06)" unfortunately I don'tunderstand a damn thing with
ASL syntax ...
maybe this will make no difference but still I tried

Thanks

On Mon, Sep 8, 2014 at 5:00 PM, Ian Smith  wrote:

> On Mon, 8 Sep 2014 14:41:46 +0400, nick gigashvili wrote:
>
>  > > When replying, please edit your Subject line so it is more specific
>  > > than "Re: Contents of freebsd-acpi digest..."
>
> One has to be really careful replying to digests; not only to restore
> the Subject but also to quote no more than necessary to follow the one
> message or topic.  We already had your verbose dmesg etc ..
>
>  > Thanks Ian for response Ill do as you suggested...
>
> Let us know.  My X200 dropped back to 94% today but remains relaxed.
>
>  > what about ASL syntax error shouldn't I pay attantion to it ?
>
> I wouldn't know, only a little bit about batteries.  You need to show
> exact error message/s to interest someone who knows what those mean.
>
> I had a brief dive into a few sections of your 925KiB hp-8570w.asl and
> managed to surface before drowning .. little the wiser.
>
> Your original message below for context, without attachments.
>
> cheers, Ian
>
>  > > Message: 1
>  > > Date: Fri, 5 Sep 2014 18:43:23 +0400
>  > > From: nick gigashvili 
>  > > To: freebsd-acpi@freebsd.org
>  > > Subject: Problems with acpi (battery status not shown)
>  > > Message-ID:
>  > >   > > w...@mail.gmail.com>
>  > > Content-Type: text/plain; charset="utf-8"
>  > >
>  > > Hi
>  > >
>  > > I'm having problem with acpi battery status is not updated it is
> freezed on
>  > > 96% when on AC power, I'm running FreeBSD 10-RELEASE on HP Workstation
>  > > 8570w.
>  > > I tested ASL with iasl and it has syntax error. I coultn't boot with
> acpi
>  > > turned off so Im sending you dmesg output only with acpi enabled.
>  > >
>  > > here is ASL file link:
>  > > https://www.sendspace.com/file/do5xn7
>  > >
>  > > Thank you
>  > > -- next part --
>  > > Table 'FACP' at 0xbeffc000
>  > > Table 'HPET' at 0xbeffb000
>  > > Table 'APIC' at 0xbeffa000
>
> [..]
>
Design capacity:4690 mAh
Last full capacity: 4690 mAh
Technology: secondary (rechargeable)
Design voltage: 14400 mV
Capacity (warn):200 mAh
Capacity (low): 100 mAh
Low/warn granularity:   100 mAh
Warn/full granularity:  100 mAh
Model number:   Primary
Serial number:  02480 2013/07/10
Type:   LIon
OEM info:   Hewlett-Packard
State:  high 
Remaining capacity: 97%
Remaining time: unknown
Present rate:   0 mA (0 mW)
Present voltage:16563 mV
Design capacity:4690 mAh
Last full capacity: 4690 mAh
Technology: secondary (rechargeable)
Design voltage: 14400 mV
Capacity (warn):200 mAh
Capacity (low): 100 mAh
Low/warn granularity:   100 mAh
Warn/full granularity:  100 mAh
Model number:   Primary
Serial number:  02480 2013/07/10
Type:   LIon
OEM info:   Hewlett-Packard
State:  high 
Remaining capacity: 97%
Remaining time: unknown
Present rate:   0 mA (0 mW)
Present voltage:16584 mV
Design capacity:4690 mAh
Last full capacity: 4690 mAh
Technology: secondary (rechargeable)
Design voltage: 14400 mV
Capacity (warn):200 mAh
Capacity (low): 100 mAh
Low/warn granularity:   100 mAh
Warn/full granularity:  100 mAh
Model number:   Primary
Serial number:  02480 2013/07/10
Type:   LIon
OEM info:   Hewlett-Packard
State:  high 
Remaining capacity: 97%
Remaining time: unknown
Present rate:   0 mA (0 mW)
Present voltage:16585 mV
Design capacity:4690 mAh
Last full capacity: 4690 mAh
Technology: secondary (rechargeable)
Design voltage: 14400 mV
Capacity

Re: Problems with acpi (battery status not shown)

2014-09-08 Thread Ian Smith
On Mon, 8 Sep 2014 14:41:46 +0400, nick gigashvili wrote:

 > > When replying, please edit your Subject line so it is more specific
 > > than "Re: Contents of freebsd-acpi digest..."

One has to be really careful replying to digests; not only to restore 
the Subject but also to quote no more than necessary to follow the one
message or topic.  We already had your verbose dmesg etc ..

 > Thanks Ian for response Ill do as you suggested...

Let us know.  My X200 dropped back to 94% today but remains relaxed.

 > what about ASL syntax error shouldn't I pay attantion to it ?

I wouldn't know, only a little bit about batteries.  You need to show 
exact error message/s to interest someone who knows what those mean.

I had a brief dive into a few sections of your 925KiB hp-8570w.asl and 
managed to surface before drowning .. little the wiser.

Your original message below for context, without attachments.

cheers, Ian

 > > Message: 1
 > > Date: Fri, 5 Sep 2014 18:43:23 +0400
 > > From: nick gigashvili 
 > > To: freebsd-acpi@freebsd.org
 > > Subject: Problems with acpi (battery status not shown)
 > > Message-ID:
 > >  > w...@mail.gmail.com>
 > > Content-Type: text/plain; charset="utf-8"
 > >
 > > Hi
 > >
 > > I'm having problem with acpi battery status is not updated it is freezed on
 > > 96% when on AC power, I'm running FreeBSD 10-RELEASE on HP Workstation
 > > 8570w.
 > > I tested ASL with iasl and it has syntax error. I coultn't boot with acpi
 > > turned off so Im sending you dmesg output only with acpi enabled.
 > >
 > > here is ASL file link:
 > > https://www.sendspace.com/file/do5xn7
 > >
 > > Thank you
 > > -- next part --
 > > Table 'FACP' at 0xbeffc000
 > > Table 'HPET' at 0xbeffb000
 > > Table 'APIC' at 0xbeffa000

[..]
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


Re: Problems with acpi (battery status not shown)

2014-09-05 Thread Ian Smith
On Fri, 5 Sep 2014 18:43:23 +0400, nick gigashvili wrote:
 > Hi
 > 
 > I'm having problem with acpi battery status is not updated it is freezed on
 > 96% when on AC power, I'm running FreeBSD 10-RELEASE on HP Workstation
 > 8570w.
 > I tested ASL with iasl and it has syntax error. I coultn't boot with acpi
 > turned off so Im sending you dmesg output only with acpi enabled.
 > 
 > here is ASL file link:
 > https://www.sendspace.com/file/do5xn7
 > 
 > Thank you

Your hw.acpi tree and verbose dmesg look alright on a very quick browse.  
No AE_* ACPI errors and battery initialisation looks good, assuming you 
have just one battery fitted of the two supported.

It's quite possible that there's no problem.  Li-Ion batteries are not 
trickle-charged like older technology batteries (NiCd or NiMH) but after 
a full charge gradually self-discharge over days, perhaps weeks while 
the laptop is powered, until the battery gets down to below around 95% 
(on my Thinkpads anyway), when it will get boosted back to 100% again.

My X200 is down to 95%; I'm expecting a charge cycle any day now :)

State:  high
Remaining capacity: 95%
Remaining time: unknown
Present rate:   0 mW
Present voltage:12418 mV

Try unplugging power and watching with acpiconf -i0 until down to say 
90% or lower, then reconnect power; it should charge up to 100% again, 
and stay up around 98-99% for a while before gradually dropping.

If it doesn't, try reporting the result of acpiconf -i0 at different 
states and times; just the lines above will do, except for the first.

And don't forget to let it run on battery sometimes, it's good for it; 
occasional deep (or even complete) discharges help keep the battery's 
internal 'coulomb counter' in good shape, and don't hurt battery life.

cheers, Ian
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


Problems with acpi (battery status not shown)

2014-09-05 Thread nick gigashvili
Hi

I'm having problem with acpi battery status is not updated it is freezed on
96% when on AC power, I'm running FreeBSD 10-RELEASE on HP Workstation
8570w.
I tested ASL with iasl and it has syntax error. I coultn't boot with acpi
turned off so Im sending you dmesg output only with acpi enabled.

here is ASL file link:
https://www.sendspace.com/file/do5xn7

Thank you
Table 'FACP' at 0xbeffc000
Table 'HPET' at 0xbeffb000
Table 'APIC' at 0xbeffa000
APIC: Found table at 0xbeffa000
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 1: enabled
SMP: Added CPU 1 (AP)
MADT: Found CPU APIC ID 2 ACPI ID 2: enabled
SMP: Added CPU 2 (AP)
MADT: Found CPU APIC ID 3 ACPI ID 3: enabled
SMP: Added CPU 3 (AP)
MADT: Found CPU APIC ID 4 ACPI ID 4: enabled
SMP: Added CPU 4 (AP)
MADT: Found CPU APIC ID 5 ACPI ID 5: enabled
SMP: Added CPU 5 (AP)
MADT: Found CPU APIC ID 6 ACPI ID 6: enabled
SMP: Added CPU 6 (AP)
MADT: Found CPU APIC ID 7 ACPI ID 7: enabled
SMP: Added CPU 7 (AP)
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-RELEASE-p7 #0: Tue Jul  8 06:37:44 UTC 2014
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Preloaded elf kernel "/boot/kernel/kernel" at 0x817f2000.
Calibrating TSC clock ... TSC clock: 2394611688 Hz
CPU: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz (2394.61-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306a9  Family = 0x6  Model = 0x3a  Stepping = 
9
  
Features=0xbfebfbff
  
Features2=0x7fbae3bf
  AMD Features=0x28100800
  AMD Features2=0x1
  Standard Extended Features=0x281
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
Physical memory chunk(s):
0x0001 - 0x00099fff, 565248 bytes (138 pages)
0x0010 - 0x001f, 1048576 bytes (256 pages)
0x0181f000 - 0xbd8fefff, 3155034112 bytes (770272 pages)
0xbec7f000 - 0xbef71fff, 3092480 bytes (755 pages)
0xbefff000 - 0xbeff, 4096 bytes (1 pages)
0x0001 - 0x00022f5e8fff, 5089693696 bytes (1242601 pages)
avail memory = 8195903488 (7816 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: 
INTR: Adding local APIC 1 as a target
INTR: Adding local APIC 2 as a target
INTR: Adding local APIC 3 as a target
INTR: Adding local APIC 4 as a target
INTR: Adding local APIC 5 as a target
INTR: Adding local APIC 6 as a target
INTR: Adding local APIC 7 as a target
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
APIC: CPU 0 has ACPI ID 0
APIC: CPU 1 has ACPI ID 1
APIC: CPU 2 has ACPI ID 2
APIC: CPU 3 has ACPI ID 3
APIC: CPU 4 has ACPI ID 4
APIC: CPU 5 has ACPI ID 5
APIC: CPU 6 has ACPI ID 6
APIC: CPU 7 has ACPI ID 7
lapic0: CMCI unmasked
x86bios:  IVT 0x00-0x0004ff at 0xf800
x86bios: SSEG 0x098000-0x098fff at 0xfe01ebf9f000
x86bios: EBDA 0x09d000-0x09 at 0xf809d000
x86bios:  ROM 0x0a-0x0fefff at 0xf80a
XEN: CPU 0 has VCPU ID 0
XEN: CPU 1 has VCPU ID 1
XEN: CPU 2 has VCPU ID 2
XEN: CPU 3 has VCPU ID 3
XEN: CPU 4 has VCPU ID 4
XEN: CPU 5 has VCPU ID 5
XEN: CPU 6 has VCPU ID 6
XEN: CPU 7 has VCPU ID 7
ULE: setup cpu 0
ULE: setup cpu 1
ULE: setup cpu 2
ULE: setup cpu 3
ULE: setup cpu 4
ULE: setup cpu 5
ULE: setup cpu 6
ULE: setup cpu 7
ACPI: RSDP 0xf2f10 00024 (v02 HPQOEM)
ACPI: XSDT 0xbeffe120 00094 (v01 HPQOEM SLIC-MPC 000F  0113)
ACPI: FACP 0xbeffc000 0010C (v05 HPQOEM 176B 000F HP   0001)
ACPI: DSDT 0xbefd6000 20720 (v02 HPQOEM 176B 0001 INTL 20110112)
ACPI: FACS 0xbec34000 00040
ACPI: HPET 0xbeffb000 00038 (v01 HPQOEM 176B 0001 HP   0001)
ACPI: APIC 0xbeffa000 000BC (v01 HPQOEM 176B 0001 HP   0001)
ACPI: MCFG 0xbeff9000 0003C (v01 HPQOEM 176B 0001 HP   0001)
ACPI: TCPA 0xbeff7000 00032 (v02 HPQOEM 176B  HP   0001)
ACPI: SSDT 0xbefd3000 002CA (v01 HPQOEM SataAhci 1000 INTL 20110112)
ACPI: SSDT 0xbefd2000 0048A (v01 HPQOEM PtidDevc 1000 INTL 20110112)
ACPI: SLIC 0xbefd1000 00176 (v01 HPQOEM SLIC-MPC 0001 HP   0001)
ACPI: FPDT 0xbefcf000 00044 (v01 HPQOEM 176B 0001 HP   0001)
ACPI: BGRT 0xbefce000 00038 (v00 HPQOEM 176B 0001 HP   0001)
ACPI: SSDT 0xbefcd000 00E42 (v01 HPQOEM   ATIGFX 0001 INTL 20110112)
ACPI: SSDT 0xbefca000 00932 (v01  PmRef  Cpu0Ist 3000 INTL 20110112)
ACPI: SSDT 0xbefc9000 00AAD (v01  PmRefCpuPm