# $Id$
# Do not edit! This file is automaticly generated by hwmon-inc.xsl
hwmon_supermicro_pdsme_temp ()
{
var1=`sensors -u adm1027-isa-0000 | grep temp1_input | cut -d : -f 2`
var1=`echo ${var1}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'`
var2=`sensors -u adm1027-isa-0000 | grep temp2_input | cut -d : -f 2`
var2=`echo ${var2}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'`
var3=`sensors -u adm1027-isa-0000 | grep temp3_input | cut -d : -f 2`
var3=`echo ${var3}| 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_SYS} | "
echo "${var2} | "
echo "
"
echo ""
echo "VRM | "
echo "${var3} | "
echo "
"
echo "
"
show_tab_footer
}
hwmon_supermicro_pdsme_voltage ()
{
var1=`sensors -u adm1027-isa-0000 | grep in0_input | cut -d : -f 2`
var1=`echo ${var1}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'`
var2=`sensors -u adm1027-isa-0000 | grep in2_input | cut -d : -f 2`
var2=`echo ${var2}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'`
var3=`sensors -u adm1027-isa-0000 | grep in3_input | cut -d : -f 2`
var3=`echo ${var3}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'`
var4=`sensors -u adm1027-isa-0000 | grep in4_input | cut -d : -f 2`
var4=`echo ${var4}| 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 "DDR ${_HWSUPP_RC_VCC} | "
echo "${var1} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_V3SB} | "
echo "${var2} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_V5} | "
echo "${var3} | "
echo "
"
echo ""
echo "DDR Vtt | "
echo "${var4} | "
echo "
"
echo "
"
show_tab_footer
}
hwmon_supermicro_pdsme_fanspeed ()
{
var1=`sensors -u adm1027-isa-0000 | grep fan1_input | cut -d : -f 2`
var1=`echo ${var1}| sed 's/[^0-9]*\([0-9]*\).*/\1/'`
var2=`sensors -u adm1027-isa-0000 | grep fan2_input | cut -d : -f 2`
var2=`echo ${var2}| sed 's/[^0-9]*\([0-9]*\).*/\1/'`
var3=`sensors -u adm1027-isa-0000 | grep fan3_input | cut -d : -f 2`
var3=`echo ${var3}| sed 's/[^0-9]*\([0-9]*\).*/\1/'`
var4=`sensors -u adm1027-isa-0000 | grep fan4_input | cut -d : -f 2`
var4=`echo ${var4}| sed 's/[^0-9]*\([0-9]*\).*/\1/'`
show_tab_header ${_HWSUPP_RT_FANSPEED} no
echo ""
echo ""
echo "${_HWSUPP_HWMON_SENSOR} | "
echo "${_HWSUPP_RL_FANSPEED} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_CPU} | "
echo "${var1} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_CHASSIS} 2 | "
echo "${var2} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_CHASSIS} 3 | "
echo "${var3} | "
echo "
"
echo ""
echo "${_HWSUPP_RC_CHASSIS} 6 | "
echo "${var4} | "
echo "
"
echo "
"
show_tab_footer
}
hwmon_supermicro_pdsme ()
{
hwmon_supermicro_pdsme_temp
hwmon_supermicro_pdsme_voltage
hwmon_supermicro_pdsme_fanspeed
}
# _oOo_