Configuration is ignored & laptop-mode-tools specific tweaks are only aplied after a restart of laptop-mode

Bug #1307470 reported by Daniel Holz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
laptop-mode-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Changes in the configuration of laptop-mode-tools through lmt-config-gui or manually editing the config-files in /etc/laptop-mode files has no effect.

Also the laptop-mode-tools specific energy saving tweaks are only applied if laptop-mode is restarted manually after login.

My current workaround:
Deleting modules of laptop-mode-tools which cause problems for me from /usr/share/laptop-mode-tools/modules & running a script with lightdm to restart laptop-mode.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: laptop-mode-tools 1.64-1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Apr 14 13:47:07 2014
InstallationDate: Installed on 2014-04-14 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140413)
PackageArchitecture: all
SourcePackage: laptop-mode-tools
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.laptop.mode.conf.d.usb.autosuspend.conf: 2014-04-14T12:25:44.096981
mtime.conffile..etc.laptop.mode.laptop.mode.conf: 2014-04-14T13:13:33.199152

Revision history for this message
Daniel Holz (daniel-holz91) wrote :
Revision history for this message
Ritesh Raj Sarraf (rrs) wrote : Re: [Bug 1307470] [NEW] Configuration is ignored & laptop-mode-tools specific tweaks are only aplied after a restart of laptop-mode

On 04/14/2014 05:33 PM, Daniel Holz wrote:
> Changes in the configuration of laptop-mode-tools through lmt-config-gui
> or manually editing the config-files in /etc/laptop-mode files has no
> effect.
>
> Also the laptop-mode-tools specific energy saving tweaks are only
> applied if laptop-mode is restarted manually after login.

Not speaking on behalf of the package in Ubuntu, but as an upstream, I
would be interested to know the cause.
lmt-config-gui will trigger a restart, when you hit the "apply" button.

If the changes are not reflecting, please provide the system logs.
Something else must be obstructing.

--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Revision history for this message
Daniel Holz (daniel-holz91) wrote :

Oh, yes I forgot to mention that I had installed the Debian package because of the problems. According to the developer page it usually works better than the on in the Ubuntu repository. Because it didn't help I'm using the one from the repository again which still gives me same problems.

mt-config-gui doesn't give me an "apply"-button at all.

Revision history for this message
Daniel Holz (daniel-holz91) wrote :
Revision history for this message
Daniel Holz (daniel-holz91) wrote :
Revision history for this message
Ritesh Raj Sarraf (rrs) wrote : Re: [Bug 1307470] Re: Configuration is ignored & laptop-mode-tools specific tweaks are only aplied after a restart of laptop-mode

On 04/16/2014 02:31 PM, Daniel Holz wrote:
> Oh, yes I forgot to mention that I had installed the Debian package
> because of the problems. According to the developer page it usually
> works better than the on in the Ubuntu repository. Because it didn't
> help I'm using the one from the repository again which still gives me
> same problems.
>
> mt-config-gui doesn't give me an "apply"-button at all.
The one in the Ubuntu repository may be broken then. Check attached
screenshot.

--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Revision history for this message
Daniel Holz (daniel-holz91) wrote :

I don't know. I didn't use lmt-config-gui when I had installed the Debian package but the other bugs were the same with it.

Revision history for this message
Ritesh Raj Sarraf (rrs) wrote :

Ubuntu perfers (and support) pm-utils. So if you are on Ubuntu, you should stick to pm-utils only. There are ways to purge pm-utils (if you don't like it) and use something else, like LMT, as the sole power saving service. But that's something not an average user should be recommended to do.

Revision history for this message
Daniel Holz (daniel-holz91) wrote :

Isn't pm-utils responsible for Suspending and Hibernation, too? Removing it doesn't sound like a good idea.

Sadly, staying with it only consumes slightly more power on my tablet than using laptop-mode-tools.

Revision history for this message
Ritesh Raj Sarraf (rrs) wrote :

On 04/17/2014 04:47 AM, Daniel Holz wrote:
> Isn't pm-utils responsible for Suspending and Hibernation, too? Removing
> it doesn't sound like a good idea.
>
> Sadly, staying with it only consumes slightly more power on my tablet
> than using laptop-mode-tools.

Yes. The kernel is. pm-utils just triggered it. And it also provides
hooks into a FD.o spec which then is consumed by all Desktop Managers.
That's how the dependencies are built.

For that reason, in LMT, we started shipping helper scripts for suspend
/ hibernate, but we did not make them hook into any DMs. The next
release of LMT will have the suspend / hibernate functionality in the
LMT GUI Configuration Tool also.

With all this talked now, I think you should close this bug report.
There's nobody assigned to it anyways. :-)

--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Revision history for this message
Daniel Holz (daniel-holz91) wrote :

Yeah, well, I got it working for me somehow. Seems like that has to be enough.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.