Package Details: paramano 0.71-1

Git Clone URL: https://aur.archlinux.org/paramano.git (read-only)
Package Base: paramano
Description: Docking battery monitor and CPU governer controller (fork of trayfreq)
Upstream URL: https://git.nah.nz/paramano/
Licenses: GPL
Submitter: phillid
Maintainer: phillid
Last Packager: phillid
Votes: 74
Popularity: 0.100508
First Submitted: 2014-09-27 04:47
Last Updated: 2018-06-06 09:21

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 ... Next › Last »

phillid commented on 2014-07-23 06:14

In that case, the only option at this point is for you to disable intel_pstate and let the kernel fall back on the more widely supported acpi_cpufreq module. According to [1], you can configure your bootloader to tell the kernel to disable the intel_pstate module.

It's up to you though.

[1] https://bbs.archlinux.org/viewtopic.php?pid=1272161#p1272161

ponloeil commented on 2014-07-23 06:05

And yes, driver is intel_pstate

ponloeil commented on 2014-07-23 06:03

Tried, permission refused.

phillid commented on 2014-07-23 05:57

At my end, `cpuinfo_cur_freq` is readable by root only, however I suspect you're using the intel_pstate module, so it may work at your end. Can you confirm that it is readable by non-root users by running `cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq` ? If it is readable, then I can proceed to add it as a fallback option in trayfreq.

Thanks

ponloeil commented on 2014-07-23 05:00

Change scaling_cur_freq by cpuinfo_cur_freq in getfreq.c will certainly make it run...

ponloeil commented on 2014-07-23 04:40

Like you can see, it seems only a name problem of files, certainly these changed since you developped this software, my installation is very recent and up to date.

Indeed, it detects the 8 cores this time !

ponloeil commented on 2014-07-23 04:38

