acpi shows wrong battery state (fwd)

Ian Smith smithi at nimnet.asn.au
Tue Aug 31 18:32:07 UTC 2010


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 <smithi at nimnet.asn.au>
To: Andriy Gapon <avg at icyb.net.ua>
Cc: kuba guzik <kuba.g4 at gmail.com>, dan at obluda.cz, freebas-acpi at 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.


More information about the freebsd-acpi mailing list