Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/class/hwmon/hwmonX/name
0002 Description:
0003                 The chip name.
0004                 This should be a short, lowercase string, not containing
0005                 whitespace, dashes, or the wildcard character '*'.
0006                 This attribute represents the chip name. It is the only
0007                 mandatory attribute.
0008                 I2C devices get this attribute created automatically.
0009 
0010                 RO
0011 
0012 What:           /sys/class/hwmon/hwmonX/label
0013 Description:
0014                 A descriptive label that allows to uniquely identify a
0015                 device within the system.
0016                 The contents of the label are free-form.
0017 
0018                 RO
0019 
0020 What:           /sys/class/hwmon/hwmonX/update_interval
0021 Description:
0022                 The interval at which the chip will update readings.
0023                 Unit: millisecond
0024 
0025                 RW
0026 
0027                 Some devices have a variable update rate or interval.
0028                 This attribute can be used to change it to the desired value.
0029 
0030 What:           /sys/class/hwmon/hwmonX/inY_min
0031 Description:
0032                 Voltage min value.
0033 
0034                 Unit: millivolt
0035 
0036                 RW
0037 
0038 What:           /sys/class/hwmon/hwmonX/inY_lcrit
0039 Description:
0040                 Voltage critical min value.
0041 
0042                 Unit: millivolt
0043 
0044                 RW
0045 
0046                 If voltage drops to or below this limit, the system may
0047                 take drastic action such as power down or reset. At the very
0048                 least, it should report a fault.
0049 
0050 What:           /sys/class/hwmon/hwmonX/inY_max
0051 Description:
0052                 Voltage max value.
0053 
0054                 Unit: millivolt
0055 
0056                 RW
0057 
0058 What:           /sys/class/hwmon/hwmonX/inY_crit
0059 Description:
0060                 Voltage critical max value.
0061 
0062                 Unit: millivolt
0063 
0064                 RW
0065 
0066                 If voltage reaches or exceeds this limit, the system may
0067                 take drastic action such as power down or reset. At the very
0068                 least, it should report a fault.
0069 
0070 What:           /sys/class/hwmon/hwmonX/inY_input
0071 Description:
0072                 Voltage input value.
0073 
0074                 Unit: millivolt
0075 
0076                 RO
0077 
0078                 Voltage measured on the chip pin.
0079 
0080                 Actual voltage depends on the scaling resistors on the
0081                 motherboard, as recommended in the chip datasheet.
0082 
0083                 This varies by chip and by motherboard.
0084                 Because of this variation, values are generally NOT scaled
0085                 by the chip driver, and must be done by the application.
0086                 However, some drivers (notably lm87 and via686a)
0087                 do scale, because of internal resistors built into a chip.
0088                 These drivers will output the actual voltage. Rule of
0089                 thumb: drivers should report the voltage values at the
0090                 "pins" of the chip.
0091 
0092 What:           /sys/class/hwmon/hwmonX/inY_average
0093 Description:
0094                 Average voltage
0095 
0096                 Unit: millivolt
0097 
0098                 RO
0099 
0100 What:           /sys/class/hwmon/hwmonX/inY_lowest
0101 Description:
0102                 Historical minimum voltage
0103 
0104                 Unit: millivolt
0105 
0106                 RO
0107 
0108 What:           /sys/class/hwmon/hwmonX/inY_highest
0109 Description:
0110                 Historical maximum voltage
0111 
0112                 Unit: millivolt
0113 
0114                 RO
0115 
0116 What:           /sys/class/hwmon/hwmonX/inY_reset_history
0117 Description:
0118                 Reset inX_lowest and inX_highest
0119 
0120                 WO
0121 
0122 What:           /sys/class/hwmon/hwmonX/in_reset_history
0123 Description:
0124                 Reset inX_lowest and inX_highest for all sensors
0125 
0126                 WO
0127 
0128 What:           /sys/class/hwmon/hwmonX/inY_label
0129 Description:
0130                 Suggested voltage channel label.
0131 
0132                 Text string
0133 
0134                 Should only be created if the driver has hints about what
0135                 this voltage channel is being used for, and user-space
0136                 doesn't. In all other cases, the label is provided by
0137                 user-space.
0138 
0139                 RO
0140 
0141 What:           /sys/class/hwmon/hwmonX/inY_enable
0142 Description:
0143                 Enable or disable the sensors.
0144 
0145                 When disabled the sensor read will return -ENODATA.
0146 
0147                 - 1: Enable
0148                 - 0: Disable
0149 
0150                 RW
0151 
0152 What:           /sys/class/hwmon/hwmonX/cpuY_vid
0153 Description:
0154                 CPU core reference voltage.
0155 
0156                 Unit: millivolt
0157 
0158                 RO
0159 
0160                 Not always correct.
0161 
0162 What:           /sys/class/hwmon/hwmonX/vrm
0163 Description:
0164                 Voltage Regulator Module version number.
0165 
0166                 RW (but changing it should no more be necessary)
0167 
0168                 Originally the VRM standard version multiplied by 10, but now
0169                 an arbitrary number, as not all standards have a version
0170                 number.
0171 
0172                 Affects the way the driver calculates the CPU core reference
0173                 voltage from the vid pins.
0174 
0175 What:           /sys/class/hwmon/hwmonX/inY_rated_min
0176 Description:
0177                 Minimum rated voltage.
0178 
0179                 Unit: millivolt
0180 
0181                 RO
0182 
0183 What:           /sys/class/hwmon/hwmonX/inY_rated_max
0184 Description:
0185                 Maximum rated voltage.
0186 
0187                 Unit: millivolt
0188 
0189                 RO
0190 
0191 What:           /sys/class/hwmon/hwmonX/fanY_min
0192 Description:
0193                 Fan minimum value
0194 
0195                 Unit: revolution/min (RPM)
0196 
0197                 RW
0198 
0199 What:           /sys/class/hwmon/hwmonX/fanY_max
0200 Description:
0201                 Fan maximum value
0202 
0203                 Unit: revolution/min (RPM)
0204 
0205                 Only rarely supported by the hardware.
0206                 RW
0207 
0208 What:           /sys/class/hwmon/hwmonX/fanY_input
0209 Description:
0210                 Fan input value.
0211 
0212                 Unit: revolution/min (RPM)
0213 
0214                 RO
0215 
0216 What:           /sys/class/hwmon/hwmonX/fanY_div
0217 Description:
0218                 Fan divisor.
0219 
0220                 Integer value in powers of two (1, 2, 4, 8, 16, 32, 64, 128).
0221 
0222                 RW
0223 
0224                 Some chips only support values 1, 2, 4 and 8.
0225                 Note that this is actually an internal clock divisor, which
0226                 affects the measurable speed range, not the read value.
0227 
0228 What:           /sys/class/hwmon/hwmonX/fanY_pulses
0229 Description:
0230                 Number of tachometer pulses per fan revolution.
0231 
0232                 Integer value, typically between 1 and 4.
0233 
0234                 RW
0235 
0236                 This value is a characteristic of the fan connected to the
0237                 device's input, so it has to be set in accordance with the fan
0238                 model.
0239 
0240                 Should only be created if the chip has a register to configure
0241                 the number of pulses. In the absence of such a register (and
0242                 thus attribute) the value assumed by all devices is 2 pulses
0243                 per fan revolution.
0244 
0245 What:           /sys/class/hwmon/hwmonX/fanY_target
0246 Description:
0247                 Desired fan speed
0248 
0249                 Unit: revolution/min (RPM)
0250 
0251                 RW
0252 
0253                 Only makes sense if the chip supports closed-loop fan speed
0254                 control based on the measured fan speed.
0255 
0256 What:           /sys/class/hwmon/hwmonX/fanY_label
0257 Description:
0258                 Suggested fan channel label.
0259 
0260                 Text string
0261 
0262                 Should only be created if the driver has hints about what
0263                 this fan channel is being used for, and user-space doesn't.
0264                 In all other cases, the label is provided by user-space.
0265 
0266                 RO
0267 
0268 What:           /sys/class/hwmon/hwmonX/fanY_enable
0269 Description:
0270                 Enable or disable the sensors.
0271 
0272                 When disabled the sensor read will return -ENODATA.
0273 
0274                 - 1: Enable
0275                 - 0: Disable
0276 
0277                 RW
0278 
0279 What:           /sys/class/hwmon/hwmonX/pwmY
0280 Description:
0281                 Pulse width modulation fan control.
0282 
0283                 Integer value in the range 0 to 255
0284 
0285                 RW
0286 
0287                 255 is max or 100%.
0288 
0289 What:           /sys/class/hwmon/hwmonX/pwmY_enable
0290 Description:
0291                 Fan speed control method:
0292 
0293                 - 0: no fan speed control (i.e. fan at full speed)
0294                 - 1: manual fan speed control enabled (using `pwmY`)
0295                 - 2+: automatic fan speed control enabled
0296 
0297                 Check individual chip documentation files for automatic mode
0298                 details.
0299 
0300                 RW
0301 
0302 What:           /sys/class/hwmon/hwmonX/pwmY_mode
0303 Description:
0304                 - 0: DC mode (direct current)
0305                 - 1: PWM mode (pulse-width modulation)
0306 
0307                 RW
0308 
0309 What:           /sys/class/hwmon/hwmonX/pwmY_freq
0310 Description:
0311                 Base PWM frequency in Hz.
0312 
0313                 Only possibly available when pwmN_mode is PWM, but not always
0314                 present even then.
0315 
0316                 RW
0317 
0318 What:           /sys/class/hwmon/hwmonX/pwmY_auto_channels_temp
0319 Description:
0320                 Select which temperature channels affect this PWM output in
0321                 auto mode.
0322 
0323                 Bitfield, 1 is temp1, 2 is temp2, 4 is temp3 etc...
0324                 Which values are possible depend on the chip used.
0325 
0326                 RW
0327 
0328 What:           /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_pwm
0329 What:           /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_temp
0330 What:           /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_temp_hyst
0331 Description:
0332                 Define the PWM vs temperature curve.
0333 
0334                 Number of trip points is chip-dependent. Use this for chips
0335                 which associate trip points to PWM output channels.
0336 
0337                 RW
0338 
0339 What:           /sys/class/hwmon/hwmonX/tempY_auto_pointZ_pwm
0340 What:           /sys/class/hwmon/hwmonX/tempY_auto_pointZ_temp
0341 What:           /sys/class/hwmon/hwmonX/tempY_auto_pointZ_temp_hyst
0342 Description:
0343                 Define the PWM vs temperature curve.
0344 
0345                 Number of trip points is chip-dependent. Use this for chips
0346                 which associate trip points to temperature channels.
0347 
0348                 RW
0349 
0350 What:           /sys/class/hwmon/hwmonX/tempY_type
0351 Description:
0352                 Sensor type selection.
0353 
0354                 Integers 1 to 6
0355 
0356                 RW
0357 
0358                 - 1: CPU embedded diode
0359                 - 2: 3904 transistor
0360                 - 3: thermal diode
0361                 - 4: thermistor
0362                 - 5: AMD AMDSI
0363                 - 6: Intel PECI
0364 
0365                 Not all types are supported by all chips
0366 
0367 What:           /sys/class/hwmon/hwmonX/tempY_max
0368 Description:
0369                 Temperature max value.
0370 
0371                 Unit: millidegree Celsius (or millivolt, see below)
0372 
0373                 RW
0374 
0375 What:           /sys/class/hwmon/hwmonX/tempY_min
0376 Description:
0377                 Temperature min value.
0378 
0379                 Unit: millidegree Celsius
0380 
0381                 RW
0382 
0383 What:           /sys/class/hwmon/hwmonX/tempY_max_hyst
0384 Description:
0385                 Temperature hysteresis value for max limit.
0386 
0387                 Unit: millidegree Celsius
0388 
0389                 Must be reported as an absolute temperature, NOT a delta
0390                 from the max value.
0391 
0392                 RW
0393 
0394 What:           /sys/class/hwmon/hwmonX/tempY_min_hyst
0395 Description:
0396                 Temperature hysteresis value for min limit.
0397                 Unit: millidegree Celsius
0398 
0399                 Must be reported as an absolute temperature, NOT a delta
0400                 from the min value.
0401 
0402                 RW
0403 
0404 What:           /sys/class/hwmon/hwmonX/tempY_input
0405 Description:
0406                 Temperature input value.
0407 
0408                 Unit: millidegree Celsius
0409 
0410                 RO
0411 
0412 What:           /sys/class/hwmon/hwmonX/tempY_crit
0413 Description:
0414                 Temperature critical max value, typically greater than
0415                 corresponding temp_max values.
0416 
0417                 Unit: millidegree Celsius
0418 
0419                 RW
0420 
0421 What:           /sys/class/hwmon/hwmonX/tempY_crit_alarm
0422 Description:
0423                 Critical high temperature alarm flag.
0424 
0425                 - 0: OK
0426                 - 1: temperature has reached tempY_crit
0427 
0428                 RW
0429 
0430                 Contrary to regular alarm flags which clear themselves
0431                 automatically when read, this one sticks until cleared by
0432                 the user. This is done by writing 0 to the file. Writing
0433                 other values is unsupported.
0434 
0435 What:           /sys/class/hwmon/hwmonX/tempY_crit_hyst
0436 Description:
0437                 Temperature hysteresis value for critical limit.
0438 
0439                 Unit: millidegree Celsius
0440 
0441                 Must be reported as an absolute temperature, NOT a delta
0442                 from the critical value.
0443 
0444                 RW
0445 
0446 What:           /sys/class/hwmon/hwmonX/tempY_emergency
0447 Description:
0448                 Temperature emergency max value, for chips supporting more than
0449                 two upper temperature limits. Must be equal or greater than
0450                 corresponding temp_crit values.
0451 
0452                 Unit: millidegree Celsius
0453 
0454                 RW
0455 
0456 What:           /sys/class/hwmon/hwmonX/tempY_emergency_hyst
0457 Description:
0458                 Temperature hysteresis value for emergency limit.
0459 
0460                 Unit: millidegree Celsius
0461 
0462                 Must be reported as an absolute temperature, NOT a delta
0463                 from the emergency value.
0464 
0465                 RW
0466 
0467 What:           /sys/class/hwmon/hwmonX/tempY_lcrit
0468 Description:
0469                 Temperature critical min value, typically lower than
0470                 corresponding temp_min values.
0471 
0472                 Unit: millidegree Celsius
0473 
0474                 RW
0475 
0476 What:           /sys/class/hwmon/hwmonX/tempY_lcrit_hyst
0477 Description:
0478                 Temperature hysteresis value for critical min limit.
0479 
0480                 Unit: millidegree Celsius
0481 
0482                 Must be reported as an absolute temperature, NOT a delta
0483                 from the critical min value.
0484 
0485                 RW
0486 
0487 What:           /sys/class/hwmon/hwmonX/tempY_offset
0488 Description:
0489                 Temperature offset which is added to the temperature reading
0490                 by the chip.
0491 
0492                 Unit: millidegree Celsius
0493 
0494                 Read/Write value.
0495 
0496 What:           /sys/class/hwmon/hwmonX/tempY_label
0497 Description:
0498                 Suggested temperature channel label.
0499 
0500                 Text string
0501 
0502                 Should only be created if the driver has hints about what
0503                 this temperature channel is being used for, and user-space
0504                 doesn't. In all other cases, the label is provided by
0505                 user-space.
0506 
0507                 RO
0508 
0509 What:           /sys/class/hwmon/hwmonX/tempY_lowest
0510 Description:
0511                 Historical minimum temperature
0512 
0513                 Unit: millidegree Celsius
0514 
0515                 RO
0516 
0517 What:           /sys/class/hwmon/hwmonX/tempY_highest
0518 Description:
0519                 Historical maximum temperature
0520 
0521                 Unit: millidegree Celsius
0522 
0523                 RO
0524 
0525 What:           /sys/class/hwmon/hwmonX/tempY_reset_history
0526 Description:
0527                 Reset temp_lowest and temp_highest
0528 
0529                 WO
0530 
0531 What:           /sys/class/hwmon/hwmonX/temp_reset_history
0532 Description:
0533                 Reset temp_lowest and temp_highest for all sensors
0534 
0535                 WO
0536 
0537 What:           /sys/class/hwmon/hwmonX/tempY_enable
0538 Description:
0539                 Enable or disable the sensors.
0540 
0541                 When disabled the sensor read will return -ENODATA.
0542 
0543                 - 1: Enable
0544                 - 0: Disable
0545 
0546                 RW
0547 
0548 What:           /sys/class/hwmon/hwmonX/tempY_rated_min
0549 Description:
0550                 Minimum rated temperature.
0551 
0552                 Unit: millidegree Celsius
0553 
0554                 RO
0555 
0556 What:           /sys/class/hwmon/hwmonX/tempY_rated_max
0557 Description:
0558                 Maximum rated temperature.
0559 
0560                 Unit: millidegree Celsius
0561 
0562                 RO
0563 
0564 What:           /sys/class/hwmon/hwmonX/currY_max
0565 Description:
0566                 Current max value
0567 
0568                 Unit: milliampere
0569 
0570                 RW
0571 
0572 What:           /sys/class/hwmon/hwmonX/currY_min
0573 Description:
0574                 Current min value.
0575 
0576                 Unit: milliampere
0577 
0578                 RW
0579 
0580 What:           /sys/class/hwmon/hwmonX/currY_lcrit
0581 Description:
0582                 Current critical low value
0583 
0584                 Unit: milliampere
0585 
0586                 RW
0587 
0588 What:           /sys/class/hwmon/hwmonX/currY_crit
0589 Description:
0590                 Current critical high value.
0591 
0592                 Unit: milliampere
0593 
0594                 RW
0595 
0596 What:           /sys/class/hwmon/hwmonX/currY_input
0597 Description:
0598                 Current input value
0599 
0600                 Unit: milliampere
0601 
0602                 RO
0603 
0604 What:           /sys/class/hwmon/hwmonX/currY_average
0605 Description:
0606                 Average current use
0607 
0608                 Unit: milliampere
0609 
0610                 RO
0611 
0612 What:           /sys/class/hwmon/hwmonX/currY_lowest
0613 Description:
0614                 Historical minimum current
0615 
0616                 Unit: milliampere
0617 
0618                 RO
0619 
0620 What:           /sys/class/hwmon/hwmonX/currY_highest
0621 Description:
0622                 Historical maximum current
0623                 Unit: milliampere
0624                 RO
0625 
0626 What:           /sys/class/hwmon/hwmonX/currY_reset_history
0627 Description:
0628                 Reset currX_lowest and currX_highest
0629 
0630                 WO
0631 
0632 What:           /sys/class/hwmon/hwmonX/curr_reset_history
0633 Description:
0634                 Reset currX_lowest and currX_highest for all sensors
0635 
0636                 WO
0637 
0638 What:           /sys/class/hwmon/hwmonX/currY_enable
0639 Description:
0640                 Enable or disable the sensors.
0641 
0642                 When disabled the sensor read will return -ENODATA.
0643 
0644                 - 1: Enable
0645                 - 0: Disable
0646 
0647                 RW
0648 
0649 What:           /sys/class/hwmon/hwmonX/currY_rated_min
0650 Description:
0651                 Minimum rated current.
0652 
0653                 Unit: milliampere
0654 
0655                 RO
0656 
0657 What:           /sys/class/hwmon/hwmonX/currY_rated_max
0658 Description:
0659                 Maximum rated current.
0660 
0661                 Unit: milliampere
0662 
0663                 RO
0664 
0665 What:           /sys/class/hwmon/hwmonX/powerY_average
0666 Description:
0667                 Average power use
0668 
0669                 Unit: microWatt
0670 
0671                 RO
0672 
0673 What:           /sys/class/hwmon/hwmonX/powerY_average_interval
0674 Description:
0675                 Power use averaging interval.  A poll
0676                 notification is sent to this file if the
0677                 hardware changes the averaging interval.
0678 
0679                 Unit: milliseconds
0680 
0681                 RW
0682 
0683 What:           /sys/class/hwmon/hwmonX/powerY_average_interval_max
0684 Description:
0685                 Maximum power use averaging interval
0686 
0687                 Unit: milliseconds
0688 
0689                 RO
0690 
0691 What:           /sys/class/hwmon/hwmonX/powerY_average_interval_min
0692 Description:
0693                 Minimum power use averaging interval
0694 
0695                 Unit: milliseconds
0696 
0697                 RO
0698 
0699 What:           /sys/class/hwmon/hwmonX/powerY_average_highest
0700 Description:
0701                 Historical average maximum power use
0702 
0703                 Unit: microWatt
0704 
0705                 RO
0706 
0707 What:           /sys/class/hwmon/hwmonX/powerY_average_lowest
0708 Description:
0709                 Historical average minimum power use
0710 
0711                 Unit: microWatt
0712 
0713                 RO
0714 
0715 What:           /sys/class/hwmon/hwmonX/powerY_average_max
0716 Description:
0717                 A poll notification is sent to
0718                 `powerY_average` when power use
0719                 rises above this value.
0720 
0721                 Unit: microWatt
0722 
0723                 RW
0724 
0725 What:           /sys/class/hwmon/hwmonX/powerY_average_min
0726 Description:
0727                 A poll notification is sent to
0728                 `powerY_average` when power use
0729                 sinks below this value.
0730 
0731                 Unit: microWatt
0732 
0733                 RW
0734 
0735 What:           /sys/class/hwmon/hwmonX/powerY_input
0736 Description:
0737                 Instantaneous power use
0738 
0739                 Unit: microWatt
0740 
0741                 RO
0742 
0743 What:           /sys/class/hwmon/hwmonX/powerY_input_highest
0744 Description:
0745                 Historical maximum power use
0746 
0747                 Unit: microWatt
0748 
0749                 RO
0750 
0751 What:           /sys/class/hwmon/hwmonX/powerY_input_lowest
0752 Description:
0753                 Historical minimum power use
0754 
0755                 Unit: microWatt
0756 
0757                 RO
0758 
0759 What:           /sys/class/hwmon/hwmonX/powerY_reset_history
0760 Description:
0761                 Reset input_highest, input_lowest,
0762                 average_highest and average_lowest.
0763 
0764                 WO
0765 
0766 What:           /sys/class/hwmon/hwmonX/powerY_accuracy
0767 Description:
0768                 Accuracy of the power meter.
0769 
0770                 Unit: Percent
0771 
0772                 RO
0773 
0774 What:           /sys/class/hwmon/hwmonX/powerY_cap
0775 Description:
0776                 If power use rises above this limit, the
0777                 system should take action to reduce power use.
0778                 A poll notification is sent to this file if the
0779                 cap is changed by the hardware.  The `*_cap`
0780                 files only appear if the cap is known to be
0781                 enforced by hardware.
0782 
0783                 Unit: microWatt
0784 
0785                 RW
0786 
0787 What:           /sys/class/hwmon/hwmonX/powerY_cap_hyst
0788 Description:
0789                 Margin of hysteresis built around capping and
0790                 notification.
0791 
0792                 Unit: microWatt
0793 
0794                 RW
0795 
0796 What:           /sys/class/hwmon/hwmonX/powerY_cap_max
0797 Description:
0798                 Maximum cap that can be set.
0799 
0800                 Unit: microWatt
0801 
0802                 RO
0803 
0804 What:           /sys/class/hwmon/hwmonX/powerY_cap_min
0805 Description:
0806                 Minimum cap that can be set.
0807 
0808                 Unit: microWatt
0809 
0810                 RO
0811 
0812 What:           /sys/class/hwmon/hwmonX/powerY_max
0813 Description:
0814                 Maximum power.
0815 
0816                 Unit: microWatt
0817 
0818                 RW
0819 
0820 What:           /sys/class/hwmon/hwmonX/powerY_crit
0821 Description:
0822                 Critical maximum power.
0823 
0824                 If power rises to or above this limit, the
0825                 system is expected take drastic action to reduce
0826                 power consumption, such as a system shutdown or
0827                 a forced powerdown of some devices.
0828 
0829                 Unit: microWatt
0830 
0831                 RW
0832 
0833 What:           /sys/class/hwmon/hwmonX/powerY_enable
0834 Description:
0835                 Enable or disable the sensors.
0836 
0837                 When disabled the sensor read will return
0838                 -ENODATA.
0839 
0840                 - 1: Enable
0841                 - 0: Disable
0842 
0843                 RW
0844 
0845 What:           /sys/class/hwmon/hwmonX/powerY_rated_min
0846 Description:
0847                 Minimum rated power.
0848 
0849                 Unit: microWatt
0850 
0851                 RO
0852 
0853 What:           /sys/class/hwmon/hwmonX/powerY_rated_max
0854 Description:
0855                 Maximum rated power.
0856 
0857                 Unit: microWatt
0858 
0859                 RO
0860 
0861 What:           /sys/class/hwmon/hwmonX/energyY_input
0862 Description:
0863                 Cumulative energy use
0864 
0865                 Unit: microJoule
0866 
0867                 RO
0868 
0869 What:           /sys/class/hwmon/hwmonX/energyY_enable
0870 Description:
0871                 Enable or disable the sensors.
0872 
0873                 When disabled the sensor read will return
0874                 -ENODATA.
0875 
0876                 - 1: Enable
0877                 - 0: Disable
0878 
0879                 RW
0880 
0881 What:           /sys/class/hwmon/hwmonX/humidityY_input
0882 Description:
0883                 Humidity
0884 
0885                 Unit: milli-percent (per cent mille, pcm)
0886 
0887                 RO
0888 
0889 
0890 What:           /sys/class/hwmon/hwmonX/humidityY_enable
0891 Description:
0892                 Enable or disable the sensors
0893 
0894                 When disabled the sensor read will return
0895                 -ENODATA.
0896 
0897                 - 1: Enable
0898                 - 0: Disable
0899 
0900                 RW
0901 
0902 What:           /sys/class/hwmon/hwmonX/humidityY_rated_min
0903 Description:
0904                 Minimum rated humidity.
0905 
0906                 Unit: milli-percent (per cent mille, pcm)
0907 
0908                 RO
0909 
0910 What:           /sys/class/hwmon/hwmonX/humidityY_rated_max
0911 Description:
0912                 Maximum rated humidity.
0913 
0914                 Unit: milli-percent (per cent mille, pcm)
0915 
0916                 RO
0917 
0918 
0919 What:           /sys/class/hwmon/hwmonX/intrusionY_alarm
0920 Description:
0921                 Chassis intrusion detection
0922 
0923                 - 0: OK
0924                 - 1: intrusion detected
0925 
0926                 RW
0927 
0928                 Contrary to regular alarm flags which clear themselves
0929                 automatically when read, this one sticks until cleared by
0930                 the user. This is done by writing 0 to the file. Writing
0931                 other values is unsupported.
0932 
0933 What:           /sys/class/hwmon/hwmonX/intrusionY_beep
0934 Description:
0935                 Chassis intrusion beep
0936 
0937                 - 0: disable
0938                 - 1: enable
0939 
0940                 RW
0941 
0942 What:           /sys/class/hwmon/hwmonX/device/pec
0943 Description:
0944                 PEC support on I2C devices
0945 
0946                 - 0, off, n: disable
0947                 - 1, on, y: enable
0948 
0949                 RW