1076 lines · plain
1What: /sys/class/hwmon/hwmonX/name2Description:3 The chip name.4 This should be a short, lowercase string, not containing5 whitespace, dashes, or the wildcard character '*'.6 This attribute represents the chip name. It is the only7 mandatory attribute.8 I2C devices get this attribute created automatically.9 10 RO11 12What: /sys/class/hwmon/hwmonX/label13Description:14 A descriptive label that allows to uniquely identify a15 device within the system.16 The contents of the label are free-form.17 18 RO19 20What: /sys/class/hwmon/hwmonX/update_interval21Description:22 The interval at which the chip will update readings.23 Unit: millisecond24 25 RW26 27 Some devices have a variable update rate or interval.28 This attribute can be used to change it to the desired value.29 30What: /sys/class/hwmon/hwmonX/inY_min31Description:32 Voltage min value.33 34 Unit: millivolt35 36 RW37 38What: /sys/class/hwmon/hwmonX/inY_lcrit39Description:40 Voltage critical min value.41 42 Unit: millivolt43 44 RW45 46 If voltage drops to or below this limit, the system may47 take drastic action such as power down or reset. At the very48 least, it should report a fault.49 50What: /sys/class/hwmon/hwmonX/inY_max51Description:52 Voltage max value.53 54 Unit: millivolt55 56 RW57 58What: /sys/class/hwmon/hwmonX/inY_crit59Description:60 Voltage critical max value.61 62 Unit: millivolt63 64 RW65 66 If voltage reaches or exceeds this limit, the system may67 take drastic action such as power down or reset. At the very68 least, it should report a fault.69 70What: /sys/class/hwmon/hwmonX/inY_input71Description:72 Voltage input value.73 74 Unit: millivolt75 76 RO77 78 Voltage measured on the chip pin.79 80 Actual voltage depends on the scaling resistors on the81 motherboard, as recommended in the chip datasheet.82 83 This varies by chip and by motherboard.84 Because of this variation, values are generally NOT scaled85 by the chip driver, and must be done by the application.86 However, some drivers (notably lm87 and via686a)87 do scale, because of internal resistors built into a chip.88 These drivers will output the actual voltage. Rule of89 thumb: drivers should report the voltage values at the90 "pins" of the chip.91 92What: /sys/class/hwmon/hwmonX/inY_average93Description:94 Average voltage95 96 Unit: millivolt97 98 RO99 100What: /sys/class/hwmon/hwmonX/inY_lowest101Description:102 Historical minimum voltage103 104 Unit: millivolt105 106 RO107 108What: /sys/class/hwmon/hwmonX/inY_highest109Description:110 Historical maximum voltage111 112 Unit: millivolt113 114 RO115 116What: /sys/class/hwmon/hwmonX/inY_reset_history117Description:118 Reset inX_lowest and inX_highest119 120 WO121 122What: /sys/class/hwmon/hwmonX/in_reset_history123Description:124 Reset inX_lowest and inX_highest for all sensors125 126 WO127 128What: /sys/class/hwmon/hwmonX/inY_label129Description:130 Suggested voltage channel label.131 132 Text string133 134 Should only be created if the driver has hints about what135 this voltage channel is being used for, and user-space136 doesn't. In all other cases, the label is provided by137 user-space.138 139 RO140 141What: /sys/class/hwmon/hwmonX/inY_enable142Description:143 Enable or disable the sensors.144 145 When disabled the sensor read will return -ENODATA.146 147 - 1: Enable148 - 0: Disable149 150 RW151 152What: /sys/class/hwmon/hwmonX/inY_fault153Description:154 Reports a voltage hard failure (eg: shorted component)155 156 - 1: Failed157 - 0: Ok158 159 RO160 161What: /sys/class/hwmon/hwmonX/cpuY_vid162Description:163 CPU core reference voltage.164 165 Unit: millivolt166 167 RO168 169 Not always correct.170 171What: /sys/class/hwmon/hwmonX/vrm172Description:173 Voltage Regulator Module version number.174 175 RW (but changing it should no more be necessary)176 177 Originally the VRM standard version multiplied by 10, but now178 an arbitrary number, as not all standards have a version179 number.180 181 Affects the way the driver calculates the CPU core reference182 voltage from the vid pins.183 184What: /sys/class/hwmon/hwmonX/inY_rated_min185Description:186 Minimum rated voltage.187 188 Unit: millivolt189 190 RO191 192What: /sys/class/hwmon/hwmonX/inY_rated_max193Description:194 Maximum rated voltage.195 196 Unit: millivolt197 198 RO199 200What: /sys/class/hwmon/hwmonX/fanY_min201Description:202 Fan minimum value203 204 Unit: revolution/min (RPM)205 206 RW207 208What: /sys/class/hwmon/hwmonX/fanY_max209Description:210 Fan maximum value211 212 Unit: revolution/min (RPM)213 214 Only rarely supported by the hardware.215 RW216 217What: /sys/class/hwmon/hwmonX/fanY_input218Description:219 Fan input value.220 221 Unit: revolution/min (RPM)222 223 RO224 225What: /sys/class/hwmon/hwmonX/fanY_div226Description:227 Fan divisor.228 229 Integer value in powers of two (1, 2, 4, 8, 16, 32, 64, 128).230 231 RW232 233 Some chips only support values 1, 2, 4 and 8.234 Note that this is actually an internal clock divisor, which235 affects the measurable speed range, not the read value.236 237What: /sys/class/hwmon/hwmonX/fanY_pulses238Description:239 Number of tachometer pulses per fan revolution.240 241 Integer value, typically between 1 and 4.242 243 RW244 245 This value is a characteristic of the fan connected to the246 device's input, so it has to be set in accordance with the fan247 model.248 249 Should only be created if the chip has a register to configure250 the number of pulses. In the absence of such a register (and251 thus attribute) the value assumed by all devices is 2 pulses252 per fan revolution.253 254What: /sys/class/hwmon/hwmonX/fanY_target255Description:256 Desired fan speed257 258 Unit: revolution/min (RPM)259 260 RW261 262 Only makes sense if the chip supports closed-loop fan speed263 control based on the measured fan speed.264 265What: /sys/class/hwmon/hwmonX/fanY_label266Description:267 Suggested fan channel label.268 269 Text string270 271 Should only be created if the driver has hints about what272 this fan channel is being used for, and user-space doesn't.273 In all other cases, the label is provided by user-space.274 275 RO276 277What: /sys/class/hwmon/hwmonX/fanY_enable278Description:279 Enable or disable the sensors.280 281 When disabled the sensor read will return -ENODATA.282 283 - 1: Enable284 - 0: Disable285 286 RW287 288What: /sys/class/hwmon/hwmonX/fanY_fault289Description:290 Reports if a fan has reported failure.291 292 - 1: Failed293 - 0: Ok294 295 RO296 297What: /sys/class/hwmon/hwmonX/pwmY298Description:299 Pulse width modulation fan control.300 301 Integer value in the range 0 to 255302 303 RW304 305 255 is max or 100%.306 307What: /sys/class/hwmon/hwmonX/pwmY_enable308Description:309 Fan speed control method:310 311 - 0: no fan speed control (i.e. fan at full speed)312 - 1: manual fan speed control enabled (using `pwmY`)313 - 2+: automatic fan speed control enabled314 315 Check individual chip documentation files for automatic mode316 details.317 318 RW319 320What: /sys/class/hwmon/hwmonX/pwmY_mode321Description:322 - 0: DC mode (direct current)323 - 1: PWM mode (pulse-width modulation)324 325 RW326 327What: /sys/class/hwmon/hwmonX/pwmY_freq328Description:329 Base PWM frequency in Hz.330 331 Only possibly available when pwmN_mode is PWM, but not always332 present even then.333 334 RW335 336What: /sys/class/hwmon/hwmonX/pwmY_auto_channels_temp337Description:338 Select which temperature channels affect this PWM output in339 auto mode.340 341 Bitfield, 1 is temp1, 2 is temp2, 4 is temp3 etc...342 Which values are possible depend on the chip used.343 344 RW345 346What: /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_pwm347What: /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_temp348What: /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_temp_hyst349Description:350 Define the PWM vs temperature curve.351 352 Number of trip points is chip-dependent. Use this for chips353 which associate trip points to PWM output channels.354 355 RW356 357What: /sys/class/hwmon/hwmonX/tempY_auto_pointZ_pwm358What: /sys/class/hwmon/hwmonX/tempY_auto_pointZ_temp359What: /sys/class/hwmon/hwmonX/tempY_auto_pointZ_temp_hyst360Description:361 Define the PWM vs temperature curve.362 363 Number of trip points is chip-dependent. Use this for chips364 which associate trip points to temperature channels.365 366 RW367 368What: /sys/class/hwmon/hwmonX/tempY_type369Description:370 Sensor type selection.371 372 Integers 1 to 6373 374 RW375 376 - 1: CPU embedded diode377 - 2: 3904 transistor378 - 3: thermal diode379 - 4: thermistor380 - 5: AMD AMDSI381 - 6: Intel PECI382 383 Not all types are supported by all chips384 385What: /sys/class/hwmon/hwmonX/tempY_max386Description:387 Temperature max value.388 389 Unit: millidegree Celsius (or millivolt, see below)390 391 RW392 393What: /sys/class/hwmon/hwmonX/tempY_max_alarm394Description:395 Maximum temperature alarm flag.396 397 - 0: OK398 - 1: temperature has reached tempY_max399 400 RO401 402What: /sys/class/hwmon/hwmonX/tempY_min403Description:404 Temperature min value.405 406 Unit: millidegree Celsius407 408 RW409 410What: /sys/class/hwmon/hwmonX/tempY_min_alarm411Description:412 Minimum temperature alarm flag.413 414 - 0: OK415 - 1: temperature has reached tempY_min416 417 RO418 419What: /sys/class/hwmon/hwmonX/tempY_max_hyst420Description:421 Temperature hysteresis value for max limit.422 423 Unit: millidegree Celsius424 425 Must be reported as an absolute temperature, NOT a delta426 from the max value.427 428 RW429 430What: /sys/class/hwmon/hwmonX/tempY_min_hyst431Description:432 Temperature hysteresis value for min limit.433 Unit: millidegree Celsius434 435 Must be reported as an absolute temperature, NOT a delta436 from the min value.437 438 RW439 440What: /sys/class/hwmon/hwmonX/tempY_input441Description:442 Temperature input value.443 444 Unit: millidegree Celsius445 446 RO447 448What: /sys/class/hwmon/hwmonX/tempY_crit449Description:450 Temperature critical max value, typically greater than451 corresponding temp_max values.452 453 Unit: millidegree Celsius454 455 RW456 457What: /sys/class/hwmon/hwmonX/tempY_crit_alarm458Description:459 Critical high temperature alarm flag.460 461 - 0: OK462 - 1: temperature has reached tempY_crit463 464 RO465 466What: /sys/class/hwmon/hwmonX/tempY_crit_hyst467Description:468 Temperature hysteresis value for critical limit.469 470 Unit: millidegree Celsius471 472 Must be reported as an absolute temperature, NOT a delta473 from the critical value.474 475 RW476 477What: /sys/class/hwmon/hwmonX/tempY_emergency478Description:479 Temperature emergency max value, for chips supporting more than480 two upper temperature limits. Must be equal or greater than481 corresponding temp_crit values.482 483 Unit: millidegree Celsius484 485 RW486 487What: /sys/class/hwmon/hwmonX/tempY_emergency_alarm488Description:489 Emergency high temperature alarm flag.490 491 - 0: OK492 - 1: temperature has reached tempY_emergency493 494 RO495 496What: /sys/class/hwmon/hwmonX/tempY_emergency_hyst497Description:498 Temperature hysteresis value for emergency limit.499 500 Unit: millidegree Celsius501 502 Must be reported as an absolute temperature, NOT a delta503 from the emergency value.504 505 RW506 507What: /sys/class/hwmon/hwmonX/tempY_lcrit508Description:509 Temperature critical min value, typically lower than510 corresponding temp_min values.511 512 Unit: millidegree Celsius513 514 RW515 516What: /sys/class/hwmon/hwmonX/tempY_lcrit_hyst517Description:518 Temperature hysteresis value for critical min limit.519 520 Unit: millidegree Celsius521 522 Must be reported as an absolute temperature, NOT a delta523 from the critical min value.524 525 RW526 527What: /sys/class/hwmon/hwmonX/tempY_offset528Description:529 Temperature offset which is added to the temperature reading530 by the chip.531 532 Unit: millidegree Celsius533 534 Read/Write value.535 536What: /sys/class/hwmon/hwmonX/tempY_label537Description:538 Suggested temperature channel label.539 540 Text string541 542 Should only be created if the driver has hints about what543 this temperature channel is being used for, and user-space544 doesn't. In all other cases, the label is provided by545 user-space.546 547 RO548 549What: /sys/class/hwmon/hwmonX/tempY_lowest550Description:551 Historical minimum temperature552 553 Unit: millidegree Celsius554 555 RO556 557What: /sys/class/hwmon/hwmonX/tempY_highest558Description:559 Historical maximum temperature560 561 Unit: millidegree Celsius562 563 RO564 565What: /sys/class/hwmon/hwmonX/tempY_reset_history566Description:567 Reset temp_lowest and temp_highest568 569 WO570 571What: /sys/class/hwmon/hwmonX/temp_reset_history572Description:573 Reset temp_lowest and temp_highest for all sensors574 575 WO576 577What: /sys/class/hwmon/hwmonX/tempY_enable578Description:579 Enable or disable the sensors.580 581 When disabled the sensor read will return -ENODATA.582 583 - 1: Enable584 - 0: Disable585 586 RW587 588What: /sys/class/hwmon/hwmonX/tempY_rated_min589Description:590 Minimum rated temperature.591 592 Unit: millidegree Celsius593 594 RO595 596What: /sys/class/hwmon/hwmonX/tempY_rated_max597Description:598 Maximum rated temperature.599 600 Unit: millidegree Celsius601 602 RO603 604What: /sys/class/hwmon/hwmonX/currY_max605Description:606 Current max value607 608 Unit: milliampere609 610 RW611 612What: /sys/class/hwmon/hwmonX/currY_min613Description:614 Current min value.615 616 Unit: milliampere617 618 RW619 620What: /sys/class/hwmon/hwmonX/currY_lcrit621Description:622 Current critical low value623 624 Unit: milliampere625 626 RW627 628What: /sys/class/hwmon/hwmonX/currY_crit629Description:630 Current critical high value.631 632 Unit: milliampere633 634 RW635 636What: /sys/class/hwmon/hwmonX/currY_input637Description:638 Current input value639 640 Unit: milliampere641 642 RO643 644What: /sys/class/hwmon/hwmonX/currY_average645Description:646 Average current use647 648 Unit: milliampere649 650 RO651 652What: /sys/class/hwmon/hwmonX/currY_lowest653Description:654 Historical minimum current655 656 Unit: milliampere657 658 RO659 660What: /sys/class/hwmon/hwmonX/currY_highest661Description:662 Historical maximum current663 Unit: milliampere664 RO665 666What: /sys/class/hwmon/hwmonX/currY_reset_history667Description:668 Reset currX_lowest and currX_highest669 670 WO671 672What: /sys/class/hwmon/hwmonX/curr_reset_history673Description:674 Reset currX_lowest and currX_highest for all sensors675 676 WO677 678What: /sys/class/hwmon/hwmonX/currY_enable679Description:680 Enable or disable the sensors.681 682 When disabled the sensor read will return -ENODATA.683 684 - 1: Enable685 - 0: Disable686 687 RW688 689What: /sys/class/hwmon/hwmonX/currY_rated_min690Description:691 Minimum rated current.692 693 Unit: milliampere694 695 RO696 697What: /sys/class/hwmon/hwmonX/currY_rated_max698Description:699 Maximum rated current.700 701 Unit: milliampere702 703 RO704 705What: /sys/class/hwmon/hwmonX/powerY_average706Description:707 Average power use708 709 Unit: microWatt710 711 RO712 713What: /sys/class/hwmon/hwmonX/powerY_average_interval714Description:715 Power use averaging interval. A poll716 notification is sent to this file if the717 hardware changes the averaging interval.718 719 Unit: milliseconds720 721 RW722 723What: /sys/class/hwmon/hwmonX/powerY_average_interval_max724Description:725 Maximum power use averaging interval726 727 Unit: milliseconds728 729 RO730 731What: /sys/class/hwmon/hwmonX/powerY_average_interval_min732Description:733 Minimum power use averaging interval734 735 Unit: milliseconds736 737 RO738 739What: /sys/class/hwmon/hwmonX/powerY_average_highest740Description:741 Historical average maximum power use742 743 Unit: microWatt744 745 RO746 747What: /sys/class/hwmon/hwmonX/powerY_average_lowest748Description:749 Historical average minimum power use750 751 Unit: microWatt752 753 RO754 755What: /sys/class/hwmon/hwmonX/powerY_average_max756Description:757 A poll notification is sent to758 `powerY_average` when power use759 rises above this value.760 761 Unit: microWatt762 763 RW764 765What: /sys/class/hwmon/hwmonX/powerY_average_min766Description:767 A poll notification is sent to768 `powerY_average` when power use769 sinks below this value.770 771 Unit: microWatt772 773 RW774 775What: /sys/class/hwmon/hwmonX/powerY_input776Description:777 Instantaneous power use778 779 Unit: microWatt780 781 RO782 783What: /sys/class/hwmon/hwmonX/powerY_input_highest784Description:785 Historical maximum power use786 787 Unit: microWatt788 789 RO790 791What: /sys/class/hwmon/hwmonX/powerY_input_lowest792Description:793 Historical minimum power use794 795 Unit: microWatt796 797 RO798 799What: /sys/class/hwmon/hwmonX/powerY_reset_history800Description:801 Reset input_highest, input_lowest,802 average_highest and average_lowest.803 804 WO805 806What: /sys/class/hwmon/hwmonX/powerY_accuracy807Description:808 Accuracy of the power meter.809 810 Unit: Percent811 812 RO813 814What: /sys/class/hwmon/hwmonX/powerY_cap815Description:816 If power use rises above this limit, the817 system should take action to reduce power use.818 A poll notification is sent to this file if the819 cap is changed by the hardware. The `*_cap`820 files only appear if the cap is known to be821 enforced by hardware.822 823 Unit: microWatt824 825 RW826 827What: /sys/class/hwmon/hwmonX/powerY_cap_hyst828Description:829 Margin of hysteresis built around capping and830 notification.831 832 Unit: microWatt833 834 RW835 836What: /sys/class/hwmon/hwmonX/powerY_cap_max837Description:838 Maximum cap that can be set.839 840 Unit: microWatt841 842 RO843 844What: /sys/class/hwmon/hwmonX/powerY_cap_min845Description:846 Minimum cap that can be set.847 848 Unit: microWatt849 850 RO851 852What: /sys/class/hwmon/hwmonX/powerY_max853Description:854 Maximum power.855 856 Unit: microWatt857 858 RW859 860What: /sys/class/hwmon/hwmonX/powerY_crit861Description:862 Critical maximum power.863 864 If power rises to or above this limit, the865 system is expected take drastic action to reduce866 power consumption, such as a system shutdown or867 a forced powerdown of some devices.868 869 Unit: microWatt870 871 RW872 873What: /sys/class/hwmon/hwmonX/powerY_enable874Description:875 Enable or disable the sensors.876 877 When disabled the sensor read will return878 -ENODATA.879 880 - 1: Enable881 - 0: Disable882 883 RW884 885What: /sys/class/hwmon/hwmonX/powerY_rated_min886Description:887 Minimum rated power.888 889 Unit: microWatt890 891 RO892 893What: /sys/class/hwmon/hwmonX/powerY_rated_max894Description:895 Maximum rated power.896 897 Unit: microWatt898 899 RO900 901What: /sys/class/hwmon/hwmonX/energyY_input902Description:903 Cumulative energy use904 905 Unit: microJoule906 907 RO908 909What: /sys/class/hwmon/hwmonX/energyY_enable910Description:911 Enable or disable the sensors.912 913 When disabled the sensor read will return914 -ENODATA.915 916 - 1: Enable917 - 0: Disable918 919 RW920 921What: /sys/class/hwmon/hwmonX/humidityY_alarm922Description:923 Humidity limit detection924 925 - 0: OK926 - 1: Humidity limit has been reached927 928 RO929 930What: /sys/class/hwmon/hwmonX/humidityY_enable931Description:932 Enable or disable the sensors933 934 When disabled the sensor read will return935 -ENODATA.936 937 - 1: Enable938 - 0: Disable939 940 RW941 942What: /sys/class/hwmon/hwmonX/humidityY_fault943Description:944 Reports a humidity sensor failure.945 946 - 1: Failed947 - 0: Ok948 949 RO950 951What: /sys/class/hwmon/hwmonX/humidityY_input952Description:953 Humidity954 955 Unit: milli-percent (per cent mille, pcm)956 957 RO958 959What: /sys/class/hwmon/hwmonX/humidityY_label960Description:961 Suggested humidity channel label.962 963 Text string964 965 Should only be created if the driver has hints about what966 this humidity channel is being used for, and user-space967 doesn't. In all other cases, the label is provided by968 user-space.969 970 RO971 972What: /sys/class/hwmon/hwmonX/humidityY_max973Description:974 Humidity max value.975 976 Unit: milli-percent (per cent mille, pcm)977 978 RW979 980What: /sys/class/hwmon/hwmonX/humidityY_max_alarm981Description:982 Maximum humidity detection983 984 - 0: OK985 - 1: Maximum humidity detected986 987 RO988 989What: /sys/class/hwmon/hwmonX/humidityY_max_hyst990Description:991 Humidity hysteresis value for max limit.992 993 Unit: milli-percent (per cent mille, pcm)994 995 Must be reported as an absolute humidity, NOT a delta996 from the max value.997 998 RW999 1000What: /sys/class/hwmon/hwmonX/humidityY_min1001Description:1002 Humidity min value.1003 1004 Unit: milli-percent (per cent mille, pcm)1005 1006 RW1007 1008What: /sys/class/hwmon/hwmonX/humidityY_min_alarm1009Description:1010 Minimum humidity detection1011 1012 - 0: OK1013 - 1: Minimum humidity detected1014 1015 RO1016 1017What: /sys/class/hwmon/hwmonX/humidityY_min_hyst1018Description:1019 Humidity hysteresis value for min limit.1020 1021 Unit: milli-percent (per cent mille, pcm)1022 1023 Must be reported as an absolute humidity, NOT a delta1024 from the min value.1025 1026 RW1027 1028What: /sys/class/hwmon/hwmonX/humidityY_rated_min1029Description:1030 Minimum rated humidity.1031 1032 Unit: milli-percent (per cent mille, pcm)1033 1034 RO1035 1036What: /sys/class/hwmon/hwmonX/humidityY_rated_max1037Description:1038 Maximum rated humidity.1039 1040 Unit: milli-percent (per cent mille, pcm)1041 1042 RO1043 1044 1045What: /sys/class/hwmon/hwmonX/intrusionY_alarm1046Description:1047 Chassis intrusion detection1048 1049 - 0: OK1050 - 1: intrusion detected1051 1052 RW1053 1054 Contrary to regular alarm flags which clear themselves1055 automatically when read, this one sticks until cleared by1056 the user. This is done by writing 0 to the file. Writing1057 other values is unsupported.1058 1059What: /sys/class/hwmon/hwmonX/intrusionY_beep1060Description:1061 Chassis intrusion beep1062 1063 - 0: disable1064 - 1: enable1065 1066 RW1067 1068What: /sys/class/hwmon/hwmonX/device/pec1069Description:1070 PEC support on I2C devices1071 1072 - 0, off, n: disable1073 - 1, on, y: enable1074 1075 RW1076