Re: Suggestion: Please change rights of cpufreq-set by default
On Tue, 17 Jan 2012 21:08:36 +0100, Hans-J. Ullrich wrote: Mmm, and why not center the attention in the application which is not acting as it should? If something is wrong at powerdevil's side it should be corrected/fixed/solved/debugged there. Hi Camaleon, the point is: powerdevil got this function earlier, but the developers somehow decided, to tak away this option. They added the opportunity, to execute a script, when a profile is changed. Then request KDE developers for that function's back again :-) Powerdevil is the user-space utility that allows to control this in an easily manner. However, I liked it more with the older functions, but whne they decide so, they might got theire reasons, sigh. Sure, but... is still powerdevil capable to do the same it did? If yes but fails → bug, if not → wishlist bug ;-) So, I took the way using a script. Sure, but IMO this should be properly handled by the users (all users) not just you. And users should not have to make scripts and change file permissions for tweaking their CPU power management/throttling. Ah, and I do not want a solution with sudo! I am searching for a common solution, a solution for all. Of course, this should be a one-click option, like it has been since always. Besides, I AM in group powerdev, but the script MUST be executed as root. There's nothing bad for the script option, but I would prefer a wide solution for the problematic: all users will benefit from it. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jfc0gv$rsl$9...@dough.gmane.org
Re: Suggestion: Please change rights of cpufreq-set by default
Mmm, and why not center the attention in the application which is not acting as it should? If something is wrong at powerdevil's side it should be corrected/fixed/solved/debugged there. Greetings, Hi Camaleon, the point is: powerdevil got this function earlier, but the developers somehow decided, to tak away this option. They added the opportunity, to execute a script, when a profile is changed. However, I liked it more with the older functions, but whne they decide so, they might got theire reasons, sigh. So, I took the way using a script. Ah, and I do not want a solution with sudo! I am searching for a common solution, a solution for all. Besides, I AM in group powerdev, but the script MUST be executed as root. Greetings Hans -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201201172108.37215.hans.ullr...@loop.de
Re: Suggestion: Please change rights of cpufreq-set by default
On 15/01/12 21:48, Ralf Madorf wrote: PolicyKit It would help if you could give a little more insightpointers on how to do it? ;) Lorenzo. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f13e90e.7000...@gmail.com
Re: Suggestion: Please change rights of cpufreq-set by default
On Sun, 15 Jan 2012 20:36:58 +0100, Hans-J. Ullrich wrote: As powerdevil changed last year, I found no way, to force the cpu to stay at lowest clock, even when a process wants full speed. My solution at the moment is, to use cpufreq-set, where I can set the cpu to lowest frequency. But there is a problem: I can do this only as user root! (...) But changing the default rights IMO is no good way, except the maintainers decide so, too. Any other suggestions? Mmm, and why not center the attention in the application which is not acting as it should? If something is wrong at powerdevil's side it should be corrected/fixed/solved/debugged there. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jf1rht$odu$1...@dough.gmane.org
Suggestion: Please change rights of cpufreq-set by default
Dear list, please let me describe a little problem. As powerdevil changed last year, I found no way, to force the cpu to stay at lowest clock, even when a process wants full speed. My solution at the moment is, to use cpufreq-set, where I can set the cpu to lowest frequency. But there is a problem: I can do this only as user root! A solution is, to change the rights of the binary of cpufreq-set to i.e. group powerdevil and sticky bit to user root. So anyone in the group powerdevil (and of course the application powerdevil, too), will be able to change the cpu clock. As powerdevil is able to execute a script, I can use a script in the profiles, either to set the clock to min or in another profile to max. But changing the default rights IMO is no good way, except the maintainers decide so, too. Any other suggestions? Best regards Hans -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201201152037.00070.hans.ullr...@loop.de
Re: Suggestion: Please change rights of cpufreq-set by default
On Sun, Jan 15, 2012 at 08:36:58PM +0100, Hans-J. Ullrich wrote: Dear list, please let me describe a little problem. As powerdevil changed last year, I found no way, to force the cpu to stay at lowest clock, even when a process wants full speed. My solution at the moment is, to use cpufreq-set, where I can set the cpu to lowest frequency. But there is a problem: I can do this only as user root! A solution is, to change the rights of the binary of cpufreq-set to i.e. group powerdevil and sticky bit to user root. So anyone in the group powerdevil (and of course the application powerdevil, too), will be able to change the cpu clock. As powerdevil is able to execute a script, I can use a script in the profiles, either to set the clock to min or in another profile to max. But changing the default rights IMO is no good way, except the maintainers decide so, too. Any other suggestions? Put your user in the powerdev group. (I think I did this many years back and it works for me.) Set up sudo for your user with cpufreq-set in the sudoers file. -- Regards, Freeman Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the answer. --Somebody -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120115212033.GA3449@Deneb.office
Re: Suggestion: Please change rights of cpufreq-set by default
PolicyKit -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1326664115.1178.189.camel@localhost.localdomain