# $Id$ # Do not edit! This file is automaticly generated by hwmon-inc.xsl hwmon_pcengines_apu2_temp () { var1=`sensors -u k10temp-pci-00c3 | grep temp1_input | cut -d : -f 2` var1=`echo ${var1}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'` show_tab_header ${_HWSUPP_RT_TEMP} no echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "
${_HWSUPP_HWMON_SENSOR}${_HWSUPP_RL_TEMP}
${_HWSUPP_RC_CPU}${var1}
" show_tab_footer } hwmon_pcengines_apu2_frequency () { var1=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq` var1=$((var1 / 1000)) var2=`cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq` var2=$((var2 / 1000)) var3=`cat /sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_cur_freq` var3=$((var3 / 1000)) var4=`cat /sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_cur_freq` var4=$((var4 / 1000)) show_tab_header ${_HWSUPP_RT_FREQUENCY} no echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "
${_HWSUPP_HWMON_SENSOR}${_HWSUPP_RL_FREQUENCY}
${_HWSUPP_RC_CPU} 0${var1}
${_HWSUPP_RC_CPU} 1${var2}
${_HWSUPP_RC_CPU} 2${var3}
${_HWSUPP_RC_CPU} 3${var4}
" show_tab_footer } hwmon_pcengines_apu2 () { hwmon_pcengines_apu2_temp hwmon_pcengines_apu2_frequency } # _oOo_