Latest working kernel version: none Earliest failing kernel version: 2.6.28 Distribution: Linux from Scratch Hardware Environment: ZT Systems P7003i-74 laptop Software Environment: Problem Description: I get various ACPI errors on boot pertaining to Battery and Lid. Battery monitoring not working. Steps to reproduce: boot
Created attachment 19837 [details] dmesg output Here is the dmesg output showing ACPI errors
Created attachment 19838 [details] Output of acpidump Output of acpidump
Also, I did confirm that these items will work under windows.
John, your machine has invalid ECDT table, values for command and data registers are reversed. Please check if there is an update of BIOS for your machine and if there is none, please attach output of dmidecode here.
Created attachment 19841 [details] Another band-aid for broken ECDT, not ASUS this time Please check if this patch makes any difference
Created attachment 19842 [details] Output of dmidecode Here's my dmidecode output. I tried the patch and it didn't fix the problem. Thanks!
Also, I checked and there is no BIOS updates available.
Created attachment 19843 [details] dmidecode --dump output This is the output of dmidecode using the --dump switch in case that is preferred.
Created attachment 19863 [details] cumulative patch for 2.6.28 to check ECDT
Alexey, Unfortunately I am still having the same problem with this patch.
please post dmesg -s 64000 with any of the patches applied.
Created attachment 19871 [details] dmesg -s 64000 Here's the dmesg -s 64000 with the patches applied.
Created attachment 19928 [details] cumulative patch for 2.6.28 to check ECDT #2 Please check if this patch is any better.
Created attachment 19942 [details] dmesg -s 64000 output It is still not working with this patch. I attached dmesg output.
Created attachment 19943 [details] A quick hack that makes it work for me Alexey, If I take the unpatched ec.c from 2.6.28, and change it to make it use the previous ASUS workaround, it works on my laptop. Maybe my ECDT from my DSDT is bad too. See my attached patch to see what I did.
Created attachment 19951 [details] cumulative patch for 2.6.28 to check ECDT #3 John, Your DSDT is good. 0x66 port for command and 0x62 port for data. This is my patch, which is broken... Please try new version.
The new patch worked. It didn't patch cleanly against 2.6.28, but I was able to patch it by combining part of it with patch #2 (from comment #13). Thanks for your help!
John, can your laptop work well in 2.6.29? Alexey, it seems that the patch in comment #16 is not upstream, what's the status of this bug?
You are correct, Zhang. 2.6.29 still doesn't work. I had to reapply the patch from comment #16.
Created attachment 20766 [details] Updated patch for 2.6.29 This is the same patch updated for 2.6.29.
patch in comment #20 applied to acpi-test
shipped in 2.6.30 merge window (Linux-2.6.29-git14) closed.