# $Id$
# Do not edit! This file is automaticly generated by hwmon-inc.xsl
hwmon_winnet_pc680_temp ()
{
var1=`sensors -u w83697hf-isa-0290 | grep temp2_input | cut -d : -f 2`
var1=`echo ${var1}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'`
var2=`sensors -u w83697hf-isa-0290 | grep temp1_input | cut -d : -f 2`
var2=`echo ${var2}| 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 ""
echo "${_HWSUPP_RC_MB} | "
echo "${var2} | "
echo "
"
echo "
"
show_tab_footer
}
hwmon_winnet_pc680_voltage ()
{
var1=`sensors -u w83697hf-isa-0290 | grep in0_input | cut -d : -f 2`
var1=`echo ${var1}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'`
var2=`sensors -u w83697hf-isa-0290 | grep in2_input | cut -d : -f 2`
var2=`echo ${var2}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'`
var3=`sensors -u w83697hf-isa-0290 | grep in3_input | cut -d : -f 2`
var3=`echo ${var3}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'`
var4=`sensors -u w83697hf-isa-0290 | grep in7_input | cut -d : -f 2`
var4=`echo ${var4}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'`
var5=`sensors -u w83697hf-isa-0290 | grep in8_input | cut -d : -f 2`
var5=`echo ${var5}| 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_V3_3} | "
echo "${var2} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_V5} | "
echo "${var3} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_VCC} | "
echo "${var4} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_VBAT} | "
echo "${var5} | "
echo "
"
echo "
"
show_tab_footer
}
hwmon_winnet_pc680_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_winnet_pc680 ()
{
hwmon_winnet_pc680_temp
hwmon_winnet_pc680_voltage
hwmon_winnet_pc680_frequency
}
# _oOo_