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.103950
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 9 ... Next › Last »

ponloeil commented on 2014-07-23 02:08

$ ls /sys/devices/system/cpu/cpu?/cpufreq
/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

/sys/devices/system/cpu/cpu1/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

/sys/devices/system/cpu/cpu2/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

/sys/devices/system/cpu/cpu3/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

/sys/devices/system/cpu/cpu4/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

/sys/devices/system/cpu/cpu5/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

/sys/devices/system/cpu/cpu6/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

/sys/devices/system/cpu/cpu7/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 01:51

It's beginning to look like your CPU doesn't support frequency scaling/governors. Or the Linux kernel isn't exposing this functionality. One last ditch attempt to see what's going on: `ls /sys/devices/system/cpu/cpu?/cpufreq`

phillid commented on 2014-07-23 01:48

It's beginning to look like your CPU doesn't support frequency scaling/governors. Or the Linux kernel isn't exposing this functionality. One last ditch attempt to see what's going on: `ls /sys/devices/system/cpu/cpu?/`

ponloeil commented on 2014-07-23 01:33

Yes I think that trayfreq crashes en close entirely, ps -aux | grep tray don't show any trayfreq process tunning after doing sudo trayfreq.

$ 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:41 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq'
DEBUG: getcore.c:53 --- Found 1 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find gov on core 0
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:41 --- Checking if core 1 exists by opening '/sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq'
DEBUG: getcore.c:53 --- Found 1 cores
DEBUG: getfreq.c:109 --- Couldn't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies'
DEBUG: getfreq.c:48 --- Couldn't find gov on core 0
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'
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'

phillid commented on 2014-07-22 23:58

Thanks for that. When you say "the icon appears and disapears after 1 second", do you mean that trayfreq crashes and closes entirely?
It sounds like trayfreq isn't counting the right number of cores when it starts. If I could get you to temporarily use this PKGBUILD [1] to make trayfreq, it should give us lots of debug information as it counts the cores when trayfreq is run from the command line. If you could the debug info into a pastebin or something and link to it, it'd be a great help :)

[1] http://batchbin.ueuo.com/assets/download/source/tfal/debug-pkgbuild/PKGBUILD

Thanks

ponloeil commented on 2014-07-22 22:32

Result (for the 'sudo trayfreq' command) : the icon appears and disapears after 1 second. The command changed only cpu0 to powersave (like mentionned by INFO).

ponloeil commented on 2014-07-22 22:24

'sudo trayfreq-set -g powersave -c 0' ok. Changed CPU0 to powersave. Others (1,2,3,4,5,6 and 7) stay at performance.

After putting 'default=powersave' in /etc/trayfreq at trayfreq startup for all cores :

$ sudo trayfreq
INFO: trayfreq.c:139 --- UID: 0 GID: 0
INFO: trayfreq_set_interface.c:35 --- Running '/usr/bin/trayfreq-set -g powersave -c 0'

Result : the icon appears and disapears after 1 second. The command changed only cpu0 to powersave (like mentionned by INFO).

$ ls /sys/devices/system/cpu/ | grep cpu
cpu0
cpu1
cpu2
cpu3
cpu4
cpu5
cpu6
cpu7
cpuidle

phillid commented on 2014-07-22 03:59

The error message from trayfreq-set, "Warning: running as UID 1000, not 0" tells us that you're running trayfreq-set as a non-root user, and because of this, it won't have permission to change the governor. Try running `trayfreq-set` through sudo (something like `sudo trayfreq-set -g powersave -c 0`) and post the output of that.

If it fails, please post the output of `ls /sys/devices/system/cpu/ | grep cpu`.

ponloeil commented on 2014-07-22 01:51

More informations : ran as simple user or as root, trayfreq change only the core 0 of the 8 cores (0-7). It's like if the program try to put all the cores at the state configured in file, but only can change the first one before having a bug trying the second one (core 1).

For information, I only have powersave and performance (don't know why), and configured the files for switching only these 2.

Anyway, that's why at startup I found core 0 powersave and all others performance.

ponloeil commented on 2014-07-22 00:51

ran trayfreq, not trayfreqexit... This was for terminal the "exit"