1
0
Fork 0
Commit graph

42 commits

Author SHA1 Message Date
Jaroslav Škarvada
d8ddccb20d
powertop2tuned: fixed import exception with python2
Related to python3 conversion.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2018-01-02 16:21:27 +01:00
Jaroslav Škarvada
f563c7d756
An attempt to port Tuned to python3 and keeping it python2 compatible
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-12-21 10:20:13 +01:00
Jaroslav Škarvada
ceebc4a7c1
powertop2tuned: used UTF-8 encoding
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-03-15 14:09:50 +01:00
Jaroslav Škarvada
929c4ced7f powertop2tuned: added diacritics to credits
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-03-15 13:41:43 +01:00
Jaroslav Škarvada
4a0a965f65 powertop2tuned: fixed KeyError exception
Patch provided by Michael Mansell <michael.mansell@gmail.com>

Resolves: rhbz#1129800

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-01-09 15:51:00 +01:00
Jaroslav Škarvada
d233fd7c31 misc: bumped year in copyright to 2013
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-27 09:30:07 +01:00
Jaroslav Škarvada
c55e4385c3 powertop2tuned: fixed traceback if rewriting file instead of dir
Resolves: rhbz#963441

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 18:43:20 +01:00
Alessandro GUIDO
6af69bbff7 Fix powertop2tuned output for the audio section
Output correct setting for the audio section and make it work for ac97
based codecs too.
2013-03-29 14:21:23 +01:00
Jaroslav Škarvada
7cc8345a8e powertop2tuned: fixed parser crash on binary garbage
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-02-27 11:13:34 +01:00
Jaroslav Škarvada
9ea1613a30 powertop2tuned: added alias -e for --enable option
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-02-20 10:09:50 +01:00
Jaroslav Škarvada
717e685b04 powertop2tuned: new option -m, --merge-profile to select profile to merge
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-02-20 10:09:19 +01:00
Jaroslav Škarvada
b3f9512269 powertop2tuned: avoid circular deps in include (one level check only)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-02-15 14:00:00 +01:00
Jaroslav Škarvada
9dd7994ca6 powertop2tuned: do not crash if powertop is not installed
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-02-14 17:23:27 +01:00
Jaroslav Škarvada
88270095c5 powertop2tuned: fixed dead whitespaces 2012-12-04 17:26:24 +01:00
Jaroslav Škarvada
bfe4499580 powertop2tuned: fixed case if the current profile cannot be read 2012-12-04 15:27:43 +01:00
Jaroslav Škarvada
cce6460d00 powertop2tuned: fixed powertop execution 2012-12-04 14:41:37 +01:00
Jan Vcelak
badb1211a1 powertop2tuned: do not run powertop through shell 2012-11-30 17:13:49 +01:00
Jaroslav Škarvada
075fc62ed6 powertop2tuned: fixed output formatting 2012-11-30 14:27:02 +01:00
Jaroslav Škarvada
cb02f1a0bb powertop2tuned: removed dynamic_tuning from plugins where unsupported 2012-11-30 14:24:10 +01:00
Jan Vcelak
afaf1fc851 powertop2tuned: generate new profile without checking for the active one
fixes #31
2012-11-28 11:26:33 +01:00
Jaroslav Škarvada
c2888a700e powertop2tuned: fixed unicode handling
Resolves: rhbz#865655
2012-11-28 11:12:25 +01:00
Jaroslav Škarvada
ee34338cc2 powertop2tuned: fixed sysctl 2012-11-26 16:12:12 +01:00
Jaroslav Škarvada
f79aa754fe powertop2tuned: fixed parser to handle powertop-2.2 2012-11-26 16:08:59 +01:00
Jan Vcelak
a49f53e60f GPL headers only into executables and main module
GPL license does not require all files to have the copyright notice
and header. To save some space, I removed the headers from all files
except the executables and the main Python module.
2012-11-09 12:27:20 +01:00
Jaroslav Škarvada
7bccbc9a4e Replaced all getuid by geteuid 2012-10-31 11:00:23 +01:00
Jan Vcelak
09d20c648a run python interpret with '-Es' options 2012-10-30 11:40:29 +01:00
Jaroslav Škarvada
9ca4af0607 powertop2tuned: speedup (10 times :), outputs message 2012-10-29 16:12:48 +01:00
Jaroslav Škarvada
be98ede2b7 powertop2tuned: fixed work with localized powertop 2012-10-10 23:12:25 +02:00
Jan Kaluza
919b7b57f3 Powertop is now printing output filename into stderr, so we have to read it from there and not from stdout 2012-10-10 11:27:45 +02:00
Jan Kaluza
57349d4608 Merged fedora rawhide tuned patch 2012-10-10 11:14:00 +02:00
Jan Kaluza
67289ba5fd Fixed powertop2tuned compatibility with latest powertop 2012-06-12 12:34:27 +02:00
Jaroslav Škarvada
ef9a8702a6 powertop2tuned: fixed to read powertop 2.0 reports
Now it reads powertop 2.0 reports, but the output is
still not usable.
2012-05-16 18:53:39 +02:00
Jan Kaluza
cfed1abaa8 powertop2tuned now generates tuned profile without any command in shell script. Everything is done using the tuned plugins 2012-05-11 10:36:57 +02:00
Jan Kaluza
f5f75a0ada Parse html entities properly 2012-04-03 11:07:38 +02:00
Jaroslav Škarvada
b861cd31fc powertop2tuned: added --enable option that enables harmless tunings 2012-03-30 22:15:38 +02:00
Jaroslav Škarvada
f2fa467a12 tuned: added balanced profile and it is the default now
tuned: moved default profile into profiles-compat
2012-03-30 12:53:43 +02:00
Jaroslav Škarvada
e79e3fa0db utils: tuned_powertop_profile renamed to powertop2tuned
utils: powertop2tuned changed cmdline options and several minor fixes
tuned: removed accidentaly pushed tuned-2.0/profiles/functions
tuned: some minor modifications
2012-03-30 12:33:50 +02:00
Jaroslav Škarvada
ae3f629827 tuned: config file suffix changed to .conf
profiles: config files renamed to end with .conf
man: minor update of tuned.conf.5
Makefile: install tuned_powertop_profile.py script
2012-03-28 16:26:18 +02:00
Jan Kaluza
921faba02c Removed unsunsed powertop generator code 2012-03-14 10:23:09 +01:00
Jan Kaluza
5395ae035a fixed powertop profile generator 2012-03-14 10:10:08 +01:00
Jan Kaluza
0892480ac2 kwin-stop 2012-03-14 09:59:29 +01:00
Jan Vcelak
61d305bc3b move experimental code to "experiments" directory 2012-03-12 17:53:02 +01:00