# $Id: hwmon-gigabyte-ga-n3150n-d3v.inc 51847 2018-03-06 14:55:07Z kristov $ # Do not edit! This file is automaticly generated by hwmon-inc.xsl hwmon_gigabyte_ga_n3150n_d3v_frequency () { # cpuinfo_cur_freq fehlt bei dieser CPU N3150N und der fli4l version 4.0.0 # var1=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq` var1=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq` var1=$((var1 / 1000)) # var2=`cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq` var2=`cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq` var2=$((var2 / 1000)) # var3=`cat /sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_cur_freq` var3=`cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_cur_freq` var3=$((var3 / 1000)) # var4=`cat /sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_cur_freq` var4=`cat /sys/devices/system/cpu/cpu3/cpufreq/scaling_cur_freq` var4=$((var4 / 1000)) show_tab_header ${_HWSUPP_RT_FREQUENCY} no 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_FREQUENCY}
${_HWSUPP_RC_CPU} 0${var1}
${_HWSUPP_RC_CPU} 1${var2}
${_HWSUPP_RC_CPU} 2${var3}
${_HWSUPP_RC_CPU} 3${var4}
" show_tab_footer } hwmon_gigabyte_ga_n3150n_d3v_coretemp () { var_coretemp2=`sensors -u coretemp-isa-0000 | grep temp2_input | cut -d : -f 2` var_coretemp2=`echo ${var_coretemp2}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'` var_coretemp3=`sensors -u coretemp-isa-0000 | grep temp3_input | cut -d : -f 2` var_coretemp3=`echo ${var_coretemp3}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'` var_coretemp4=`sensors -u coretemp-isa-0000 | grep temp4_input | cut -d : -f 2` var_coretemp4=`echo ${var_coretemp4}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'` var_coretemp5=`sensors -u coretemp-isa-0000 | grep temp5_input | cut -d : -f 2` var_coretemp5=`echo ${var_coretemp5}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'` show_tab_header Core-${_HWSUPP_TEMP} no 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}$Core-${_HWSUPP_RL_TEMP}
${_HWSUPP_RC_CPU} 0${var_coretemp2}
${_HWSUPP_RC_CPU} 1${var_coretemp3}
${_HWSUPP_RC_CPU} 2${var_coretemp4}
${_HWSUPP_RC_CPU} 3${var_coretemp5}
" show_tab_footer } hwmon_gigabyte_ga_n3150n_d3v_it8628_temp () { var_temp4=`sensors -u it8628-isa-0a40 | grep temp4_input | cut -d : -f 2` var_temp4=`echo ${var_temp4}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'` var_temp1=`sensors -u it8628-isa-0a40 | grep temp1_input | cut -d : -f 2` var_temp1=`echo ${var_temp1}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'` show_tab_header MB-${_HWSUPP_TEMP} no echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "
${_HWSUPP_HWMON_SENSOR}${_HWSUPP_RL_TEMP}
${_HWSUPP_RC_CPU}${var_temp4}
${_HWSUPP_RC_SYS}${var_temp1}
" show_tab_footer } hwmon_gigabyte_ga_n3150n_d3v_it8628_fan () { var_fan1=`sensors -u it8628-isa-0a40 | grep fan1_input | cut -d : -f 2` var_fan1=`echo ${var_fan1}| sed 's/[^0-9]*\([0-9]*\).*/\1/'` var_fan2=`sensors -u it8628-isa-0a40 | grep fan2_input | cut -d : -f 2` var_fan2=`echo ${var_fan2}| sed 's/[^0-9]*\([0-9]*\).*/\1/'` show_tab_header MB-${_HWSUPP_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}${var_fan1}
${_HWSUPP_RC_MB}${var_fan2}
" show_tab_footer } hwmon_gigabyte_ga_n3150n_d3v_it8628_voltage () { var_in0=`sensors -u it8628-isa-0a40 | grep in0_input | cut -d : -f 2` var_in0=`echo ${var_in0}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var_in1=`sensors -u it8628-isa-0a40 | grep in1_input | cut -d : -f 2` var_in1=`echo ${var_in1}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var_in2=`sensors -u it8628-isa-0a40 | grep in2_input | cut -d : -f 2` var_in2=`echo ${var_in2}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var_in3=`sensors -u it8628-isa-0a40 | grep in3_input | cut -d : -f 2` var_in3=`echo ${var_in3}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var_in4=`sensors -u it8628-isa-0a40 | grep in4_input | cut -d : -f 2` var_in4=`echo ${var_in4}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var_in5=`sensors -u it8628-isa-0a40 | grep in5_input | cut -d : -f 2` var_in5=`echo ${var_in5}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var_in6=`sensors -u it8628-isa-0a40 | grep in6_input | cut -d : -f 2` var_in6=`echo ${var_in6}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var_in7=`sensors -u it8628-isa-0a40 | grep in7_input | cut -d : -f 2` var_in7=`echo ${var_in7}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` var_in8=`sensors -u it8628-isa-0a40 | grep in8_input | cut -d : -f 2` var_in8=`echo ${var_in8}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{3\}\).*/\1.\2/'` show_tab_header MB-${_HWSUPP_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}${var_in0}
${_HWSUPP_RC_V3_3}${var_in1}
${_HWSUPP_RC_V12}${var_in2}
${_HWSUPP_RC_V5}${var_in3}
CPU_VAXG${var_in4}
Vnn${var_in5}
VCC DDR3${var_in6}
${_HWSUPP_RC_V3SB}${var_in7}
${_HWSUPP_RC_VBAT}${var_in8}
" show_tab_footer } hwmon_gigabyte_ga_n3150n_d3v () { hwmon_gigabyte_ga_n3150n_d3v_frequency hwmon_gigabyte_ga_n3150n_d3v_coretemp hwmon_gigabyte_ga_n3150n_d3v_it8628_temp hwmon_gigabyte_ga_n3150n_d3v_it8628_fan hwmon_gigabyte_ga_n3150n_d3v_it8628_voltage } # _oOo_