https://bugzilla.novell.com/show_bug.cgi?id=841818 https://bugzilla.novell.com/show_bug.cgi?id=841818#c10 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|epistemepromeneur@free.fr | --- Comment #10 from Petr Gajdos <pgajdos@suse.com> 2013-10-24 11:51:19 UTC --- Ok, I have packaged it in home:pgajdos/gkrellm-cpufreq, unfortunately it isn't working for me. The reason probably is, that this plugin depends on cpufrequtils, which seems not to work with newer kernels[0]. Try [0]> cpufreq-info -f [234]> cpufreq-info -w [234]> sudo cpufreq-info -w 3570000 cpufreq-info -f calls cpufreq_get_freq_kernel() and cpufreq-info -w calls cpufreq_get_freq_hardware(). The latter succeeds when run with root privileges: #include <cpufreq.h> #include <stdio.h> int main(void) { int i; fprintf(stderr, "kernel "); for (i = 0; i < 8; i++) fprintf(stderr, "%d:%d ", i, cpufreq_get_freq_kernel(i)); fprintf(stderr, "\nhardware "); for (i = 0; i < 8; i++) fprintf(stderr, "%d:%d ", i, cpufreq_get_freq_hardware(i)); fprintf(stderr, "\n"); return 0; } [0]> gcc -o cpufreq cpufreq.c -lcpufreq [0]> ./cpufreq kernel 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 hardware 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 [0]> sudo ./cpufreq kernel 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 hardware 0:3366000 1:3774000 2:3570000 3:3128000 4:3060000 5:2142000 6:3638000 7:3536000 With cpupower, situation is similar: [0]> gcc -o cpufreq cpufreq.c -lcpupower [0]> ./cpufreq kernel 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 hardware 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 [0]> sudo ./cpufreq kernel 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 hardware 0:2686000 1:3842000 2:2720000 3:3094000 4:2176000 5:3876000 6:3876000 7:3842000 [0] https://bugs.launchpad.net/indicator-cpufreq/+bug/1177826 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.