Date: Fri, 03 Sep 2010 19:11:29 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: Ian Smith <smithi@nimnet.asn.au> Cc: freebsd-acpi@freebsd.org Subject: Re: acpi shows wrong battery state Message-ID: <4C811E31.2030900@icyb.net.ua> In-Reply-To: <20100904014842.T32216@sola.nimnet.asn.au> References: <AANLkTiknRR_PDWfXbhM3iivb4bDnaQ-JBmXyuFP_2knk@mail.gmail.com> <20100829235431.J86162@sola.nimnet.asn.au> <AANLkTi=Cpg5k1b%2Biqxsz=Ys8syCv7yOfv2Z_KHYer2p6@mail.gmail.com> <20100830183330.Y29840@sola.nimnet.asn.au> <4C7BBCFE.4030804@icyb.net.ua> <20100831003546.K29840@sola.nimnet.asn.au> <AANLkTikkuZJh6FBE3As0wxdXM3Gh3GYRF3=6eNZmP71D@mail.gmail.com> <4C8095A2.90506@icyb.net.ua> <4C809912.1080205@FreeBSD.org> <4C80AB00.4020008@icyb.net.ua> <20100903234130.A32216@sola.nimnet.asn.au> <4C810D5A.5040705@icyb.net.ua> <20100904014842.T32216@sola.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C811E31.2030900>