Package Details: paramano 0.72-1

Git Clone URL: https://aur.archlinux.org/paramano.git (read-only, click to copy)
Package Base: paramano
Description: Docking battery monitor and CPU governer controller (fork of trayfreq)
Upstream URL: https://gitlab.com/dphillips/paramano
Licenses: GPL
Submitter: phillid
Maintainer: phillid
Last Packager: phillid
Votes: 74
Popularity: 0.000000
First Submitted: 2014-09-27 04:47 (UTC)
Last Updated: 2022-11-19 08:18 (UTC)

Latest Comments

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

ponloeil commented on 2014-07-23 01:33 (UTC)

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 (UTC)

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:24 (UTC)

'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 (UTC)

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 (UTC)

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 (UTC)

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

ponloeil commented on 2014-07-22 00:47 (UTC)

Hi phillid. Installed today, 2 times, first from community, but floating point exception. Reinstall after reading you from aur, same issue. (note that with the pacman command I can't found it after reinstall with yaourt... Don't understand why) Running trayfreqexit as simple user with your_user_name ALL = NOPASSWD: /usr/bin/trayfreq-set added the icon come and go quickly. Same issue as root. With simple user : $ trayfreq-set -g powersave -c 0 Warning: running as UID 1000, not 0 ERREUR: Peut pas écrire à /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor (ERROR: Can't write ...) Thanks for help

phillid commented on 2014-05-10 23:38 (UTC)

Thanks, done.

hannibal_l commented on 2014-05-10 13:12 (UTC)

Edit sha1sums, please. It has to be 99a0c6985300eff338e1095ab8cd06a4540264b5