From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 31 18:32:07 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9386E10656B1 for ; Tue, 31 Aug 2010 18:32:07 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 173788FC16 for ; Tue, 31 Aug 2010 18:32:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o7VIW5AE088614; Wed, 1 Sep 2010 04:32:05 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 1 Sep 2010 04:32:05 +1000 (EST) From: Ian Smith To: freebsd-acpi@freebsd.org Message-ID: <20100901042852.P29840@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: acpi shows wrong battery state (fwd) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 18:32:07 -0000 Argh, sorry, fat-fingered cc'ing the list .. up waay too late. ---------- Forwarded message ---------- Date: Wed, 1 Sep 2010 04:22:09 +1000 (EST) From: Ian Smith To: Andriy Gapon Cc: kuba guzik , dan@obluda.cz, freebas-acpi@freebsd.org Subject: Re: acpi shows wrong battery state On Tue, 31 Aug 2010, Andriy Gapon wrote: > on 31/08/2010 18:43 kuba guzik said the following: > >> So, try to follow Ian's recommendations and play with various settings for EC. > > > > I'm rather new user :-) Could you explain what does it mean? BIOS settings? > > > > For me this problem is strange becouse even in 8.1 acpi shows good > > battery state, but very rarely (After istallation once, and later 2 > > times). > > Is there at this moment possible way to fix this problem? Maybe using > > freebsd current or some acpi (?) patches to kernel? > > Take a look at these tunables: > debug.acpi.ec.timeout: 750 > debug.acpi.ec.polled: 0 > debug.acpi.ec.burst: 0 > > Perhaps increasing timeout would help? Hopefully .. from those dmesgs for 8.0 and 8.1 I was surprised that it eventually seemed to work on 8.0 .. so it could well be a timing issue. Kuba, just in case you're unfamiliar with tunables, you could add (eg) debug.acpi.ec.timeout=1000 to /boot/loader.conf and reboot. I don't know whether or how ec.polled or ec.burst modes should work, and don't have access to 8.1 sources right now; still repairing my Thinkpad. cheers, Ian PS please keep the list in the ccs.