$ sudo trayfreq
DEBUG: trayfreq.c:48 --- Set gettext up
DEBUG: trayfreq.c:111 --- Didn't find '/root/.trayfreq.conf'
DEBUG: config_file.c:30 --- Creating new config_file->key_file
DEBUG: config_file.c:37 --- Returning TRUE
INFO: trayfreq.c:139 --- UID: 0 GID: 0
DEBUG: trayfreq.c:147 --- Using theme /usr/share/trayfreq/themes/default
DEBUG: config_file.c:43 --- Freeing key_file with non-NULL value
DEBUG: getcore.c:40 --- Checking if core 0 exists by opening '/sys/devices/system/cpu/cpu0/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 2 exists by opening '/sys/devices/system/cpu/cpu2/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 3 exists by opening '/sys/devices/system/cpu/cpu3/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 4 exists by opening '/sys/devices/system/cpu/cpu4/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 5 exists by opening '/sys/devices/system/cpu/cpu5/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 6 exists by opening '/sys/devices/system/cpu/cpu6/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 7 exists by opening '/sys/devices/system/cpu/cpu7/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 8 exists by opening '/sys/devices/system/cpu/cpu8/cpufreq'
DEBUG: getcore.c:54 --- Found 8 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 0
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 1
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 2
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 3
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 4
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 5
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 6
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 7
DEBUG: getfreq.c:67 --- Found 0 frequencies
INFO: trayfreq_set_interface.c:35 --- Running '/usr/bin/trayfreq-set -g powersave -c 0'
DEBUG: trayfreq_set.c:118 --- Set gettext up
DEBUG: getcore.c:40 --- Checking if core 0 exists by opening '/sys/devices/system/cpu/cpu0/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 2 exists by opening '/sys/devices/system/cpu/cpu2/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 3 exists by opening '/sys/devices/system/cpu/cpu3/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 4 exists by opening '/sys/devices/system/cpu/cpu4/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 5 exists by opening '/sys/devices/system/cpu/cpu5/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 6 exists by opening '/sys/devices/system/cpu/cpu6/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 7 exists by opening '/sys/devices/system/cpu/cpu7/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 8 exists by opening '/sys/devices/system/cpu/cpu8/cpufreq'
DEBUG: getcore.c:54 --- Found 8 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 0
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 1
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 2
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 3
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 4
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 5
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 6
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 7
DEBUG: getfreq.c:67 --- Found 0 frequencies
DEBUG: trayfreq_set.c:130 --- Checking UID
DEBUG: trayfreq_set.c:103 --- Found -g with arg 'powersave'
DEBUG: trayfreq_set.c:85 --- Found -c with arg '0'
DEBUG: trayfreq_set.c:136 --- Correct number of command line arguments
DEBUG: trayfreq_set.c:139 --- -c: Yes -g: Yes -f: Yes
DEBUG: trayfreq_set.c:140 --- Core: 0
DEBUG: trayfreq_set.c:141 --- Gov : powersave
DEBUG: trayfreq_set.c:142 --- Freq: (null)
DEBUG: trayfreq_set.c:146 --- Changing governor
DEBUG: trayfreq_set.c:55 --- Writing 'powersave' to '/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor'
INFO: trayfreq_set_interface.c:35 --- Running '/usr/bin/trayfreq-set -g powersave -c 1'
DEBUG: trayfreq_set.c:118 --- Set gettext up
DEBUG: getcore.c:40 --- Checking if core 0 exists by opening '/sys/devices/system/cpu/cpu0/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 2 exists by opening '/sys/devices/system/cpu/cpu2/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 3 exists by opening '/sys/devices/system/cpu/cpu3/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 4 exists by opening '/sys/devices/system/cpu/cpu4/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 5 exists by opening '/sys/devices/system/cpu/cpu5/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 6 exists by opening '/sys/devices/system/cpu/cpu6/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 7 exists by opening '/sys/devices/system/cpu/cpu7/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 8 exists by opening '/sys/devices/system/cpu/cpu8/cpufreq'
DEBUG: getcore.c:54 --- Found 8 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 0
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 1
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 2
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 3
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 4
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 5
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 6
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 7
DEBUG: getfreq.c:67 --- Found 0 frequencies
DEBUG: trayfreq_set.c:130 --- Checking UID
DEBUG: trayfreq_set.c:103 --- Found -g with arg 'powersave'
DEBUG: trayfreq_set.c:85 --- Found -c with arg '1'
DEBUG: trayfreq_set.c:136 --- Correct number of command line arguments
DEBUG: trayfreq_set.c:139 --- -c: Yes -g: Yes -f: Yes
DEBUG: trayfreq_set.c:140 --- Core: 1
DEBUG: trayfreq_set.c:141 --- Gov : powersave
DEBUG: trayfreq_set.c:142 --- Freq: (null)
DEBUG: trayfreq_set.c:146 --- Changing governor
DEBUG: trayfreq_set.c:55 --- Writing 'powersave' to '/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor'
INFO: trayfreq_set_interface.c:35 --- Running '/usr/bin/trayfreq-set -g powersave -c 2'
DEBUG: trayfreq_set.c:118 --- Set gettext up
DEBUG: getcore.c:40 --- Checking if core 0 exists by opening '/sys/devices/system/cpu/cpu0/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 2 exists by opening '/sys/devices/system/cpu/cpu2/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 3 exists by opening '/sys/devices/system/cpu/cpu3/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 4 exists by opening '/sys/devices/system/cpu/cpu4/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 5 exists by opening '/sys/devices/system/cpu/cpu5/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 6 exists by opening '/sys/devices/system/cpu/cpu6/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 7 exists by opening '/sys/devices/system/cpu/cpu7/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 8 exists by opening '/sys/devices/system/cpu/cpu8/cpufreq'
DEBUG: getcore.c:54 --- Found 8 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 0
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 1
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 2
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 3
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 4
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 5
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 6
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 7
DEBUG: getfreq.c:67 --- Found 0 frequencies
DEBUG: trayfreq_set.c:130 --- Checking UID
DEBUG: trayfreq_set.c:103 --- Found -g with arg 'powersave'
DEBUG: trayfreq_set.c:85 --- Found -c with arg '2'
DEBUG: trayfreq_set.c:136 --- Correct number of command line arguments
DEBUG: trayfreq_set.c:139 --- -c: Yes -g: Yes -f: Yes
DEBUG: trayfreq_set.c:140 --- Core: 2
DEBUG: trayfreq_set.c:141 --- Gov : powersave
DEBUG: trayfreq_set.c:142 --- Freq: (null)
DEBUG: trayfreq_set.c:146 --- Changing governor
DEBUG: trayfreq_set.c:55 --- Writing 'powersave' to '/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor'
INFO: trayfreq_set_interface.c:35 --- Running '/usr/bin/trayfreq-set -g powersave -c 3'
DEBUG: trayfreq_set.c:118 --- Set gettext up
DEBUG: getcore.c:40 --- Checking if core 0 exists by opening '/sys/devices/system/cpu/cpu0/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 2 exists by opening '/sys/devices/system/cpu/cpu2/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 3 exists by opening '/sys/devices/system/cpu/cpu3/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 4 exists by opening '/sys/devices/system/cpu/cpu4/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 5 exists by opening '/sys/devices/system/cpu/cpu5/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 6 exists by opening '/sys/devices/system/cpu/cpu6/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 7 exists by opening '/sys/devices/system/cpu/cpu7/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 8 exists by opening '/sys/devices/system/cpu/cpu8/cpufreq'
DEBUG: getcore.c:54 --- Found 8 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 0
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 1
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 2
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 3
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 4
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 5
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 6
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 7
DEBUG: getfreq.c:67 --- Found 0 frequencies
DEBUG: trayfreq_set.c:130 --- Checking UID
DEBUG: trayfreq_set.c:103 --- Found -g with arg 'powersave'
DEBUG: trayfreq_set.c:85 --- Found -c with arg '3'
DEBUG: trayfreq_set.c:136 --- Correct number of command line arguments
DEBUG: trayfreq_set.c:139 --- -c: Yes -g: Yes -f: Yes
DEBUG: trayfreq_set.c:140 --- Core: 3
DEBUG: trayfreq_set.c:141 --- Gov : powersave
DEBUG: trayfreq_set.c:142 --- Freq: (null)
DEBUG: trayfreq_set.c:146 --- Changing governor
DEBUG: trayfreq_set.c:55 --- Writing 'powersave' to '/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor'
INFO: trayfreq_set_interface.c:35 --- Running '/usr/bin/trayfreq-set -g powersave -c 4'
DEBUG: trayfreq_set.c:118 --- Set gettext up
DEBUG: getcore.c:40 --- Checking if core 0 exists by opening '/sys/devices/system/cpu/cpu0/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 2 exists by opening '/sys/devices/system/cpu/cpu2/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 3 exists by opening '/sys/devices/system/cpu/cpu3/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 4 exists by opening '/sys/devices/system/cpu/cpu4/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 5 exists by opening '/sys/devices/system/cpu/cpu5/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 6 exists by opening '/sys/devices/system/cpu/cpu6/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 7 exists by opening '/sys/devices/system/cpu/cpu7/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 8 exists by opening '/sys/devices/system/cpu/cpu8/cpufreq'
DEBUG: getcore.c:54 --- Found 8 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 0
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 1
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 2
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 3
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 4
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 5
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 6
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 7
DEBUG: getfreq.c:67 --- Found 0 frequencies
DEBUG: trayfreq_set.c:130 --- Checking UID
DEBUG: trayfreq_set.c:103 --- Found -g with arg 'powersave'
DEBUG: trayfreq_set.c:85 --- Found -c with arg '4'
DEBUG: trayfreq_set.c:136 --- Correct number of command line arguments
DEBUG: trayfreq_set.c:139 --- -c: Yes -g: Yes -f: Yes
DEBUG: trayfreq_set.c:140 --- Core: 4
DEBUG: trayfreq_set.c:141 --- Gov : powersave
DEBUG: trayfreq_set.c:142 --- Freq: (null)
DEBUG: trayfreq_set.c:146 --- Changing governor
DEBUG: trayfreq_set.c:55 --- Writing 'powersave' to '/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor'
INFO: trayfreq_set_interface.c:35 --- Running '/usr/bin/trayfreq-set -g powersave -c 5'
DEBUG: trayfreq_set.c:118 --- Set gettext up
DEBUG: getcore.c:40 --- Checking if core 0 exists by opening '/sys/devices/system/cpu/cpu0/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 2 exists by opening '/sys/devices/system/cpu/cpu2/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 3 exists by opening '/sys/devices/system/cpu/cpu3/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 4 exists by opening '/sys/devices/system/cpu/cpu4/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 5 exists by opening '/sys/devices/system/cpu/cpu5/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 6 exists by opening '/sys/devices/system/cpu/cpu6/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 7 exists by opening '/sys/devices/system/cpu/cpu7/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 8 exists by opening '/sys/devices/system/cpu/cpu8/cpufreq'
DEBUG: getcore.c:54 --- Found 8 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 0
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 1
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 2
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 3
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 4
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 5
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 6
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 7
DEBUG: getfreq.c:67 --- Found 0 frequencies
DEBUG: trayfreq_set.c:130 --- Checking UID
DEBUG: trayfreq_set.c:103 --- Found -g with arg 'powersave'
DEBUG: trayfreq_set.c:85 --- Found -c with arg '5'
DEBUG: trayfreq_set.c:136 --- Correct number of command line arguments
DEBUG: trayfreq_set.c:139 --- -c: Yes -g: Yes -f: Yes
DEBUG: trayfreq_set.c:140 --- Core: 5
DEBUG: trayfreq_set.c:141 --- Gov : powersave
DEBUG: trayfreq_set.c:142 --- Freq: (null)
DEBUG: trayfreq_set.c:146 --- Changing governor
DEBUG: trayfreq_set.c:55 --- Writing 'powersave' to '/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor'
INFO: trayfreq_set_interface.c:35 --- Running '/usr/bin/trayfreq-set -g powersave -c 6'
DEBUG: trayfreq_set.c:118 --- Set gettext up
DEBUG: getcore.c:40 --- Checking if core 0 exists by opening '/sys/devices/system/cpu/cpu0/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 2 exists by opening '/sys/devices/system/cpu/cpu2/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 3 exists by opening '/sys/devices/system/cpu/cpu3/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 4 exists by opening '/sys/devices/system/cpu/cpu4/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 5 exists by opening '/sys/devices/system/cpu/cpu5/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 6 exists by opening '/sys/devices/system/cpu/cpu6/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 7 exists by opening '/sys/devices/system/cpu/cpu7/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 8 exists by opening '/sys/devices/system/cpu/cpu8/cpufreq'
DEBUG: getcore.c:54 --- Found 8 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 0
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 1
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 2
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 3
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 4
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 5
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 6
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 7
DEBUG: getfreq.c:67 --- Found 0 frequencies
DEBUG: trayfreq_set.c:130 --- Checking UID
DEBUG: trayfreq_set.c:103 --- Found -g with arg 'powersave'
DEBUG: trayfreq_set.c:85 --- Found -c with arg '6'
DEBUG: trayfreq_set.c:136 --- Correct number of command line arguments
DEBUG: trayfreq_set.c:139 --- -c: Yes -g: Yes -f: Yes
DEBUG: trayfreq_set.c:140 --- Core: 6
DEBUG: trayfreq_set.c:141 --- Gov : powersave
DEBUG: trayfreq_set.c:142 --- Freq: (null)
DEBUG: trayfreq_set.c:146 --- Changing governor
DEBUG: trayfreq_set.c:55 --- Writing 'powersave' to '/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor'
INFO: trayfreq_set_interface.c:35 --- Running '/usr/bin/trayfreq-set -g powersave -c 7'
DEBUG: trayfreq_set.c:118 --- Set gettext up
DEBUG: getcore.c:40 --- Checking if core 0 exists by opening '/sys/devices/system/cpu/cpu0/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 2 exists by opening '/sys/devices/system/cpu/cpu2/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 3 exists by opening '/sys/devices/system/cpu/cpu3/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 4 exists by opening '/sys/devices/system/cpu/cpu4/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 5 exists by opening '/sys/devices/system/cpu/cpu5/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 6 exists by opening '/sys/devices/system/cpu/cpu6/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 7 exists by opening '/sys/devices/system/cpu/cpu7/cpufreq'
DEBUG: getcore.c:40 --- Checking if core 8 exists by opening '/sys/devices/system/cpu/cpu8/cpufreq'
DEBUG: getcore.c:54 --- Found 8 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 0
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 1
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 2
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 3
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 4
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 5
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 6
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find freq scaling on core 7
DEBUG: getfreq.c:67 --- Found 0 frequencies
DEBUG: trayfreq_set.c:130 --- Checking UID
DEBUG: trayfreq_set.c:103 --- Found -g with arg 'powersave'
DEBUG: trayfreq_set.c:85 --- Found -c with arg '7'
DEBUG: trayfreq_set.c:136 --- Correct number of command line arguments
DEBUG: trayfreq_set.c:139 --- -c: Yes -g: Yes -f: Yes
DEBUG: trayfreq_set.c:140 --- Core: 7
DEBUG: trayfreq_set.c:141 --- Gov : powersave
DEBUG: trayfreq_set.c:142 --- Freq: (null)
DEBUG: trayfreq_set.c:146 --- Changing governor
DEBUG: trayfreq_set.c:55 --- Writing 'powersave' to '/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor'
DEBUG: tray.c:309 --- Setting icon to '/usr/share/trayfreq/themes/default/cpufreq-0.png'
DEBUG: tray.c:313 --- Setting up callbacks
DEBUG: tray.c:317 --- Adding timeout
DEBUG: tray.c:119 --- Spawning new menuDEBUG: tray.c:379 --- Showing tray
DEBUG: trayfreq.c:76 --- Showing battery info this time around
DEBUG: bat_tray.c:200 --- Attempting to open '/sys/class/power_supply/BAT0/present'
DEBUG: bat_tray.c:200 --- Attempting to open '/sys/class/power_supply/BAT1/present'
DEBUG: bat_tray.c:200 --- Attempting to open '/sys/class/power_supply/BAT2/present'
DEBUG: bat_tray.c:212 --- Fallthrough: couldn't find battery
DEBUG: bat_tray.c:132 --- Spawning new status icon
DEBUG: bat_tray.c:147 --- Showing tray
DEBUG: trayfreq.c:81 --- Passing control to Gtk
DEBUG: bat_tray.c:184 --- Fallthrough: unknown status
DEBUG: tray.c:268 --- Updating icon
DEBUG: getfreq.c:84 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq'



$ ls /sys/devices/system/cpu/cpu0/cpufreq/
affected_cpus cpuinfo_max_freq cpuinfo_transition_latency scaling_available_governors scaling_governor scaling_min_freq
cpuinfo_cur_freq cpuinfo_min_freq related_cpus scaling_driver scaling_max_freq scaling_setspeed

phillid commented on 2014-07-23 03:53

Okay, I made one last fix and I'm now confident it should detect all your cores...

ponloeil commented on 2014-07-23 03:01

Still the same problem... Huh I suppose I'll try again in a few months, I take you many time and give you much more work :D

phillid commented on 2014-07-23 02:36

Ah okay, I think I've found the bug. Your cores don't appear support frequency scaling; only preset governors, however trayfreq was (wrongly) using the presence of a frequency scaling file to test the presence of a core.
Anyway, I've updated the source code to fix this. Please try it and let me know how you go.

All the best.