[SOLVED] Questions about Arch power management/ACPI
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
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.
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?
One of the main reasons why I posted this was because the system terminal was blanking out after about 15 mins link a terminal screen saver/power saver. I was able to stop this by adding this in ~/.bash_profile
Code:
setterm -blank 0
This works great for what I want. There's another option that you can use but I didn't need
I'll put it here maybe it will help someone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.