# $Id$ # Do not edit! This file is automaticly generated by hwmon-inc.xsl hwmon_soekris_net5501_temp () { var1=`sensors -u pc87366-isa-6620 | grep temp3_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_soekris_net5501_voltage () { var1=`sensors -u pc87366-isa-6620 | grep in1_input | cut -d : -f 2` var1=`echo ${var1}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var2=`sensors -u pc87366-isa-6620 | grep in2_input | cut -d : -f 2` var2=`echo ${var2}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var3=`sensors -u pc87366-isa-6620 | grep in3_input | cut -d : -f 2` var3=`echo ${var3}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var4=`sensors -u pc87366-isa-6620 | grep in4_input | cut -d : -f 2` var4=`echo ${var4}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var5=`sensors -u pc87366-isa-6620 | grep in5_input | cut -d : -f 2` var5=`echo ${var5}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var6=`sensors -u pc87366-isa-6620 | grep in7_input | cut -d : -f 2` var6=`echo ${var6}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var7=`sensors -u pc87366-isa-6620 | grep in8_input | cut -d : -f 2` var7=`echo ${var7}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var8=`sensors -u pc87366-isa-6620 | grep in9_input | cut -d : -f 2` var8=`echo ${var8}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var9=`sensors -u pc87366-isa-6620 | grep in10_input | cut -d : -f 2` var9=`echo ${var9}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` show_tab_header ${_HWSUPP_RT_VOLTAGE} no echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" 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_VOLTAGE}
${_HWSUPP_RC_VCORE}${var1}
${_HWSUPP_RC_VCC}${var2}
${_HWSUPP_RC_VPWR}${var3}
${_HWSUPP_RC_V12}${var4}
${_HWSUPP_RC_V12M}${var5}
Vsb${var6}
Vdd${var7}
${_HWSUPP_RC_VBAT}${var8}
AVdd${var9}
" show_tab_footer } hwmon_soekris_net5501_frequency () { var1=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq` var1=$((var1 / 1000)) show_tab_header ${_HWSUPP_RT_FREQUENCY} no echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "
${_HWSUPP_HWMON_SENSOR}${_HWSUPP_RL_FREQUENCY}
${_HWSUPP_RC_CPU} 0${var1}
" show_tab_footer } hwmon_soekris_net5501 () { hwmon_soekris_net5501_temp hwmon_soekris_net5501_voltage hwmon_soekris_net5501_frequency } # _oOo_