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 Vincent Bernat
❦ 12 octobre 2014 20:54 +0200, Thomas Koch  : >> 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 so

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 -- Thoma

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 yo

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 th

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 a

Re: TLP package vs. pm-utils

2014-10-10 Thread Marco d'Itri
On Oct 09, Thomas Koch 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 solved then I'm all f

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 old

Re: TLP package vs. pm-utils

2014-10-09 Thread Vincent Bernat
❦ 9 octobre 2014 20:18 +0200, Thomas Koch  : > 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 systemd. > > Look

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 even