# $Id$ # Do not edit! This file is automaticly generated by hwmon-inc.xsl hwmon_pcengines_apu_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_apu_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)) show_tab_header ${_HWSUPP_RT_FREQUENCY} no 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}
" show_tab_footer } hwmon_pcengines_apu () { hwmon_pcengines_apu_temp hwmon_pcengines_apu_frequency } # _oOo_