acpi shows wrong battery state

Andriy Gapon avg at icyb.net.ua
Fri Sep 3 16:11:41 UTC 2010


on 03/09/2010 19:03 Ian Smith said the following:
> On Fri, 3 Sep 2010, Andriy Gapon wrote:
>  > on 03/09/2010 17:51 Ian Smith said the following:
>  > > +acpi_ec0: warning: EC done before starting event wait
>  > 
>  > Well, it's messages of these kind that led me to suggest the patch.
>  > Perhaps, for some reason, in this case EC has response ready before we expect it.
> 
> Ok, well if I'm reading this right, acpi_ec0 definitely seems to have 
> failed the first time on 8.0, but succeeded with a warning later.  I 
> know you suggested not mixing the issues, but re kern/147858 you said:
> 
>  > I guess that I "broke" this driver when I removed second pass of 
>  > probe+attach of acpi bus children, but it is the driver that should 
>  > be fixed.
> 
> .. so I can't help wondering if it was this second pass that you removed 
> that may have fluked succeeding (with warning) on 8.0 on this machine?
> 
> Please tell me to shutup and swim when I'm too far out of my depth :)
> 

Well, I suspect that on his system acpi_ec needs acpi_cpu to be attached to
succeeded, so it (sometimes) worked on the second pass, but I guess that never on
the first pass.
In 8.1 acpi_cpu is always attached before acpi_ec.

-- 
Andriy Gapon


More information about the freebsd-acpi mailing list