Hi Thomas, On 4/19/07, Thomas Renninger <trenn@xxxxxxx> wrote:
Hi, I first thought it's the "unload psmouse" or "cleanup psmouse ports" at shutdown problem again. I think this time EC gets confused at boot time. Compiling psmouse as module helps again. Symptom: AC adapter status is wrong if booted with AC unplugged. Replugging helps. This sounds like a minor bug, but ACPI errors at other places with AE_TIME errors also happen and theoretically all kind of ACPI breakage could happen... I can reproduce this with a 2.6.18 and a 2.6.16 kernel. Latest 2.6.21-rc7 does not show the problem. I wonder whether this really got fixed or whether this is just because psmouse gets activated at some earlier or later time because of other changes in the kernel.
I don't think so, unless you changed your .config.
This looks a bit related to the "Could the k8temp driver be interfering with ACPI" discussion. It seems as if mouse ports should not get touched when ACPI is accessing the EC on HP laptops (and others?) in general? I can't access the machine anymore, I possibly can have it for some more tests. I just want to point out that there still could be trouble. Thomas I thought that attached patch helps (exclude psmouse init and ACPI interpreter). But it seems that not.
You want to take the lock in psmouse_connect() and psmouse_disconnect() and bunch of other places. Because all probing work is offloaded to kseriod you did not really change anything when protecting psmouse_init. -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html