# /etc/ioline/hwmon.cf # # Copyright: 2012-2016 Guralp Systems Ltd. # Author: Laurence Withers # License: GPLv3 # # This file records which of the Linux hwmon layer's values to monitor, and # how to map them to ioline output. # # Lines to set/reset to enable monitoring [gpio] numbers = !26, !163, !168, !170 # Power controls. Prefix # with ! for active low, v to start in off state. [on_off] aux_pwrout = 169 auxb_pwrout = 171 eth_pwrout = 165 gps = 175 usb0_hvpwrout = v161 [system/temperature] sysfs_match_name = stds75 sysfs_attr = temp1_input description = System temperature scale = 0.001 [system/voltage] sysfs_match_name = ltc4151 sysfs_match_path = 3-006f sysfs_attr = in1_input description = Voltage scale = 0.001 [system/current] sysfs_match_name = ltc4151 sysfs_match_path = 3-006f sysfs_attr = curr1_input description = Current scale = 0.00005 [usb0_hvpwrout/current] sysfs_match_name = ltc4151 sysfs_match_path = 3-006f sysfs_attr = in2_input description = Current scale = 0.0025 [aux_pwrout/voltage] sysfs_match_name = ltc4151 sysfs_match_path = 3-006c sysfs_attr = in1_input description = Voltage scale = 0.001 [aux_pwrout/current] sysfs_match_name = ltc4151 sysfs_match_path = 3-006c sysfs_attr = curr1_input description = Current scale = 0.00005 [auxb_pwrout/voltage] sysfs_match_name = ltc4151 sysfs_match_path = 3-0067 sysfs_attr = in1_input description = Voltage scale = 0.001 [auxb_pwrout/current] sysfs_match_name = ltc4151 sysfs_match_path = 3-0067 sysfs_attr = curr1_input description = Current scale = 0.00005 [eth_pwrout/current] sysfs_match_name = ltc4151 sysfs_match_path = 3-006c sysfs_attr = in2_input description = Current scale = 0.0025 [gps/voltage] sysfs_match_name = ltc4151 sysfs_match_path = 3-0069 sysfs_attr = in1_input description = Voltage scale = 0.001 [gps/current] sysfs_match_name = ltc4151 sysfs_match_path = 3-0069 sysfs_attr = curr1_input description = Current scale = 0.00005 [gps/current5] sysfs_match_name = ltc4151 sysfs_match_path = 3-0069 sysfs_attr = in2_input description = 5V Current scale = 0.0025