On Mon 22. Sep - 11:17:42, Thomas Renninger wrote: > On Monday 22 September 2008 03:24:54 Shaohua Li wrote: > > On Thu, 2008-09-18 at 13:16 -0600, Thomas Renninger wrote: > > > On Thursday 18 September 2008 19:10:02 Thomas Renninger wrote: > ... > > > Above is still valid. > > > > No, this doesn't work. there isn't a acpi_device because battery is > > absent when this is called, but I could add CID support. > I don't know whether there are devices with battery ID in the CID list. > With or without the workaround (rewriting cid checking) it's not perfect. > > This is an issue I tried to solve years ago. > Ignoring not present devices is wrong IMO. > The whole current design destroys hotplug integration and results in more > and more workarounds (acpi_memoryhotplug and container driver are nice > examples). > One has to be careful that only _STA and no other functions are called, but > not present devices should still get registered in some way and somone (the > driver itself or maybe better the ACPI subsytem and introduce .notify driver > ops) should listen on Notify AML calls. > Please tell me if someone looks at this again or has ideas/concerns. I always > wanted to and will at some point, but still don't have the time. > > > > Some of the patches looked like it would be worth for .27, but it's too > > > late now anyway and the problem I hoped it could fix (kacpid utilizes > > > 100% of CPU after suspend, due to _STA -> notify loop) is not solved by > > > these according to Holger. > > > > Yes, this patch set just fixed some bugs. Is there a bugzilla for this > > issue I can look at? > [Bug 401740] kacpi* eat a lot of cpu after s2disk > https://bugzilla.novell.com/show_bug.cgi?id=401740 The patch series fixes this bug on the Dell D620 I have here. It's more an design problem we are seeing here, of which I could not find the root cause yet. The single fixup patches do not help. So maybe there is a little chance that we still get this patchset in... Regards, Holger -- 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