| 139 | | A Linux 'Hardware Monitor' ({{{hwmon}}}) driver is available which provides simple standard access to the above temperature/voltage registers via sysfs. The arguments have been given labels which define the source. The user can “cat” the label to determine the source. |
| | 139 | A Linux 'Hardware Monitor' ({{{hwmon}}}) driver is available which provides simple standard access to the above temperature/voltage registers via sysfs. The arguments have been given labels which define the source. The user can “cat” the label to determine the source. The hwmon will be found in /sys/class/hwmon/hwmonx where x is a number. Check all hwmonx directories, starting with x=0 and then x=1 until identifying the correct hwmon where the values are contained. |
| | 140 | |
| | 141 | Example ran on a GW62xx using Ubuntu Bionic: |
| | 142 | {{{ |
| | 143 | cd /sys/class/hwmon/hwmon1 |
| | 144 | for F in *;do echo -n $F: ;cat $F;done |
| | 145 | in0_input:2762 |
| | 146 | in0_label:vdd_bat |
| | 147 | in10_input:1483 |
| | 148 | in10_label:vdd_1p5 |
| | 149 | in11_input:4998 |
| | 150 | in11_label:vdd_an1 |
| | 151 | in12_input:3258 |
| | 152 | in12_label:vdd_gsc |
| | 153 | in1_input:491 |
| | 154 | in1_label:fan_tach |
| | 155 | in2_input:15468 |
| | 156 | in2_label:vdd_vin |
| | 157 | in3_input:4943 |
| | 158 | in3_label:vdd_5p0 |
| | 159 | in4_input:3398 |
| | 160 | in4_label:vdd_3p3 |
| | 161 | in5_input:2456 |
| | 162 | in5_label:vdd_2p5 |
| | 163 | in6_input:867 |
| | 164 | in6_label:vdd_core |
| | 165 | in7_input:907 |
| | 166 | in7_label:vdd_0p9 |
| | 167 | in8_input:979 |
| | 168 | in8_label:vdd_1p0 |
| | 169 | in9_input:1189 |
| | 170 | in9_label:vdd_1p2 |
| | 171 | name:gsc_hwmon |
| | 172 | pwm1_auto_point1_pwm:127 |
| | 173 | pwm1_auto_point1_temp:30000 |
| | 174 | pwm1_auto_point2_pwm:153 |
| | 175 | pwm1_auto_point2_temp:33000 |
| | 176 | pwm1_auto_point3_pwm:178 |
| | 177 | pwm1_auto_point3_temp:36000 |
| | 178 | pwm1_auto_point4_pwm:204 |
| | 179 | pwm1_auto_point4_temp:39000 |
| | 180 | pwm1_auto_point5_pwm:229 |
| | 181 | pwm1_auto_point5_temp:42000 |
| | 182 | pwm1_auto_point6_pwm:255 |
| | 183 | pwm1_auto_point6_temp:45000 |
| | 184 | temp1_input:46000 |
| | 185 | temp1_label:temp |
| | 186 | }}} |