On Mon, May 20, 2013 at 06:57:56PM +0200, Mark Kettenis wrote: > As diagnosed by some other people (armani@, jcs@?) a while ago, our > code to deal with IndexField() operators in our AML interpreter is > quite broken. It works for fields that are less than a byte in size, > but anything else is pretty much completely busted. I wouldn't be > surprised if this is the cause of many ACPI-related problems. One > that comes to mind are the ridiculous temperatures reported by > acpitz(4) that have been plaguing us since basically forever. > > I don't have a lot of machines that have AML with IndexField() > operators. I've verified that those return the correct values, but > this defenitely could use further testing on a wide variety of > i386/amd64 hardware please.
Asus UX31E ultrabook here. This patch fixes kernel panics on boot in acpivout (get_bcl()), panics on AC plug/unplug, and battery information is now present in sysctl hw. Suspend/resume also gets further but still panics. Thanks for the patch!