Saturday,  2 October 2010 at 17:01:41 -0400, Eitan Adler said:
> On Sat, Oct 2, 2010 at 4:01 PM,  <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to