1036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/name 2036d6a4eSMauro Carvalho ChehabDescription: 3036d6a4eSMauro Carvalho Chehab The chip name. 4036d6a4eSMauro Carvalho Chehab This should be a short, lowercase string, not containing 5036d6a4eSMauro Carvalho Chehab whitespace, dashes, or the wildcard character '*'. 6036d6a4eSMauro Carvalho Chehab This attribute represents the chip name. It is the only 7036d6a4eSMauro Carvalho Chehab mandatory attribute. 8036d6a4eSMauro Carvalho Chehab I2C devices get this attribute created automatically. 9036d6a4eSMauro Carvalho Chehab 10036d6a4eSMauro Carvalho Chehab RO 11036d6a4eSMauro Carvalho Chehab 1232b9a19aSPaul CercueilWhat: /sys/class/hwmon/hwmonX/label 1332b9a19aSPaul CercueilDescription: 1432b9a19aSPaul Cercueil A descriptive label that allows to uniquely identify a 1532b9a19aSPaul Cercueil device within the system. 1632b9a19aSPaul Cercueil The contents of the label are free-form. 1732b9a19aSPaul Cercueil 1832b9a19aSPaul Cercueil RO 1932b9a19aSPaul Cercueil 20036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/update_interval 21036d6a4eSMauro Carvalho ChehabDescription: 22036d6a4eSMauro Carvalho Chehab The interval at which the chip will update readings. 23036d6a4eSMauro Carvalho Chehab Unit: millisecond 24036d6a4eSMauro Carvalho Chehab 25036d6a4eSMauro Carvalho Chehab RW 26036d6a4eSMauro Carvalho Chehab 27036d6a4eSMauro Carvalho Chehab Some devices have a variable update rate or interval. 28036d6a4eSMauro Carvalho Chehab This attribute can be used to change it to the desired value. 29036d6a4eSMauro Carvalho Chehab 30036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_min 31036d6a4eSMauro Carvalho ChehabDescription: 32036d6a4eSMauro Carvalho Chehab Voltage min value. 33036d6a4eSMauro Carvalho Chehab 34036d6a4eSMauro Carvalho Chehab Unit: millivolt 35036d6a4eSMauro Carvalho Chehab 36036d6a4eSMauro Carvalho Chehab RW 37036d6a4eSMauro Carvalho Chehab 38036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_lcrit 39036d6a4eSMauro Carvalho ChehabDescription: 40036d6a4eSMauro Carvalho Chehab Voltage critical min value. 41036d6a4eSMauro Carvalho Chehab 42036d6a4eSMauro Carvalho Chehab Unit: millivolt 43036d6a4eSMauro Carvalho Chehab 44036d6a4eSMauro Carvalho Chehab RW 45036d6a4eSMauro Carvalho Chehab 46036d6a4eSMauro Carvalho Chehab If voltage drops to or below this limit, the system may 47036d6a4eSMauro Carvalho Chehab take drastic action such as power down or reset. At the very 48036d6a4eSMauro Carvalho Chehab least, it should report a fault. 49036d6a4eSMauro Carvalho Chehab 50036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_max 51036d6a4eSMauro Carvalho ChehabDescription: 52036d6a4eSMauro Carvalho Chehab Voltage max value. 53036d6a4eSMauro Carvalho Chehab 54036d6a4eSMauro Carvalho Chehab Unit: millivolt 55036d6a4eSMauro Carvalho Chehab 56036d6a4eSMauro Carvalho Chehab RW 57036d6a4eSMauro Carvalho Chehab 58036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_crit 59036d6a4eSMauro Carvalho ChehabDescription: 60036d6a4eSMauro Carvalho Chehab Voltage critical max value. 61036d6a4eSMauro Carvalho Chehab 62036d6a4eSMauro Carvalho Chehab Unit: millivolt 63036d6a4eSMauro Carvalho Chehab 64036d6a4eSMauro Carvalho Chehab RW 65036d6a4eSMauro Carvalho Chehab 66036d6a4eSMauro Carvalho Chehab If voltage reaches or exceeds this limit, the system may 67036d6a4eSMauro Carvalho Chehab take drastic action such as power down or reset. At the very 68036d6a4eSMauro Carvalho Chehab least, it should report a fault. 69036d6a4eSMauro Carvalho Chehab 70036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_input 71036d6a4eSMauro Carvalho ChehabDescription: 72036d6a4eSMauro Carvalho Chehab Voltage input value. 73036d6a4eSMauro Carvalho Chehab 74036d6a4eSMauro Carvalho Chehab Unit: millivolt 75036d6a4eSMauro Carvalho Chehab 76036d6a4eSMauro Carvalho Chehab RO 77036d6a4eSMauro Carvalho Chehab 78036d6a4eSMauro Carvalho Chehab Voltage measured on the chip pin. 79036d6a4eSMauro Carvalho Chehab 80036d6a4eSMauro Carvalho Chehab Actual voltage depends on the scaling resistors on the 81036d6a4eSMauro Carvalho Chehab motherboard, as recommended in the chip datasheet. 82036d6a4eSMauro Carvalho Chehab 83036d6a4eSMauro Carvalho Chehab This varies by chip and by motherboard. 84036d6a4eSMauro Carvalho Chehab Because of this variation, values are generally NOT scaled 85036d6a4eSMauro Carvalho Chehab by the chip driver, and must be done by the application. 86036d6a4eSMauro Carvalho Chehab However, some drivers (notably lm87 and via686a) 87036d6a4eSMauro Carvalho Chehab do scale, because of internal resistors built into a chip. 88036d6a4eSMauro Carvalho Chehab These drivers will output the actual voltage. Rule of 89036d6a4eSMauro Carvalho Chehab thumb: drivers should report the voltage values at the 90036d6a4eSMauro Carvalho Chehab "pins" of the chip. 91036d6a4eSMauro Carvalho Chehab 92036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_average 93036d6a4eSMauro Carvalho ChehabDescription: 94036d6a4eSMauro Carvalho Chehab Average voltage 95036d6a4eSMauro Carvalho Chehab 96036d6a4eSMauro Carvalho Chehab Unit: millivolt 97036d6a4eSMauro Carvalho Chehab 98036d6a4eSMauro Carvalho Chehab RO 99036d6a4eSMauro Carvalho Chehab 100036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_lowest 101036d6a4eSMauro Carvalho ChehabDescription: 102036d6a4eSMauro Carvalho Chehab Historical minimum voltage 103036d6a4eSMauro Carvalho Chehab 104036d6a4eSMauro Carvalho Chehab Unit: millivolt 105036d6a4eSMauro Carvalho Chehab 106036d6a4eSMauro Carvalho Chehab RO 107036d6a4eSMauro Carvalho Chehab 108036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_highest 109036d6a4eSMauro Carvalho ChehabDescription: 110036d6a4eSMauro Carvalho Chehab Historical maximum voltage 111036d6a4eSMauro Carvalho Chehab 112036d6a4eSMauro Carvalho Chehab Unit: millivolt 113036d6a4eSMauro Carvalho Chehab 114036d6a4eSMauro Carvalho Chehab RO 115036d6a4eSMauro Carvalho Chehab 116036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_reset_history 117036d6a4eSMauro Carvalho ChehabDescription: 118036d6a4eSMauro Carvalho Chehab Reset inX_lowest and inX_highest 119036d6a4eSMauro Carvalho Chehab 120036d6a4eSMauro Carvalho Chehab WO 121036d6a4eSMauro Carvalho Chehab 122036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/in_reset_history 123036d6a4eSMauro Carvalho ChehabDescription: 124036d6a4eSMauro Carvalho Chehab Reset inX_lowest and inX_highest for all sensors 125036d6a4eSMauro Carvalho Chehab 126036d6a4eSMauro Carvalho Chehab WO 127036d6a4eSMauro Carvalho Chehab 128036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_label 129036d6a4eSMauro Carvalho ChehabDescription: 130036d6a4eSMauro Carvalho Chehab Suggested voltage channel label. 131036d6a4eSMauro Carvalho Chehab 132036d6a4eSMauro Carvalho Chehab Text string 133036d6a4eSMauro Carvalho Chehab 134036d6a4eSMauro Carvalho Chehab Should only be created if the driver has hints about what 135036d6a4eSMauro Carvalho Chehab this voltage channel is being used for, and user-space 136036d6a4eSMauro Carvalho Chehab doesn't. In all other cases, the label is provided by 137036d6a4eSMauro Carvalho Chehab user-space. 138036d6a4eSMauro Carvalho Chehab 139036d6a4eSMauro Carvalho Chehab RO 140036d6a4eSMauro Carvalho Chehab 141036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_enable 142036d6a4eSMauro Carvalho ChehabDescription: 143036d6a4eSMauro Carvalho Chehab Enable or disable the sensors. 144036d6a4eSMauro Carvalho Chehab 145036d6a4eSMauro Carvalho Chehab When disabled the sensor read will return -ENODATA. 146036d6a4eSMauro Carvalho Chehab 147036d6a4eSMauro Carvalho Chehab - 1: Enable 148036d6a4eSMauro Carvalho Chehab - 0: Disable 149036d6a4eSMauro Carvalho Chehab 150036d6a4eSMauro Carvalho Chehab RW 151036d6a4eSMauro Carvalho Chehab 152036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/cpuY_vid 153036d6a4eSMauro Carvalho ChehabDescription: 154036d6a4eSMauro Carvalho Chehab CPU core reference voltage. 155036d6a4eSMauro Carvalho Chehab 156036d6a4eSMauro Carvalho Chehab Unit: millivolt 157036d6a4eSMauro Carvalho Chehab 158036d6a4eSMauro Carvalho Chehab RO 159036d6a4eSMauro Carvalho Chehab 160036d6a4eSMauro Carvalho Chehab Not always correct. 161036d6a4eSMauro Carvalho Chehab 162036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/vrm 163036d6a4eSMauro Carvalho ChehabDescription: 164036d6a4eSMauro Carvalho Chehab Voltage Regulator Module version number. 165036d6a4eSMauro Carvalho Chehab 166036d6a4eSMauro Carvalho Chehab RW (but changing it should no more be necessary) 167036d6a4eSMauro Carvalho Chehab 168036d6a4eSMauro Carvalho Chehab Originally the VRM standard version multiplied by 10, but now 169036d6a4eSMauro Carvalho Chehab an arbitrary number, as not all standards have a version 170036d6a4eSMauro Carvalho Chehab number. 171036d6a4eSMauro Carvalho Chehab 172036d6a4eSMauro Carvalho Chehab Affects the way the driver calculates the CPU core reference 173036d6a4eSMauro Carvalho Chehab voltage from the vid pins. 174036d6a4eSMauro Carvalho Chehab 175036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_rated_min 176036d6a4eSMauro Carvalho ChehabDescription: 177036d6a4eSMauro Carvalho Chehab Minimum rated voltage. 178036d6a4eSMauro Carvalho Chehab 179036d6a4eSMauro Carvalho Chehab Unit: millivolt 180036d6a4eSMauro Carvalho Chehab 181036d6a4eSMauro Carvalho Chehab RO 182036d6a4eSMauro Carvalho Chehab 183036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/inY_rated_max 184036d6a4eSMauro Carvalho ChehabDescription: 185036d6a4eSMauro Carvalho Chehab Maximum rated voltage. 186036d6a4eSMauro Carvalho Chehab 187036d6a4eSMauro Carvalho Chehab Unit: millivolt 188036d6a4eSMauro Carvalho Chehab 189036d6a4eSMauro Carvalho Chehab RO 190036d6a4eSMauro Carvalho Chehab 191036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/fanY_min 192036d6a4eSMauro Carvalho ChehabDescription: 193036d6a4eSMauro Carvalho Chehab Fan minimum value 194036d6a4eSMauro Carvalho Chehab 195036d6a4eSMauro Carvalho Chehab Unit: revolution/min (RPM) 196036d6a4eSMauro Carvalho Chehab 197036d6a4eSMauro Carvalho Chehab RW 198036d6a4eSMauro Carvalho Chehab 199036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/fanY_max 200036d6a4eSMauro Carvalho ChehabDescription: 201036d6a4eSMauro Carvalho Chehab Fan maximum value 202036d6a4eSMauro Carvalho Chehab 203036d6a4eSMauro Carvalho Chehab Unit: revolution/min (RPM) 204036d6a4eSMauro Carvalho Chehab 205036d6a4eSMauro Carvalho Chehab Only rarely supported by the hardware. 206036d6a4eSMauro Carvalho Chehab RW 207036d6a4eSMauro Carvalho Chehab 208036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/fanY_input 209036d6a4eSMauro Carvalho ChehabDescription: 210036d6a4eSMauro Carvalho Chehab Fan input value. 211036d6a4eSMauro Carvalho Chehab 212036d6a4eSMauro Carvalho Chehab Unit: revolution/min (RPM) 213036d6a4eSMauro Carvalho Chehab 214036d6a4eSMauro Carvalho Chehab RO 215036d6a4eSMauro Carvalho Chehab 216036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/fanY_div 217036d6a4eSMauro Carvalho ChehabDescription: 218036d6a4eSMauro Carvalho Chehab Fan divisor. 219036d6a4eSMauro Carvalho Chehab 220036d6a4eSMauro Carvalho Chehab Integer value in powers of two (1, 2, 4, 8, 16, 32, 64, 128). 221036d6a4eSMauro Carvalho Chehab 222036d6a4eSMauro Carvalho Chehab RW 223036d6a4eSMauro Carvalho Chehab 224036d6a4eSMauro Carvalho Chehab Some chips only support values 1, 2, 4 and 8. 225036d6a4eSMauro Carvalho Chehab Note that this is actually an internal clock divisor, which 226036d6a4eSMauro Carvalho Chehab affects the measurable speed range, not the read value. 227036d6a4eSMauro Carvalho Chehab 228036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/fanY_pulses 229036d6a4eSMauro Carvalho ChehabDescription: 230036d6a4eSMauro Carvalho Chehab Number of tachometer pulses per fan revolution. 231036d6a4eSMauro Carvalho Chehab 232036d6a4eSMauro Carvalho Chehab Integer value, typically between 1 and 4. 233036d6a4eSMauro Carvalho Chehab 234036d6a4eSMauro Carvalho Chehab RW 235036d6a4eSMauro Carvalho Chehab 236036d6a4eSMauro Carvalho Chehab This value is a characteristic of the fan connected to the 237036d6a4eSMauro Carvalho Chehab device's input, so it has to be set in accordance with the fan 238036d6a4eSMauro Carvalho Chehab model. 239036d6a4eSMauro Carvalho Chehab 240036d6a4eSMauro Carvalho Chehab Should only be created if the chip has a register to configure 241036d6a4eSMauro Carvalho Chehab the number of pulses. In the absence of such a register (and 242036d6a4eSMauro Carvalho Chehab thus attribute) the value assumed by all devices is 2 pulses 243036d6a4eSMauro Carvalho Chehab per fan revolution. 244036d6a4eSMauro Carvalho Chehab 245036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/fanY_target 246036d6a4eSMauro Carvalho ChehabDescription: 247036d6a4eSMauro Carvalho Chehab Desired fan speed 248036d6a4eSMauro Carvalho Chehab 249036d6a4eSMauro Carvalho Chehab Unit: revolution/min (RPM) 250036d6a4eSMauro Carvalho Chehab 251036d6a4eSMauro Carvalho Chehab RW 252036d6a4eSMauro Carvalho Chehab 253036d6a4eSMauro Carvalho Chehab Only makes sense if the chip supports closed-loop fan speed 254036d6a4eSMauro Carvalho Chehab control based on the measured fan speed. 255036d6a4eSMauro Carvalho Chehab 256036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/fanY_label 257036d6a4eSMauro Carvalho ChehabDescription: 258036d6a4eSMauro Carvalho Chehab Suggested fan channel label. 259036d6a4eSMauro Carvalho Chehab 260036d6a4eSMauro Carvalho Chehab Text string 261036d6a4eSMauro Carvalho Chehab 262036d6a4eSMauro Carvalho Chehab Should only be created if the driver has hints about what 263036d6a4eSMauro Carvalho Chehab this fan channel is being used for, and user-space doesn't. 264036d6a4eSMauro Carvalho Chehab In all other cases, the label is provided by user-space. 265036d6a4eSMauro Carvalho Chehab 266036d6a4eSMauro Carvalho Chehab RO 267036d6a4eSMauro Carvalho Chehab 268036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/fanY_enable 269036d6a4eSMauro Carvalho ChehabDescription: 270036d6a4eSMauro Carvalho Chehab Enable or disable the sensors. 271036d6a4eSMauro Carvalho Chehab 272036d6a4eSMauro Carvalho Chehab When disabled the sensor read will return -ENODATA. 273036d6a4eSMauro Carvalho Chehab 274036d6a4eSMauro Carvalho Chehab - 1: Enable 275036d6a4eSMauro Carvalho Chehab - 0: Disable 276036d6a4eSMauro Carvalho Chehab 277036d6a4eSMauro Carvalho Chehab RW 278036d6a4eSMauro Carvalho Chehab 279*bc7fabdeSNick HawkinsWhat: /sys/class/hwmon/hwmonX/fanY_fault 280*bc7fabdeSNick HawkinsDescription: 281*bc7fabdeSNick Hawkins Reports if a fan has reported failure. 282*bc7fabdeSNick Hawkins 283*bc7fabdeSNick Hawkins - 1: Failed 284*bc7fabdeSNick Hawkins - 0: Ok 285*bc7fabdeSNick Hawkins 286*bc7fabdeSNick Hawkins RO 287*bc7fabdeSNick Hawkins 288036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/pwmY 289036d6a4eSMauro Carvalho ChehabDescription: 290036d6a4eSMauro Carvalho Chehab Pulse width modulation fan control. 291036d6a4eSMauro Carvalho Chehab 292036d6a4eSMauro Carvalho Chehab Integer value in the range 0 to 255 293036d6a4eSMauro Carvalho Chehab 294036d6a4eSMauro Carvalho Chehab RW 295036d6a4eSMauro Carvalho Chehab 296036d6a4eSMauro Carvalho Chehab 255 is max or 100%. 297036d6a4eSMauro Carvalho Chehab 298036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/pwmY_enable 299036d6a4eSMauro Carvalho ChehabDescription: 300036d6a4eSMauro Carvalho Chehab Fan speed control method: 301036d6a4eSMauro Carvalho Chehab 302036d6a4eSMauro Carvalho Chehab - 0: no fan speed control (i.e. fan at full speed) 303036d6a4eSMauro Carvalho Chehab - 1: manual fan speed control enabled (using `pwmY`) 304036d6a4eSMauro Carvalho Chehab - 2+: automatic fan speed control enabled 305036d6a4eSMauro Carvalho Chehab 306036d6a4eSMauro Carvalho Chehab Check individual chip documentation files for automatic mode 307036d6a4eSMauro Carvalho Chehab details. 308036d6a4eSMauro Carvalho Chehab 309036d6a4eSMauro Carvalho Chehab RW 310036d6a4eSMauro Carvalho Chehab 311036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/pwmY_mode 312036d6a4eSMauro Carvalho ChehabDescription: 313036d6a4eSMauro Carvalho Chehab - 0: DC mode (direct current) 314036d6a4eSMauro Carvalho Chehab - 1: PWM mode (pulse-width modulation) 315036d6a4eSMauro Carvalho Chehab 316036d6a4eSMauro Carvalho Chehab RW 317036d6a4eSMauro Carvalho Chehab 318036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/pwmY_freq 319036d6a4eSMauro Carvalho ChehabDescription: 320036d6a4eSMauro Carvalho Chehab Base PWM frequency in Hz. 321036d6a4eSMauro Carvalho Chehab 322036d6a4eSMauro Carvalho Chehab Only possibly available when pwmN_mode is PWM, but not always 323036d6a4eSMauro Carvalho Chehab present even then. 324036d6a4eSMauro Carvalho Chehab 325036d6a4eSMauro Carvalho Chehab RW 326036d6a4eSMauro Carvalho Chehab 327036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/pwmY_auto_channels_temp 328036d6a4eSMauro Carvalho ChehabDescription: 329036d6a4eSMauro Carvalho Chehab Select which temperature channels affect this PWM output in 330036d6a4eSMauro Carvalho Chehab auto mode. 331036d6a4eSMauro Carvalho Chehab 332036d6a4eSMauro Carvalho Chehab Bitfield, 1 is temp1, 2 is temp2, 4 is temp3 etc... 333036d6a4eSMauro Carvalho Chehab Which values are possible depend on the chip used. 334036d6a4eSMauro Carvalho Chehab 335036d6a4eSMauro Carvalho Chehab RW 336036d6a4eSMauro Carvalho Chehab 337036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_pwm 338036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_temp 339036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_temp_hyst 340036d6a4eSMauro Carvalho ChehabDescription: 341036d6a4eSMauro Carvalho Chehab Define the PWM vs temperature curve. 342036d6a4eSMauro Carvalho Chehab 343036d6a4eSMauro Carvalho Chehab Number of trip points is chip-dependent. Use this for chips 344036d6a4eSMauro Carvalho Chehab which associate trip points to PWM output channels. 345036d6a4eSMauro Carvalho Chehab 346036d6a4eSMauro Carvalho Chehab RW 347036d6a4eSMauro Carvalho Chehab 348036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_auto_pointZ_pwm 349036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_auto_pointZ_temp 350036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_auto_pointZ_temp_hyst 351036d6a4eSMauro Carvalho ChehabDescription: 352036d6a4eSMauro Carvalho Chehab Define the PWM vs temperature curve. 353036d6a4eSMauro Carvalho Chehab 354036d6a4eSMauro Carvalho Chehab Number of trip points is chip-dependent. Use this for chips 355036d6a4eSMauro Carvalho Chehab which associate trip points to temperature channels. 356036d6a4eSMauro Carvalho Chehab 357036d6a4eSMauro Carvalho Chehab RW 358036d6a4eSMauro Carvalho Chehab 359036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_type 360036d6a4eSMauro Carvalho ChehabDescription: 361036d6a4eSMauro Carvalho Chehab Sensor type selection. 362036d6a4eSMauro Carvalho Chehab 363036d6a4eSMauro Carvalho Chehab Integers 1 to 6 364036d6a4eSMauro Carvalho Chehab 365036d6a4eSMauro Carvalho Chehab RW 366036d6a4eSMauro Carvalho Chehab 367036d6a4eSMauro Carvalho Chehab - 1: CPU embedded diode 368036d6a4eSMauro Carvalho Chehab - 2: 3904 transistor 369036d6a4eSMauro Carvalho Chehab - 3: thermal diode 370036d6a4eSMauro Carvalho Chehab - 4: thermistor 371036d6a4eSMauro Carvalho Chehab - 5: AMD AMDSI 372036d6a4eSMauro Carvalho Chehab - 6: Intel PECI 373036d6a4eSMauro Carvalho Chehab 374036d6a4eSMauro Carvalho Chehab Not all types are supported by all chips 375036d6a4eSMauro Carvalho Chehab 376036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_max 377036d6a4eSMauro Carvalho ChehabDescription: 378036d6a4eSMauro Carvalho Chehab Temperature max value. 379036d6a4eSMauro Carvalho Chehab 380036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius (or millivolt, see below) 381036d6a4eSMauro Carvalho Chehab 382036d6a4eSMauro Carvalho Chehab RW 383036d6a4eSMauro Carvalho Chehab 384036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_min 385036d6a4eSMauro Carvalho ChehabDescription: 386036d6a4eSMauro Carvalho Chehab Temperature min value. 387036d6a4eSMauro Carvalho Chehab 388036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 389036d6a4eSMauro Carvalho Chehab 390036d6a4eSMauro Carvalho Chehab RW 391036d6a4eSMauro Carvalho Chehab 392036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_max_hyst 393036d6a4eSMauro Carvalho ChehabDescription: 394036d6a4eSMauro Carvalho Chehab Temperature hysteresis value for max limit. 395036d6a4eSMauro Carvalho Chehab 396036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 397036d6a4eSMauro Carvalho Chehab 398036d6a4eSMauro Carvalho Chehab Must be reported as an absolute temperature, NOT a delta 399036d6a4eSMauro Carvalho Chehab from the max value. 400036d6a4eSMauro Carvalho Chehab 401036d6a4eSMauro Carvalho Chehab RW 402036d6a4eSMauro Carvalho Chehab 403036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_min_hyst 404036d6a4eSMauro Carvalho ChehabDescription: 405036d6a4eSMauro Carvalho Chehab Temperature hysteresis value for min limit. 406036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 407036d6a4eSMauro Carvalho Chehab 408036d6a4eSMauro Carvalho Chehab Must be reported as an absolute temperature, NOT a delta 409036d6a4eSMauro Carvalho Chehab from the min value. 410036d6a4eSMauro Carvalho Chehab 411036d6a4eSMauro Carvalho Chehab RW 412036d6a4eSMauro Carvalho Chehab 413036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_input 414036d6a4eSMauro Carvalho ChehabDescription: 415036d6a4eSMauro Carvalho Chehab Temperature input value. 416036d6a4eSMauro Carvalho Chehab 417036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 418036d6a4eSMauro Carvalho Chehab 419036d6a4eSMauro Carvalho Chehab RO 420036d6a4eSMauro Carvalho Chehab 421036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_crit 422036d6a4eSMauro Carvalho ChehabDescription: 423036d6a4eSMauro Carvalho Chehab Temperature critical max value, typically greater than 424036d6a4eSMauro Carvalho Chehab corresponding temp_max values. 425036d6a4eSMauro Carvalho Chehab 426036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 427036d6a4eSMauro Carvalho Chehab 428036d6a4eSMauro Carvalho Chehab RW 429036d6a4eSMauro Carvalho Chehab 430365b5d63SMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_crit_alarm 431365b5d63SMauro Carvalho ChehabDescription: 432365b5d63SMauro Carvalho Chehab Critical high temperature alarm flag. 433365b5d63SMauro Carvalho Chehab 434365b5d63SMauro Carvalho Chehab - 0: OK 435365b5d63SMauro Carvalho Chehab - 1: temperature has reached tempY_crit 436365b5d63SMauro Carvalho Chehab 437365b5d63SMauro Carvalho Chehab RW 438365b5d63SMauro Carvalho Chehab 439365b5d63SMauro Carvalho Chehab Contrary to regular alarm flags which clear themselves 440365b5d63SMauro Carvalho Chehab automatically when read, this one sticks until cleared by 441365b5d63SMauro Carvalho Chehab the user. This is done by writing 0 to the file. Writing 442365b5d63SMauro Carvalho Chehab other values is unsupported. 443365b5d63SMauro Carvalho Chehab 444036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_crit_hyst 445036d6a4eSMauro Carvalho ChehabDescription: 446036d6a4eSMauro Carvalho Chehab Temperature hysteresis value for critical limit. 447036d6a4eSMauro Carvalho Chehab 448036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 449036d6a4eSMauro Carvalho Chehab 450036d6a4eSMauro Carvalho Chehab Must be reported as an absolute temperature, NOT a delta 451036d6a4eSMauro Carvalho Chehab from the critical value. 452036d6a4eSMauro Carvalho Chehab 453036d6a4eSMauro Carvalho Chehab RW 454036d6a4eSMauro Carvalho Chehab 455036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_emergency 456036d6a4eSMauro Carvalho ChehabDescription: 457036d6a4eSMauro Carvalho Chehab Temperature emergency max value, for chips supporting more than 458036d6a4eSMauro Carvalho Chehab two upper temperature limits. Must be equal or greater than 459036d6a4eSMauro Carvalho Chehab corresponding temp_crit values. 460036d6a4eSMauro Carvalho Chehab 461036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 462036d6a4eSMauro Carvalho Chehab 463036d6a4eSMauro Carvalho Chehab RW 464036d6a4eSMauro Carvalho Chehab 465036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_emergency_hyst 466036d6a4eSMauro Carvalho ChehabDescription: 467036d6a4eSMauro Carvalho Chehab Temperature hysteresis value for emergency limit. 468036d6a4eSMauro Carvalho Chehab 469036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 470036d6a4eSMauro Carvalho Chehab 471036d6a4eSMauro Carvalho Chehab Must be reported as an absolute temperature, NOT a delta 472036d6a4eSMauro Carvalho Chehab from the emergency value. 473036d6a4eSMauro Carvalho Chehab 474036d6a4eSMauro Carvalho Chehab RW 475036d6a4eSMauro Carvalho Chehab 476036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_lcrit 477036d6a4eSMauro Carvalho ChehabDescription: 478036d6a4eSMauro Carvalho Chehab Temperature critical min value, typically lower than 479036d6a4eSMauro Carvalho Chehab corresponding temp_min values. 480036d6a4eSMauro Carvalho Chehab 481036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 482036d6a4eSMauro Carvalho Chehab 483036d6a4eSMauro Carvalho Chehab RW 484036d6a4eSMauro Carvalho Chehab 485036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_lcrit_hyst 486036d6a4eSMauro Carvalho ChehabDescription: 487036d6a4eSMauro Carvalho Chehab Temperature hysteresis value for critical min limit. 488036d6a4eSMauro Carvalho Chehab 489036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 490036d6a4eSMauro Carvalho Chehab 491036d6a4eSMauro Carvalho Chehab Must be reported as an absolute temperature, NOT a delta 492036d6a4eSMauro Carvalho Chehab from the critical min value. 493036d6a4eSMauro Carvalho Chehab 494036d6a4eSMauro Carvalho Chehab RW 495036d6a4eSMauro Carvalho Chehab 496036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_offset 497036d6a4eSMauro Carvalho ChehabDescription: 498036d6a4eSMauro Carvalho Chehab Temperature offset which is added to the temperature reading 499036d6a4eSMauro Carvalho Chehab by the chip. 500036d6a4eSMauro Carvalho Chehab 501036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 502036d6a4eSMauro Carvalho Chehab 503036d6a4eSMauro Carvalho Chehab Read/Write value. 504036d6a4eSMauro Carvalho Chehab 505036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_label 506036d6a4eSMauro Carvalho ChehabDescription: 507036d6a4eSMauro Carvalho Chehab Suggested temperature channel label. 508036d6a4eSMauro Carvalho Chehab 509036d6a4eSMauro Carvalho Chehab Text string 510036d6a4eSMauro Carvalho Chehab 511036d6a4eSMauro Carvalho Chehab Should only be created if the driver has hints about what 512036d6a4eSMauro Carvalho Chehab this temperature channel is being used for, and user-space 513036d6a4eSMauro Carvalho Chehab doesn't. In all other cases, the label is provided by 514036d6a4eSMauro Carvalho Chehab user-space. 515036d6a4eSMauro Carvalho Chehab 516036d6a4eSMauro Carvalho Chehab RO 517036d6a4eSMauro Carvalho Chehab 518036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_lowest 519036d6a4eSMauro Carvalho ChehabDescription: 520036d6a4eSMauro Carvalho Chehab Historical minimum temperature 521036d6a4eSMauro Carvalho Chehab 522036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 523036d6a4eSMauro Carvalho Chehab 524036d6a4eSMauro Carvalho Chehab RO 525036d6a4eSMauro Carvalho Chehab 526036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_highest 527036d6a4eSMauro Carvalho ChehabDescription: 528036d6a4eSMauro Carvalho Chehab Historical maximum temperature 529036d6a4eSMauro Carvalho Chehab 530036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 531036d6a4eSMauro Carvalho Chehab 532036d6a4eSMauro Carvalho Chehab RO 533036d6a4eSMauro Carvalho Chehab 534036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_reset_history 535036d6a4eSMauro Carvalho ChehabDescription: 536036d6a4eSMauro Carvalho Chehab Reset temp_lowest and temp_highest 537036d6a4eSMauro Carvalho Chehab 538036d6a4eSMauro Carvalho Chehab WO 539036d6a4eSMauro Carvalho Chehab 540036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/temp_reset_history 541036d6a4eSMauro Carvalho ChehabDescription: 542036d6a4eSMauro Carvalho Chehab Reset temp_lowest and temp_highest for all sensors 543036d6a4eSMauro Carvalho Chehab 544036d6a4eSMauro Carvalho Chehab WO 545036d6a4eSMauro Carvalho Chehab 546036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_enable 547036d6a4eSMauro Carvalho ChehabDescription: 548036d6a4eSMauro Carvalho Chehab Enable or disable the sensors. 549036d6a4eSMauro Carvalho Chehab 550036d6a4eSMauro Carvalho Chehab When disabled the sensor read will return -ENODATA. 551036d6a4eSMauro Carvalho Chehab 552036d6a4eSMauro Carvalho Chehab - 1: Enable 553036d6a4eSMauro Carvalho Chehab - 0: Disable 554036d6a4eSMauro Carvalho Chehab 555036d6a4eSMauro Carvalho Chehab RW 556036d6a4eSMauro Carvalho Chehab 557036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_rated_min 558036d6a4eSMauro Carvalho ChehabDescription: 559036d6a4eSMauro Carvalho Chehab Minimum rated temperature. 560036d6a4eSMauro Carvalho Chehab 561036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 562036d6a4eSMauro Carvalho Chehab 563036d6a4eSMauro Carvalho Chehab RO 564036d6a4eSMauro Carvalho Chehab 565036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/tempY_rated_max 566036d6a4eSMauro Carvalho ChehabDescription: 567036d6a4eSMauro Carvalho Chehab Maximum rated temperature. 568036d6a4eSMauro Carvalho Chehab 569036d6a4eSMauro Carvalho Chehab Unit: millidegree Celsius 570036d6a4eSMauro Carvalho Chehab 571036d6a4eSMauro Carvalho Chehab RO 572036d6a4eSMauro Carvalho Chehab 573036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_max 574036d6a4eSMauro Carvalho ChehabDescription: 575036d6a4eSMauro Carvalho Chehab Current max value 576036d6a4eSMauro Carvalho Chehab 577036d6a4eSMauro Carvalho Chehab Unit: milliampere 578036d6a4eSMauro Carvalho Chehab 579036d6a4eSMauro Carvalho Chehab RW 580036d6a4eSMauro Carvalho Chehab 581036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_min 582036d6a4eSMauro Carvalho ChehabDescription: 583036d6a4eSMauro Carvalho Chehab Current min value. 584036d6a4eSMauro Carvalho Chehab 585036d6a4eSMauro Carvalho Chehab Unit: milliampere 586036d6a4eSMauro Carvalho Chehab 587036d6a4eSMauro Carvalho Chehab RW 588036d6a4eSMauro Carvalho Chehab 589036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_lcrit 590036d6a4eSMauro Carvalho ChehabDescription: 591036d6a4eSMauro Carvalho Chehab Current critical low value 592036d6a4eSMauro Carvalho Chehab 593036d6a4eSMauro Carvalho Chehab Unit: milliampere 594036d6a4eSMauro Carvalho Chehab 595036d6a4eSMauro Carvalho Chehab RW 596036d6a4eSMauro Carvalho Chehab 597036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_crit 598036d6a4eSMauro Carvalho ChehabDescription: 599036d6a4eSMauro Carvalho Chehab Current critical high value. 600036d6a4eSMauro Carvalho Chehab 601036d6a4eSMauro Carvalho Chehab Unit: milliampere 602036d6a4eSMauro Carvalho Chehab 603036d6a4eSMauro Carvalho Chehab RW 604036d6a4eSMauro Carvalho Chehab 605036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_input 606036d6a4eSMauro Carvalho ChehabDescription: 607036d6a4eSMauro Carvalho Chehab Current input value 608036d6a4eSMauro Carvalho Chehab 609036d6a4eSMauro Carvalho Chehab Unit: milliampere 610036d6a4eSMauro Carvalho Chehab 611036d6a4eSMauro Carvalho Chehab RO 612036d6a4eSMauro Carvalho Chehab 613036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_average 614036d6a4eSMauro Carvalho ChehabDescription: 615036d6a4eSMauro Carvalho Chehab Average current use 616036d6a4eSMauro Carvalho Chehab 617036d6a4eSMauro Carvalho Chehab Unit: milliampere 618036d6a4eSMauro Carvalho Chehab 619036d6a4eSMauro Carvalho Chehab RO 620036d6a4eSMauro Carvalho Chehab 621036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_lowest 622036d6a4eSMauro Carvalho ChehabDescription: 623036d6a4eSMauro Carvalho Chehab Historical minimum current 624036d6a4eSMauro Carvalho Chehab 625036d6a4eSMauro Carvalho Chehab Unit: milliampere 626036d6a4eSMauro Carvalho Chehab 627036d6a4eSMauro Carvalho Chehab RO 628036d6a4eSMauro Carvalho Chehab 629036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_highest 630036d6a4eSMauro Carvalho ChehabDescription: 631036d6a4eSMauro Carvalho Chehab Historical maximum current 632036d6a4eSMauro Carvalho Chehab Unit: milliampere 633036d6a4eSMauro Carvalho Chehab RO 634036d6a4eSMauro Carvalho Chehab 635036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_reset_history 636036d6a4eSMauro Carvalho ChehabDescription: 637036d6a4eSMauro Carvalho Chehab Reset currX_lowest and currX_highest 638036d6a4eSMauro Carvalho Chehab 639036d6a4eSMauro Carvalho Chehab WO 640036d6a4eSMauro Carvalho Chehab 641036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/curr_reset_history 642036d6a4eSMauro Carvalho ChehabDescription: 643036d6a4eSMauro Carvalho Chehab Reset currX_lowest and currX_highest for all sensors 644036d6a4eSMauro Carvalho Chehab 645036d6a4eSMauro Carvalho Chehab WO 646036d6a4eSMauro Carvalho Chehab 647036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_enable 648036d6a4eSMauro Carvalho ChehabDescription: 649036d6a4eSMauro Carvalho Chehab Enable or disable the sensors. 650036d6a4eSMauro Carvalho Chehab 651036d6a4eSMauro Carvalho Chehab When disabled the sensor read will return -ENODATA. 652036d6a4eSMauro Carvalho Chehab 653036d6a4eSMauro Carvalho Chehab - 1: Enable 654036d6a4eSMauro Carvalho Chehab - 0: Disable 655036d6a4eSMauro Carvalho Chehab 656036d6a4eSMauro Carvalho Chehab RW 657036d6a4eSMauro Carvalho Chehab 658036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_rated_min 659036d6a4eSMauro Carvalho ChehabDescription: 660036d6a4eSMauro Carvalho Chehab Minimum rated current. 661036d6a4eSMauro Carvalho Chehab 662036d6a4eSMauro Carvalho Chehab Unit: milliampere 663036d6a4eSMauro Carvalho Chehab 664036d6a4eSMauro Carvalho Chehab RO 665036d6a4eSMauro Carvalho Chehab 666036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/currY_rated_max 667036d6a4eSMauro Carvalho ChehabDescription: 668036d6a4eSMauro Carvalho Chehab Maximum rated current. 669036d6a4eSMauro Carvalho Chehab 670036d6a4eSMauro Carvalho Chehab Unit: milliampere 671036d6a4eSMauro Carvalho Chehab 672036d6a4eSMauro Carvalho Chehab RO 673036d6a4eSMauro Carvalho Chehab 674036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_average 675036d6a4eSMauro Carvalho ChehabDescription: 676036d6a4eSMauro Carvalho Chehab Average power use 677036d6a4eSMauro Carvalho Chehab 678036d6a4eSMauro Carvalho Chehab Unit: microWatt 679036d6a4eSMauro Carvalho Chehab 680036d6a4eSMauro Carvalho Chehab RO 681036d6a4eSMauro Carvalho Chehab 682036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_average_interval 683036d6a4eSMauro Carvalho ChehabDescription: 684036d6a4eSMauro Carvalho Chehab Power use averaging interval. A poll 685036d6a4eSMauro Carvalho Chehab notification is sent to this file if the 686036d6a4eSMauro Carvalho Chehab hardware changes the averaging interval. 687036d6a4eSMauro Carvalho Chehab 688036d6a4eSMauro Carvalho Chehab Unit: milliseconds 689036d6a4eSMauro Carvalho Chehab 690036d6a4eSMauro Carvalho Chehab RW 691036d6a4eSMauro Carvalho Chehab 692036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_average_interval_max 693036d6a4eSMauro Carvalho ChehabDescription: 694036d6a4eSMauro Carvalho Chehab Maximum power use averaging interval 695036d6a4eSMauro Carvalho Chehab 696036d6a4eSMauro Carvalho Chehab Unit: milliseconds 697036d6a4eSMauro Carvalho Chehab 698036d6a4eSMauro Carvalho Chehab RO 699036d6a4eSMauro Carvalho Chehab 700036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_average_interval_min 701036d6a4eSMauro Carvalho ChehabDescription: 702036d6a4eSMauro Carvalho Chehab Minimum power use averaging interval 703036d6a4eSMauro Carvalho Chehab 704036d6a4eSMauro Carvalho Chehab Unit: milliseconds 705036d6a4eSMauro Carvalho Chehab 706036d6a4eSMauro Carvalho Chehab RO 707036d6a4eSMauro Carvalho Chehab 708036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_average_highest 709036d6a4eSMauro Carvalho ChehabDescription: 710036d6a4eSMauro Carvalho Chehab Historical average maximum power use 711036d6a4eSMauro Carvalho Chehab 712036d6a4eSMauro Carvalho Chehab Unit: microWatt 713036d6a4eSMauro Carvalho Chehab 714036d6a4eSMauro Carvalho Chehab RO 715036d6a4eSMauro Carvalho Chehab 716036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_average_lowest 717036d6a4eSMauro Carvalho ChehabDescription: 718036d6a4eSMauro Carvalho Chehab Historical average minimum power use 719036d6a4eSMauro Carvalho Chehab 720036d6a4eSMauro Carvalho Chehab Unit: microWatt 721036d6a4eSMauro Carvalho Chehab 722036d6a4eSMauro Carvalho Chehab RO 723036d6a4eSMauro Carvalho Chehab 724036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_average_max 725036d6a4eSMauro Carvalho ChehabDescription: 726036d6a4eSMauro Carvalho Chehab A poll notification is sent to 727036d6a4eSMauro Carvalho Chehab `powerY_average` when power use 728036d6a4eSMauro Carvalho Chehab rises above this value. 729036d6a4eSMauro Carvalho Chehab 730036d6a4eSMauro Carvalho Chehab Unit: microWatt 731036d6a4eSMauro Carvalho Chehab 732036d6a4eSMauro Carvalho Chehab RW 733036d6a4eSMauro Carvalho Chehab 734036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_average_min 735036d6a4eSMauro Carvalho ChehabDescription: 736036d6a4eSMauro Carvalho Chehab A poll notification is sent to 737036d6a4eSMauro Carvalho Chehab `powerY_average` when power use 738036d6a4eSMauro Carvalho Chehab sinks below this value. 739036d6a4eSMauro Carvalho Chehab 740036d6a4eSMauro Carvalho Chehab Unit: microWatt 741036d6a4eSMauro Carvalho Chehab 742036d6a4eSMauro Carvalho Chehab RW 743036d6a4eSMauro Carvalho Chehab 744036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_input 745036d6a4eSMauro Carvalho ChehabDescription: 746036d6a4eSMauro Carvalho Chehab Instantaneous power use 747036d6a4eSMauro Carvalho Chehab 748036d6a4eSMauro Carvalho Chehab Unit: microWatt 749036d6a4eSMauro Carvalho Chehab 750036d6a4eSMauro Carvalho Chehab RO 751036d6a4eSMauro Carvalho Chehab 752036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_input_highest 753036d6a4eSMauro Carvalho ChehabDescription: 754036d6a4eSMauro Carvalho Chehab Historical maximum power use 755036d6a4eSMauro Carvalho Chehab 756036d6a4eSMauro Carvalho Chehab Unit: microWatt 757036d6a4eSMauro Carvalho Chehab 758036d6a4eSMauro Carvalho Chehab RO 759036d6a4eSMauro Carvalho Chehab 760036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_input_lowest 761036d6a4eSMauro Carvalho ChehabDescription: 762036d6a4eSMauro Carvalho Chehab Historical minimum power use 763036d6a4eSMauro Carvalho Chehab 764036d6a4eSMauro Carvalho Chehab Unit: microWatt 765036d6a4eSMauro Carvalho Chehab 766036d6a4eSMauro Carvalho Chehab RO 767036d6a4eSMauro Carvalho Chehab 768036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_reset_history 769036d6a4eSMauro Carvalho ChehabDescription: 770036d6a4eSMauro Carvalho Chehab Reset input_highest, input_lowest, 771036d6a4eSMauro Carvalho Chehab average_highest and average_lowest. 772036d6a4eSMauro Carvalho Chehab 773036d6a4eSMauro Carvalho Chehab WO 774036d6a4eSMauro Carvalho Chehab 775036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_accuracy 776036d6a4eSMauro Carvalho ChehabDescription: 777036d6a4eSMauro Carvalho Chehab Accuracy of the power meter. 778036d6a4eSMauro Carvalho Chehab 779036d6a4eSMauro Carvalho Chehab Unit: Percent 780036d6a4eSMauro Carvalho Chehab 781036d6a4eSMauro Carvalho Chehab RO 782036d6a4eSMauro Carvalho Chehab 783036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_cap 784036d6a4eSMauro Carvalho ChehabDescription: 785036d6a4eSMauro Carvalho Chehab If power use rises above this limit, the 786036d6a4eSMauro Carvalho Chehab system should take action to reduce power use. 787036d6a4eSMauro Carvalho Chehab A poll notification is sent to this file if the 788036d6a4eSMauro Carvalho Chehab cap is changed by the hardware. The `*_cap` 789036d6a4eSMauro Carvalho Chehab files only appear if the cap is known to be 790036d6a4eSMauro Carvalho Chehab enforced by hardware. 791036d6a4eSMauro Carvalho Chehab 792036d6a4eSMauro Carvalho Chehab Unit: microWatt 793036d6a4eSMauro Carvalho Chehab 794036d6a4eSMauro Carvalho Chehab RW 795036d6a4eSMauro Carvalho Chehab 796036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_cap_hyst 797036d6a4eSMauro Carvalho ChehabDescription: 798036d6a4eSMauro Carvalho Chehab Margin of hysteresis built around capping and 799036d6a4eSMauro Carvalho Chehab notification. 800036d6a4eSMauro Carvalho Chehab 801036d6a4eSMauro Carvalho Chehab Unit: microWatt 802036d6a4eSMauro Carvalho Chehab 803036d6a4eSMauro Carvalho Chehab RW 804036d6a4eSMauro Carvalho Chehab 805036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_cap_max 806036d6a4eSMauro Carvalho ChehabDescription: 807036d6a4eSMauro Carvalho Chehab Maximum cap that can be set. 808036d6a4eSMauro Carvalho Chehab 809036d6a4eSMauro Carvalho Chehab Unit: microWatt 810036d6a4eSMauro Carvalho Chehab 811036d6a4eSMauro Carvalho Chehab RO 812036d6a4eSMauro Carvalho Chehab 813036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_cap_min 814036d6a4eSMauro Carvalho ChehabDescription: 815036d6a4eSMauro Carvalho Chehab Minimum cap that can be set. 816036d6a4eSMauro Carvalho Chehab 817036d6a4eSMauro Carvalho Chehab Unit: microWatt 818036d6a4eSMauro Carvalho Chehab 819036d6a4eSMauro Carvalho Chehab RO 820036d6a4eSMauro Carvalho Chehab 821036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_max 822036d6a4eSMauro Carvalho ChehabDescription: 823036d6a4eSMauro Carvalho Chehab Maximum power. 824036d6a4eSMauro Carvalho Chehab 825036d6a4eSMauro Carvalho Chehab Unit: microWatt 826036d6a4eSMauro Carvalho Chehab 827036d6a4eSMauro Carvalho Chehab RW 828036d6a4eSMauro Carvalho Chehab 829036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_crit 830036d6a4eSMauro Carvalho ChehabDescription: 831036d6a4eSMauro Carvalho Chehab Critical maximum power. 832036d6a4eSMauro Carvalho Chehab 833036d6a4eSMauro Carvalho Chehab If power rises to or above this limit, the 834036d6a4eSMauro Carvalho Chehab system is expected take drastic action to reduce 835036d6a4eSMauro Carvalho Chehab power consumption, such as a system shutdown or 836036d6a4eSMauro Carvalho Chehab a forced powerdown of some devices. 837036d6a4eSMauro Carvalho Chehab 838036d6a4eSMauro Carvalho Chehab Unit: microWatt 839036d6a4eSMauro Carvalho Chehab 840036d6a4eSMauro Carvalho Chehab RW 841036d6a4eSMauro Carvalho Chehab 842036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_enable 843036d6a4eSMauro Carvalho ChehabDescription: 844036d6a4eSMauro Carvalho Chehab Enable or disable the sensors. 845036d6a4eSMauro Carvalho Chehab 846036d6a4eSMauro Carvalho Chehab When disabled the sensor read will return 847036d6a4eSMauro Carvalho Chehab -ENODATA. 848036d6a4eSMauro Carvalho Chehab 849036d6a4eSMauro Carvalho Chehab - 1: Enable 850036d6a4eSMauro Carvalho Chehab - 0: Disable 851036d6a4eSMauro Carvalho Chehab 852036d6a4eSMauro Carvalho Chehab RW 853036d6a4eSMauro Carvalho Chehab 854036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_rated_min 855036d6a4eSMauro Carvalho ChehabDescription: 856036d6a4eSMauro Carvalho Chehab Minimum rated power. 857036d6a4eSMauro Carvalho Chehab 858036d6a4eSMauro Carvalho Chehab Unit: microWatt 859036d6a4eSMauro Carvalho Chehab 860036d6a4eSMauro Carvalho Chehab RO 861036d6a4eSMauro Carvalho Chehab 862036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/powerY_rated_max 863036d6a4eSMauro Carvalho ChehabDescription: 864036d6a4eSMauro Carvalho Chehab Maximum rated power. 865036d6a4eSMauro Carvalho Chehab 866036d6a4eSMauro Carvalho Chehab Unit: microWatt 867036d6a4eSMauro Carvalho Chehab 868036d6a4eSMauro Carvalho Chehab RO 869036d6a4eSMauro Carvalho Chehab 870036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/energyY_input 871036d6a4eSMauro Carvalho ChehabDescription: 872036d6a4eSMauro Carvalho Chehab Cumulative energy use 873036d6a4eSMauro Carvalho Chehab 874036d6a4eSMauro Carvalho Chehab Unit: microJoule 875036d6a4eSMauro Carvalho Chehab 876036d6a4eSMauro Carvalho Chehab RO 877036d6a4eSMauro Carvalho Chehab 878036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/energyY_enable 879036d6a4eSMauro Carvalho ChehabDescription: 880036d6a4eSMauro Carvalho Chehab Enable or disable the sensors. 881036d6a4eSMauro Carvalho Chehab 882036d6a4eSMauro Carvalho Chehab When disabled the sensor read will return 883036d6a4eSMauro Carvalho Chehab -ENODATA. 884036d6a4eSMauro Carvalho Chehab 885036d6a4eSMauro Carvalho Chehab - 1: Enable 886036d6a4eSMauro Carvalho Chehab - 0: Disable 887036d6a4eSMauro Carvalho Chehab 888036d6a4eSMauro Carvalho Chehab RW 889036d6a4eSMauro Carvalho Chehab 890036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/humidityY_input 891036d6a4eSMauro Carvalho ChehabDescription: 892036d6a4eSMauro Carvalho Chehab Humidity 893036d6a4eSMauro Carvalho Chehab 894036d6a4eSMauro Carvalho Chehab Unit: milli-percent (per cent mille, pcm) 895036d6a4eSMauro Carvalho Chehab 896036d6a4eSMauro Carvalho Chehab RO 897036d6a4eSMauro Carvalho Chehab 898036d6a4eSMauro Carvalho Chehab 899036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/humidityY_enable 900036d6a4eSMauro Carvalho ChehabDescription: 901036d6a4eSMauro Carvalho Chehab Enable or disable the sensors 902036d6a4eSMauro Carvalho Chehab 903036d6a4eSMauro Carvalho Chehab When disabled the sensor read will return 904036d6a4eSMauro Carvalho Chehab -ENODATA. 905036d6a4eSMauro Carvalho Chehab 906036d6a4eSMauro Carvalho Chehab - 1: Enable 907036d6a4eSMauro Carvalho Chehab - 0: Disable 908036d6a4eSMauro Carvalho Chehab 909036d6a4eSMauro Carvalho Chehab RW 910036d6a4eSMauro Carvalho Chehab 911036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/humidityY_rated_min 912036d6a4eSMauro Carvalho ChehabDescription: 913036d6a4eSMauro Carvalho Chehab Minimum rated humidity. 914036d6a4eSMauro Carvalho Chehab 915036d6a4eSMauro Carvalho Chehab Unit: milli-percent (per cent mille, pcm) 916036d6a4eSMauro Carvalho Chehab 917036d6a4eSMauro Carvalho Chehab RO 918036d6a4eSMauro Carvalho Chehab 919036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/humidityY_rated_max 920036d6a4eSMauro Carvalho ChehabDescription: 921036d6a4eSMauro Carvalho Chehab Maximum rated humidity. 922036d6a4eSMauro Carvalho Chehab 923036d6a4eSMauro Carvalho Chehab Unit: milli-percent (per cent mille, pcm) 924036d6a4eSMauro Carvalho Chehab 925036d6a4eSMauro Carvalho Chehab RO 926036d6a4eSMauro Carvalho Chehab 927036d6a4eSMauro Carvalho Chehab 928036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/intrusionY_alarm 929036d6a4eSMauro Carvalho ChehabDescription: 930036d6a4eSMauro Carvalho Chehab Chassis intrusion detection 931036d6a4eSMauro Carvalho Chehab 932036d6a4eSMauro Carvalho Chehab - 0: OK 933036d6a4eSMauro Carvalho Chehab - 1: intrusion detected 934036d6a4eSMauro Carvalho Chehab 935036d6a4eSMauro Carvalho Chehab RW 936036d6a4eSMauro Carvalho Chehab 937036d6a4eSMauro Carvalho Chehab Contrary to regular alarm flags which clear themselves 938036d6a4eSMauro Carvalho Chehab automatically when read, this one sticks until cleared by 939036d6a4eSMauro Carvalho Chehab the user. This is done by writing 0 to the file. Writing 940036d6a4eSMauro Carvalho Chehab other values is unsupported. 941036d6a4eSMauro Carvalho Chehab 942036d6a4eSMauro Carvalho ChehabWhat: /sys/class/hwmon/hwmonX/intrusionY_beep 943036d6a4eSMauro Carvalho ChehabDescription: 944036d6a4eSMauro Carvalho Chehab Chassis intrusion beep 945036d6a4eSMauro Carvalho Chehab 946036d6a4eSMauro Carvalho Chehab - 0: disable 947036d6a4eSMauro Carvalho Chehab - 1: enable 948036d6a4eSMauro Carvalho Chehab 949036d6a4eSMauro Carvalho Chehab RW 950f30ce040SGuenter Roeck 951f30ce040SGuenter RoeckWhat: /sys/class/hwmon/hwmonX/device/pec 952f30ce040SGuenter RoeckDescription: 953f30ce040SGuenter Roeck PEC support on I2C devices 954f30ce040SGuenter Roeck 955f30ce040SGuenter Roeck - 0, off, n: disable 956f30ce040SGuenter Roeck - 1, on, y: enable 957f30ce040SGuenter Roeck 958f30ce040SGuenter Roeck RW 959