On Saturday 16 June 2012 07:29 AM, Guillem Jover wrote: >> Setting severity of normal because: >> > * You have an option to disable. > That's right, but only as long as you know what needs disabling, it > took me a while to spot what the culprit was, because the battery/ac > stuff is a bit hairy, there's at least acpid, laptop-mode-tools, > pm-utils, and the kernel messing with this stuff.
Just wanted to let you know that you could knock off some of the tools. Today, as in 1.61, laptop-mode-tools does not require/depend on pm-utils or acpid. It used to depend on acpid for invocation during power state change, but now it does it directly with the kernel events. acpid support is still there for backwards compatibility It used to depend on pm-utils for invocation during resume-from-suspend state. But now it does it directly with the kernel events. The pm-utils support is there again for backwards compatibility. But removing pm-utils will lead to suspend/hibernate options missing from the Desktop Manger's interface I agree that multiple components installed together could be causing bigger problems when trying to determine the culprit. > Suddenly getting the > network to stop working is pretty mysterious given all those layers, > and as such (as said before) even if the real problem is with the driver > or the kernel PM settings or whatever, if laptop-mode-tools triggers > this (when it could avoid it), then that's a “problem” with it. > This was done on purpose. Earlier, somewhere around 1.54 and before, the user had to configure laptop-mode-tools to get any effect. Just mere installation provided not much change. That is when we introduced the AUTO_MODULES setting. With a good list of modules marked auto, and ENABLE_AUTO_MODULES set to 1, this gives the immediate effect of power savings when installing laptop-mode-tools. Sure there have been reports of things breaking. But only one or two. An example is: DBUG: 671405. My concern with changing the defaults is that eventually it'll end up going back to the same "all power savings disabled by default" state. And that is why we provide a flexible settings framework so that users can fine tune it to meet their specific requirements. This was also the reason why we introduced the exec-commands module. Also having a uniform defaults settings across distributions helps. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: OpenPGP digital signature