LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2016, 10:37 PM   #1
User9
Member
 
Registered: Mar 2016
Location: Boston, MA, USA
Distribution: Arch 4.9, Gentoo, Debian, FreeBSD, FreeNAS
Posts: 37

Rep: Reputation: Disabled
Questions about Arch power management/ACPI


Comp: Dell Latitude 7404
OS: Arch 4.4.5-1

Some Info to do with question . . .
I could not find out where the config file is for the default power settings or commands to change them.The best I've found is /etc/systemd/logind.conf. It doesn't have places for how long until suspend just if it's enabled or not and also it doesn't have a blank screen/monitor off only suspend and sleep-hybernate.

Right now it has default power setup.I think it's controlled by systemd, systemd-logind not 100% sure it's what ever the default install has. What controls the time to suspend by default?,name and default config location?

1. trying to set AC blank screen after 30min on BATT blankscreen after 10min sleep after 20min. This is all full terminal, no X gui

(from Arch Wiki)
"systemd cannot handle AC and Battery ACPI events, so if you use Laptop Mode Tools or other similar tools acpid is still required"

Main Question . . .
If I setup acpid and LMT or TLP will the default power management clash with a new one,If so how do I stop that from happening?
default power management being what Arch uses with fresh/new install.

Also which is best for easy setup and good control for what I want(goto 1, 2) Laptop Mode Tools, TLP or PowerTOP ?

2. also . . .
how to disable systemd-rfkill power event.So when system suspends it won't activate.(it won't turn off rfkill on resume)I have to manually rfkill unblock every time.
Is there a way other than systemctl mask systemd-rfkill.service
as this will completely disable rfkill making it so the stealth key aka All Radios Off switch on my keyboard is none operable.

Last edited by User9; 04-30-2016 at 01:28 PM.
 
Old 04-30-2016, 02:28 PM   #2
User9
Member
 
Registered: Mar 2016
Location: Boston, MA, USA
Distribution: Arch 4.9, Gentoo, Debian, FreeBSD, FreeNAS
Posts: 37

Original Poster
Rep: Reputation: Disabled
looks like they will clash

feel like a idiot top of Arch power management Wiki page
"Userspace tools
Using these tools can replace setting a lot of settings by hand. Only run one of these tools to avoid possible conflicts as they all work more or less similar."

I read diffrent sections but didn't start from top so looks like the default power setup(still not 100% sure if it is systemd) will clash with Laptop Mode Tools and TLP
only way to stop this (that i can think of) is to edit /etc/systemd/logind.conf and add "ignore" to all rules. then I'll install TLP.
I'll repost results

Still if anyone knows we're the default rules (how long untill suspend) are I would appreciate it as systemd/logind.conf only has what to do on power events not how long until they are trigged. I did man logind.conf and it has nothing on what I am asking. Arch Wiki says that kernel parameters and udev rules also control power I don't know much about either. Some help would be nice I don't need everything handed to me just want a lead or a site reference.

Last edited by User9; 04-30-2016 at 02:29 PM. Reason: spelling
 
Old 05-19-2016, 10:19 PM   #3
User9
Member
 
Registered: Mar 2016
Location: Boston, MA, USA
Distribution: Arch 4.9, Gentoo, Debian, FreeBSD, FreeNAS
Posts: 37

Original Poster
Rep: Reputation: Disabled
Still can't figure it out so it must be in the kernel.So I'll just install Laptop Mode Tools, TLP has a default config with it,witch is always nice but no Terminal blanking so I'll go with Laptop Mode Tools. When I set it up if I get any errors or conflicts with the default(kernel?) power setup I'll repost else I'll post anyway with results.
 
Old 05-21-2016, 05:19 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 5,802

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
you should install only one of: Laptop Mode Tools, TLP or PowerTOP
but i don't think it's necessary to change systemd's powersaving settings.

actually, i know this from experience.

just start using one of Laptop Mode Tools, TLP or PowerTOP!
they also have a bit of documentation, make sure you read & set it up properly.
 
Old 05-23-2016, 05:54 PM   #5
User9
Member
 
Registered: Mar 2016
Location: Boston, MA, USA
Distribution: Arch 4.9, Gentoo, Debian, FreeBSD, FreeNAS
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
you should install only one of: Laptop Mode Tools, TLP or PowerTOP
but i don't think it's necessary to change systemd's powersaving settings.

actually, i know this from experience.

just start using one of Laptop Mode Tools, TLP or PowerTOP!
they also have a bit of documentation, make sure you read & set it up properly.
Thanks for reply.

Did you have to install acpid first ?
 
Old 05-26-2016, 12:41 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 5,802

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by User9 View Post
Did you have to install acpid first ?
i don't remember.
probably not.
if one of the above mentioned tools requires it, i'm sure they will pull it in as a dependency.
fwiw, some power management related stuff here.
 
Old 05-26-2016, 04:02 PM   #7
User9
Member
 
Registered: Mar 2016
Location: Boston, MA, USA
Distribution: Arch 4.9, Gentoo, Debian, FreeBSD, FreeNAS
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
i don't remember.
probably not.
if one of the above mentioned tools requires it, i'm sure they will pull it in as a dependency.
fwiw, some power management related stuff here.
Makes sense that it would be pulled in if needed, surprised I didn't remember that.
thanks for the url, that a UK keyboard layout?
 
  


Reply

Tags
arch linux, laptop, powermanagement


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Management - ACPI support fcovzqz Linux - Hardware 5 12-20-2012 08:28 AM
No power management/ACPI on Toshiba Satellite L500D Vlinux6 Linux - Laptop and Netbook 19 03-25-2011 11:02 AM
LG E500 With Ubuntu/Debian, ACPI/Power Management not working rdj Linux - Laptop and Netbook 1 09-18-2008 09:27 AM
ACPI and Power Management on Dell Inspiron 5150 Laptop Cotobear Linux - Laptop and Netbook 2 11-19-2007 12:58 AM
ACPI / APM Fedora Core 1 and HP omnibook xe4100 (no power management)!! Russ-ST24 Fedora 2 12-03-2003 03:10 AM


All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration