You are not logged in.
You have to change that value through kernel line in grub. Users can no more change it, neither admin can.
Read here: http://git.kernel.org/?p=linux/kernel/g … 2c565c6b0d .
Offline
You have to change that value through kernel line in grub. Users can no more change it, neither admin can.
Read here: http://git.kernel.org/?p=linux/kernel/g … 2c565c6b0d .
That's important IMO. Should be taken account in powerdown development.
K.i.s.s. <3
Offline
I just wanted to say how extremely BAD of an idea is to update this package in AUR = upon update all the custom changes get lost!
Damn it, now I have to do all the work again. What an annoying concept...
I suggest everyone to blacklist this package in pacman.conf
Last edited by Lockheed (2012-10-23 11:13:20)
Offline
True. So true.
That's why I'm about to commit a patch that add function to load variables from .conf file(s).
K.i.s.s. <3
Offline
Do I need to disable laptop-mode-tools or cpupower to run this package?
Does anyone compare this package to laptop-mode-tools?
Last edited by SuperBo (2012-10-24 12:33:04)
Offline
Both yes.
Read here: https://bbs.archlinux.org/viewtopic.php … 6#p1108536 .
EDIT: Point 6 is now fixed (with the udev rule.) and it's even better.
Last edited by nierro (2012-10-24 13:01:09)
Offline
Thanks!
One more question.
If I use kernel 3.6, do I need to add "i915.i915_enable_rc6=1" to boot parameters.
And, What is rc6 mode?
Offline
Mine showing this error log when executing powerdown, anyone know why?
[powerdown] cannot write powersave to /sys/module/pcie_aspm/parameters/policy
[powerdown] cannot run iw dev wlan0 set power_save on
Offline
1: you should set "pcie_aspm=force" in your kernel grub line.
2 : May be your wireless card does not support powersave. Try "iwconfig wlan0" from root in terminal and post here the output. (sorry for not using code tag but i'm from my smartphone )
Offline
Hello.
Ok, i've uninstalled and disabled laptop-mode-tools, upower, and I put "pcie_aspm=force" and "i915.i915_enable_rc6=1" on my boot line. But it does not seems to have any effect on my battery, I'm still stuck at ~ 1h30 when I run powerdown. But I'm not sure about the way to use the command. Do I only have to launch it in a terminal ? No special configuration ?
Offline
It should be ran automatically during startup, thanks to a udev rule...so no user input is mandatory
Offline
Ok, now I see, it decreases the light on battery. So, no more optimizations are possible ? No packages to install, just powerdown and go ?
By the way, I have an error when I run it in a shell:
[powerdown] cannot write 1 to /sys/module/i915/parameters/i915_enable_rc6
Offline
For the error: add ""i915.i915_enable_rc6=1" to the kernel grub line.
In powerdown there are lots of optimization regarding battery drain...you can't do much more, i guess...
Offline
Ok. Is there any documentation about this project ? I didn't find anything on the repo. Like, what does it do ? Does it also spin down the disks, like lmt + hdparm ?
Offline
Ok. Is there any documentation about this project ? I didn't find anything on the repo. Like, what does it do ? Does it also spin down the disks, like lmt + hdparm ?
Yes, it spins down your harddrive. There's no documentation, but you can find all the information you need when Googling. It's what I did
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
It does what lmt does, virtually.
You should have a look at the powerdown script to really understand what it does, but as I said, it is the same as laptop-mode-tools, may be with some more tweaks too.
Offline
Ok, I read it. A bunch of stuff, indeed. I haven't seen the directory where the logs are stored, it wouldbe usefull to know where they go, to check if every command is well executed.
Offline
There is a wiki-page that holds all necessary info.
Offline
Where ?? I googled it before asking my questions, I did not find anything.
Offline
The first resource you should check at all times, the Archlinux wiki. Specifically for powerdown: https://wiki.archlinux.org/index.php/Powerdown
Offline
That page does now describe all the functions it uses, and for that you need to use Google.
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
That page does now describe all the functions it uses, and for that you need to use Google.
Correct, but the question was if there was any documentation available for this project.
Offline
^ Ah, I misunderstood the question then I went with "what does it do?" and for that one needs the Google. Apologies
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
After taking a look at powerup and powerdown script. I think it's better to set default governnor when power-on to ondemand.
On wiki page, it's recommend to use ondemand or conservative (on laptop).
I also write a script to config powerdown, it help you customize setting.
At the present it's supporting change governor and brightness only. I'll update other feature later.
Use:
powerconfig init
to run wizard
or you cant set normally
powerconfig set up_govern ondemand
Download
https://docs.google.com/open?id=0BxF4gA … zdxNDZVZjQ
Last edited by SuperBo (2012-10-27 00:51:29)
Offline
Hey, I've updated the wiki a bit, althogh I'm not sure I like the way you have to be careful about updates. But thanks for this tool anyway!
Offline