Re: TLP package vs. pm-utils

2014-10-13 Thread Thomas Koch
On 12.10.2014 23:41, Vincent Bernat wrote: I thought that the pm-suspend part of acpid/acpi-support was disabled when systemd is detected. See /usr/share/acpi-support/policy-funcs. I forgot to mention that the experiment was on a sysvinit-core setup, i.e. no pid 1 systemd. With systemd it works

Re: TLP package vs. pm-utils

2014-10-12 Thread Thomas Koch
Hi Martin, thanks for your helpful insights. see [3] –, neither is pm-suspend called by systemd's sleep.target. Not by systemd as pid 1, but if you run with upstart or sysvinit, systemd-shim will use pm-utils if it is installed, so that suspend quirks still work. My experiments showed that i

Re: TLP package vs. pm-utils

2014-10-12 Thread Thomas Koch
Hi Gregor, That would make me sad, as I'm using both. Maybe this changes after I switch to systemd but right now I need both. Granted. I can't stand saddening my users. After some more testing i found a way to fully support non-systemd setups: TLP's pm-suspend hook is installed again. Can you

Re: TLP package vs. pm-utils

2014-10-12 Thread Thomas Koch
Hi Vincent, Isn't the pm-powersave stuff still working due to being invoked by acpid? Thanks for your hint. I experimented a bit and found that acpid + acpi-support call pm-suspend. I found nothing that calls pm-powersave upon changing the power source (ac - bat). Regards, Thomas -- Thomas

Re: TLP package vs. pm-utils

2014-10-12 Thread Vincent Bernat
❦ 12 octobre 2014 20:54 +0200, Thomas Koch linrun...@gmx.net : Isn't the pm-powersave stuff still working due to being invoked by acpid? Thanks for your hint. I experimented a bit and found that acpid + acpi-support call pm-suspend. I found nothing that calls pm-powersave upon changing the

Re: TLP package vs. pm-utils

2014-10-11 Thread Ralf Jung
Hi, see [3] –, neither is pm-suspend called by systemd's sleep.target. Not by systemd as pid 1, but if you run with upstart or sysvinit, systemd-shim will use pm-utils if it is installed, so that suspend quirks still work. IMHO it is a bit unfortunate that all the suspend quirks and

Re: TLP package vs. pm-utils

2014-10-10 Thread Marco d'Itri
On Oct 09, Thomas Koch linrun...@gmx.net wrote: Questions: - Am i missing something here? Last time I discussed this with the other systemd maintainers it appeared that something (what?) still uses the pm-powersave infrastructure, which does not have a systemd equivalent. If this can be

TLP package vs. pm-utils

2014-10-09 Thread Thomas Koch
Hi all, i'm the author of the TLP power management tool [1]. With the help of my sponsor Andreas Tille i prepared a Debian package [2] for TLP 0.6. Older TLP packages – available via my PPA, not in Debian – depend on pm-utils (pm-suspend) for being called upon suspend/resume events. The

Re: TLP package vs. pm-utils

2014-10-09 Thread gregor herrmann
On Thu, 09 Oct 2014 20:18:47 +0200, Thomas Koch wrote: i'm the author of the TLP power management tool [1]. I'm a happy user of TLP - thanks for writing it. Older TLP packages – available via my PPA, not in Debian – depend on pm-utils (pm-suspend) for being called upon suspend/resume

Re: TLP package vs. pm-utils

2014-10-09 Thread Vincent Bernat
❦ 9 octobre 2014 20:18 +0200, Thomas Koch linrun...@gmx.net : Older TLP packages – available via my PPA, not in Debian – depend on pm-utils (pm-suspend) for being called upon suspend/resume events. The necessity to depend on (and coexist with) pm-utils is imho gone with Debian's move to

Re: TLP package vs. pm-utils

2014-10-09 Thread Martin Pitt
Hello, Thomas Koch [2014-10-09 20:18 +0200]: Looking into the current pm-utils package in Debian testing i noticed that it is kind of inert: nor is pm-powersave called by upowerd – changed in upower 0.99.1-1 That is a good point. I didn't really notice yet as in Ubuntu we still have the older