# $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 "${_HWSUPP_HWMON_SENSOR} | "
echo "${_HWSUPP_RL_TEMP} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_CPU} | "
echo "${var1} | "
echo "
"
echo "
"
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 "${_HWSUPP_HWMON_SENSOR} | "
echo "${_HWSUPP_RL_VOLTAGE} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_VCORE} | "
echo "${var1} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_VCC} | "
echo "${var2} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_VPWR} | "
echo "${var3} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_V12} | "
echo "${var4} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_V12M} | "
echo "${var5} | "
echo "
"
echo ""
echo "Vsb | "
echo "${var6} | "
echo "
"
echo ""
echo "Vdd | "
echo "${var7} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_VBAT} | "
echo "${var8} | "
echo "
"
echo ""
echo "AVdd | "
echo "${var9} | "
echo "
"
echo "
"
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 "${_HWSUPP_HWMON_SENSOR} | "
echo "${_HWSUPP_RL_FREQUENCY} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_CPU} 0 | "
echo "${var1} | "
echo "
"
echo "
"
show_tab_footer
}
hwmon_soekris_net5501 ()
{
hwmon_soekris_net5501_temp
hwmon_soekris_net5501_voltage
hwmon_soekris_net5501_frequency
}
# _oOo_