General TC > General TC Talk
I don't get it - install TC on CF-Card / no persistency
Andreas_2009:
--- Quote from: Juanito on March 16, 2009, 06:39:27 AM ---Note that I only tested the cpufreq extension with intel speedstep processors, I'm not sure if it will work with a geode processor or not.
--- End quote ---
Cpufreq is working with the Geode processor.
I did the following manual steps:
- modprobe powernow-k7
- modprobe cpufreq-ondemand (or whatever)
- cpufreq -D
Then in an additional terminal I cat the file /proc/cpuinfo.
Before I did the a.m. commands, it showed me 1 GHz and after the commands 667MHz.
I don't know, what steps of frequency are provided, but it works somehow.
Can you give me some advice, in which file I have to place the modprobe commands and how to start cpufreq as a daemon ?
Thanks in advance,
Regards
Andreas
^thehatsrule^:
My guess is that it didn't mount successfully... (run `mount` to see all currently mounted)
Did you see the .info for cpufreq?
Juanito:
--- Quote from: Andreas_2009 on March 17, 2009, 11:45:39 AM ---Can you give me some advice, in which file I have to place the modprobe commands and how to start cpufreq as a daemon ?
--- End quote ---
You could put the following commands (from the .info file) in bootlocal.sh or in a script called from bootlocal.sh:
--- Code: ---modprobe powernow-k7
modprobe cpufreq_conservative
modprobe cpufreq_ondemand
modprobe cpufreq_powersave
modprobe cpufreq_userspace
acpid
cpufreqd
/etc/init.d/laptop-mode start
--- End code ---
Note that to see what's going on, you can use:
--- Code: ---$ cpufreq-info
--- End code ---
..and to display things in conky, you can use:
--- Code: ---[.conkyrc]
${color grey}CPU Freq: $color ${execi 60 ~/.cpufreq.sh}
${color grey}CPU Govn: $color ${execi 60 ~/.cpugov.sh}
[.cpufreq.sh]
#!/bin/sh
#
cpufreq-info -mf | tr -d '\n'
#
# EOF
[.cpugov.sh]
#!/bin/sh
#
cpufreq-info -p | awk '{printf $3}'
#
# EOF
--- End code ---
Andreas_2009:
Worked!
Geode CPU has 3 frequencies: 667MHz, 800MHz and 1000MHz (just for your information).
Worked nearly out-of-the-box in combination with conky.
The mentioned configfile (or changes on that) was not necessary, conky is already configured for showing the frequency.
Thanks for all your help.
Regards
Andreas
Juanito:
--- Quote from: Andreas_2009 on March 18, 2009, 08:57:52 AM ---..conky is already configured for showing the frequency.
--- End quote ---
Are you referring to the conky variable "freq(n)"?
I was never sure if this shows the maximum frequency a cpu is capable of rather than the frequency cpufreq is obliging a cpu use at a particular moment in time...
BTW - you might want to play with the cpufreqd config file. I noticed that my cpu will operate happily at 65degC without cpufreq loaded, but once loaded, cpufreq slows the cpu down as soon as its temperature reaches 55degC.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version