# $Id$ # Do not edit! This file is automaticly generated by hwmon-inc.xsl hwmon_commell_le575_temp () { var1=`sensors -u w83627thf-isa-0290 | grep temp1_input | cut -d : -f 2` var1=`echo ${var1}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'` var2=`sensors -u w83627thf-isa-0290 | grep temp2_input | cut -d : -f 2` var2=`echo ${var2}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'` var3=`sensors -u coretemp-isa-0000 | grep temp2_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 "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "
${_HWSUPP_HWMON_SENSOR}${_HWSUPP_RL_TEMP}
${_HWSUPP_RC_CPU}${var1}
${_HWSUPP_RC_MB}${var2}
${_HWSUPP_RC_CORE} 0${var3}
" show_tab_footer } hwmon_commell_le575_voltage () { var1=`sensors -u w83627thf-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 w83627thf-isa-0290 | grep in1_input | cut -d : -f 2` var2=`echo ${var2}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var3=`sensors -u w83627thf-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 w83627thf-isa-0290 | grep in4_input | cut -d : -f 2` var4=`echo ${var4}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var5=`sensors -u w83627thf-isa-0290 | grep in7_input | cut -d : -f 2` var5=`echo ${var5}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var6=`sensors -u w83627thf-isa-0290 | grep in8_input | cut -d : -f 2` var6=`echo ${var6}| 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 "
${_HWSUPP_HWMON_SENSOR}${_HWSUPP_RL_VOLTAGE}
${_HWSUPP_RC_VCORE}${var1}
${_HWSUPP_RC_V12}${var2}
${_HWSUPP_RC_VCC}${var3}
${_HWSUPP_RC_V3_3}${var4}
${_HWSUPP_RC_V5SB}${var5}
${_HWSUPP_RC_VBAT}${var6}
" show_tab_footer } hwmon_commell_le575_fanspeed () { var1=`sensors -u w83627thf-isa-0290 | grep fan1_input | cut -d : -f 2` var1=`echo ${var1}| sed 's/[^0-9]*\([0-9]*\).*/\1/'` var2=`sensors -u w83627thf-isa-0290 | grep fan2_input | cut -d : -f 2` var2=`echo ${var2}| sed 's/[^0-9]*\([0-9]*\).*/\1/'` show_tab_header ${_HWSUPP_RT_FANSPEED} no echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "
${_HWSUPP_HWMON_SENSOR}${_HWSUPP_RL_FANSPEED}
${_HWSUPP_RC_CPU}${var1}
${_HWSUPP_RC_MB}${var2}
" show_tab_footer } hwmon_commell_le575_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_commell_le575 () { hwmon_commell_le575_temp hwmon_commell_le575_voltage hwmon_commell_le575_fanspeed hwmon_commell_le575_frequency } # _oOo_