Date: Mon, 4 Oct 2010 21:44:34 +0100 From: Peter Harrison <peter.piggybox@virgin.net> To: Eitan Adler <lists@eitanadler.com> Cc: four.harrisons@googlemail.com, freebsd-questions@freebsd.org Subject: Re: ACPI & battery issues Message-ID: <20101004204434.GA1436@ideapad.piggybox> In-Reply-To: <AANLkTi=Ch4_7HYfzjUmbE9z48b3UoeqO3Dw25U4htPmG@mail.gmail.com> References: <4ca78fe8.8575df0a.0fdd.3721@mx.google.com> <AANLkTi=Ch4_7HYfzjUmbE9z48b3UoeqO3Dw25U4htPmG@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Saturday, 2 October 2010 at 17:01:41 -0400, Eitan Adler said: > On Sat, Oct 2, 2010 at 4:01 PM, <four.harrisons@googlemail.com> wrote: > > I get the same messages with the stock acpi on a Lenovo S10e. Someone on the acpi list (who's name I forget) wrote a patch which removes the error. If you think it might help I'll root it out and forward it on. > > > I'll be happy to take a look at the patch and see if it solves my > problem. does the patch just remove the error message or solve a > specific problem that might be causing the issue? Eitan, I've attached the patch - this came from David Naylor on the ACPI list. If I understand what he told me at the time, it doesn't fix the problem entirely - but I can't pretend I understand ACPI. I know it means that on my S10e I no longer get spammed with ACPI errors - and that my battery status and shutdown work properly. The patch applies to /usr/src/sys/dev/acpica/acpi_ec.c It needs some new entries in /boot/loader.conf to adjust the timeouts and delays - which you can tinker with. The settings given are what works for me - but search the acpi list archives for David's original email: debug.acpi.ec.delay="200" debug.acpi.ec.gpe="1" debug.acpi.ec.timeout="100" Hope it helps, Peter Harrison. > > > > > > > ... > > I see > > ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for > > [EmbeddedControl] (20100331/evregion-588) > > ACPI Error (psparse-0633): Method parse/execution failed > > [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6adba60), > > AE_NO_HARDWARE_RESPONSE > > > > repeatedly in dmesg > > > > sysctl's relating to battery information is also slow: > > % time sysctl hw.acpi.battery.state > > hw.acpi.battery.state: 7 > > sysctl hw.acpi.battery.state 0.00s user 2.18s system 72% cpu 3.006 total > > > > % time sysctl hw.acpi.battery > > hw.acpi.battery.life: -1 > > hw.acpi.battery.time: -1 > > hw.acpi.battery.state: 7 > > hw.acpi.battery.units: 1 > > hw.acpi.battery.info_expire: 5 > > sysctl hw.acpi.battery 0.00s user 6.58s system 67% cpu 9.779 total > > > > also note that the life and time are both negative one. > > > > This is on a Lenovo G530 laptop. > -- > Eitan Adler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101004204434.GA1436>