~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-hwmon

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 What:           /sys/class/hwmon/hwmonX/name
  2 Description:
  3                 The chip name.
  4                 This should be a short, lowercase string, not containing
  5                 whitespace, dashes, or the wildcard character '*'.
  6                 This attribute represents the chip name. It is the only
  7                 mandatory attribute.
  8                 I2C devices get this attribute created automatically.
  9 
 10                 RO
 11 
 12 What:           /sys/class/hwmon/hwmonX/label
 13 Description:
 14                 A descriptive label that allows to uniquely identify a
 15                 device within the system.
 16                 The contents of the label are free-form.
 17 
 18                 RO
 19 
 20 What:           /sys/class/hwmon/hwmonX/update_interval
 21 Description:
 22                 The interval at which the chip will update readings.
 23                 Unit: millisecond
 24 
 25                 RW
 26 
 27                 Some devices have a variable update rate or interval.
 28                 This attribute can be used to change it to the desired value.
 29 
 30 What:           /sys/class/hwmon/hwmonX/inY_min
 31 Description:
 32                 Voltage min value.
 33 
 34                 Unit: millivolt
 35 
 36                 RW
 37 
 38 What:           /sys/class/hwmon/hwmonX/inY_lcrit
 39 Description:
 40                 Voltage critical min value.
 41 
 42                 Unit: millivolt
 43 
 44                 RW
 45 
 46                 If voltage drops to or below this limit, the system may
 47                 take drastic action such as power down or reset. At the very
 48                 least, it should report a fault.
 49 
 50 What:           /sys/class/hwmon/hwmonX/inY_max
 51 Description:
 52                 Voltage max value.
 53 
 54                 Unit: millivolt
 55 
 56                 RW
 57 
 58 What:           /sys/class/hwmon/hwmonX/inY_crit
 59 Description:
 60                 Voltage critical max value.
 61 
 62                 Unit: millivolt
 63 
 64                 RW
 65 
 66                 If voltage reaches or exceeds this limit, the system may
 67                 take drastic action such as power down or reset. At the very
 68                 least, it should report a fault.
 69 
 70 What:           /sys/class/hwmon/hwmonX/inY_input
 71 Description:
 72                 Voltage input value.
 73 
 74                 Unit: millivolt
 75 
 76                 RO
 77 
 78                 Voltage measured on the chip pin.
 79 
 80                 Actual voltage depends on the scaling resistors on the
 81                 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 scaled
 85                 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 of
 89                 thumb: drivers should report the voltage values at the
 90                 "pins" of the chip.
 91 
 92 What:           /sys/class/hwmon/hwmonX/inY_average
 93 Description:
 94                 Average voltage
 95 
 96                 Unit: millivolt
 97 
 98                 RO
 99 
100 What:           /sys/class/hwmon/hwmonX/inY_lowest
101 Description:
102                 Historical minimum voltage
103 
104                 Unit: millivolt
105 
106                 RO
107 
108 What:           /sys/class/hwmon/hwmonX/inY_highest
109 Description:
110                 Historical maximum voltage
111 
112                 Unit: millivolt
113 
114                 RO
115 
116 What:           /sys/class/hwmon/hwmonX/inY_reset_history
117 Description:
118                 Reset inX_lowest and inX_highest
119 
120                 WO
121 
122 What:           /sys/class/hwmon/hwmonX/in_reset_history
123 Description:
124                 Reset inX_lowest and inX_highest for all sensors
125 
126                 WO
127 
128 What:           /sys/class/hwmon/hwmonX/inY_label
129 Description:
130                 Suggested voltage channel label.
131 
132                 Text string
133 
134                 Should only be created if the driver has hints about what
135                 this voltage channel is being used for, and user-space
136                 doesn't. In all other cases, the label is provided by
137                 user-space.
138 
139                 RO
140 
141 What:           /sys/class/hwmon/hwmonX/inY_enable
142 Description:
143                 Enable or disable the sensors.
144 
145                 When disabled the sensor read will return -ENODATA.
146 
147                 - 1: Enable
148                 - 0: Disable
149 
150                 RW
151 
152 What:           /sys/class/hwmon/hwmonX/inY_fault
153 Description:
154                 Reports a voltage hard failure (eg: shorted component)
155 
156                 - 1: Failed
157                 - 0: Ok
158 
159                 RO
160 
161 What:           /sys/class/hwmon/hwmonX/cpuY_vid
162 Description:
163                 CPU core reference voltage.
164 
165                 Unit: millivolt
166 
167                 RO
168 
169                 Not always correct.
170 
171 What:           /sys/class/hwmon/hwmonX/vrm
172 Description:
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 now
178                 an arbitrary number, as not all standards have a version
179                 number.
180 
181                 Affects the way the driver calculates the CPU core reference
182                 voltage from the vid pins.
183 
184 What:           /sys/class/hwmon/hwmonX/inY_rated_min
185 Description:
186                 Minimum rated voltage.
187 
188                 Unit: millivolt
189 
190                 RO
191 
192 What:           /sys/class/hwmon/hwmonX/inY_rated_max
193 Description:
194                 Maximum rated voltage.
195 
196                 Unit: millivolt
197 
198                 RO
199 
200 What:           /sys/class/hwmon/hwmonX/fanY_min
201 Description:
202                 Fan minimum value
203 
204                 Unit: revolution/min (RPM)
205 
206                 RW
207 
208 What:           /sys/class/hwmon/hwmonX/fanY_max
209 Description:
210                 Fan maximum value
211 
212                 Unit: revolution/min (RPM)
213 
214                 Only rarely supported by the hardware.
215                 RW
216 
217 What:           /sys/class/hwmon/hwmonX/fanY_input
218 Description:
219                 Fan input value.
220 
221                 Unit: revolution/min (RPM)
222 
223                 RO
224 
225 What:           /sys/class/hwmon/hwmonX/fanY_div
226 Description:
227                 Fan divisor.
228 
229                 Integer value in powers of two (1, 2, 4, 8, 16, 32, 64, 128).
230 
231                 RW
232 
233                 Some chips only support values 1, 2, 4 and 8.
234                 Note that this is actually an internal clock divisor, which
235                 affects the measurable speed range, not the read value.
236 
237 What:           /sys/class/hwmon/hwmonX/fanY_pulses
238 Description:
239                 Number of tachometer pulses per fan revolution.
240 
241                 Integer value, typically between 1 and 4.
242 
243                 RW
244 
245                 This value is a characteristic of the fan connected to the
246                 device's input, so it has to be set in accordance with the fan
247                 model.
248 
249                 Should only be created if the chip has a register to configure
250                 the number of pulses. In the absence of such a register (and
251                 thus attribute) the value assumed by all devices is 2 pulses
252                 per fan revolution.
253 
254 What:           /sys/class/hwmon/hwmonX/fanY_target
255 Description:
256                 Desired fan speed
257 
258                 Unit: revolution/min (RPM)
259 
260                 RW
261 
262                 Only makes sense if the chip supports closed-loop fan speed
263                 control based on the measured fan speed.
264 
265 What:           /sys/class/hwmon/hwmonX/fanY_label
266 Description:
267                 Suggested fan channel label.
268 
269                 Text string
270 
271                 Should only be created if the driver has hints about what
272                 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                 RO
276 
277 What:           /sys/class/hwmon/hwmonX/fanY_enable
278 Description:
279                 Enable or disable the sensors.
280 
281                 When disabled the sensor read will return -ENODATA.
282 
283                 - 1: Enable
284                 - 0: Disable
285 
286                 RW
287 
288 What:           /sys/class/hwmon/hwmonX/fanY_fault
289 Description:
290                 Reports if a fan has reported failure.
291 
292                 - 1: Failed
293                 - 0: Ok
294 
295                 RO
296 
297 What:           /sys/class/hwmon/hwmonX/pwmY
298 Description:
299                 Pulse width modulation fan control.
300 
301                 Integer value in the range 0 to 255
302 
303                 RW
304 
305                 255 is max or 100%.
306 
307 What:           /sys/class/hwmon/hwmonX/pwmY_enable
308 Description:
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 enabled
314 
315                 Check individual chip documentation files for automatic mode
316                 details.
317 
318                 RW
319 
320 What:           /sys/class/hwmon/hwmonX/pwmY_mode
321 Description:
322                 - 0: DC mode (direct current)
323                 - 1: PWM mode (pulse-width modulation)
324 
325                 RW
326 
327 What:           /sys/class/hwmon/hwmonX/pwmY_freq
328 Description:
329                 Base PWM frequency in Hz.
330 
331                 Only possibly available when pwmN_mode is PWM, but not always
332                 present even then.
333 
334                 RW
335 
336 What:           /sys/class/hwmon/hwmonX/pwmY_auto_channels_temp
337 Description:
338                 Select which temperature channels affect this PWM output in
339                 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                 RW
345 
346 What:           /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_pwm
347 What:           /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_temp
348 What:           /sys/class/hwmon/hwmonX/pwmY_auto_pointZ_temp_hyst
349 Description:
350                 Define the PWM vs temperature curve.
351 
352                 Number of trip points is chip-dependent. Use this for chips
353                 which associate trip points to PWM output channels.
354 
355                 RW
356 
357 What:           /sys/class/hwmon/hwmonX/tempY_auto_pointZ_pwm
358 What:           /sys/class/hwmon/hwmonX/tempY_auto_pointZ_temp
359 What:           /sys/class/hwmon/hwmonX/tempY_auto_pointZ_temp_hyst
360 Description:
361                 Define the PWM vs temperature curve.
362 
363                 Number of trip points is chip-dependent. Use this for chips
364                 which associate trip points to temperature channels.
365 
366                 RW
367 
368 What:           /sys/class/hwmon/hwmonX/tempY_type
369 Description:
370                 Sensor type selection.
371 
372                 Integers 1 to 6
373 
374                 RW
375 
376                 - 1: CPU embedded diode
377                 - 2: 3904 transistor
378                 - 3: thermal diode
379                 - 4: thermistor
380                 - 5: AMD AMDSI
381                 - 6: Intel PECI
382 
383                 Not all types are supported by all chips
384 
385 What:           /sys/class/hwmon/hwmonX/tempY_max
386 Description:
387                 Temperature max value.
388 
389                 Unit: millidegree Celsius (or millivolt, see below)
390 
391                 RW
392 
393 What:           /sys/class/hwmon/hwmonX/tempY_max_alarm
394 Description:
395                 Maximum temperature alarm flag.
396 
397                 - 0: OK
398                 - 1: temperature has reached tempY_max
399 
400                 RO
401 
402 What:           /sys/class/hwmon/hwmonX/tempY_min
403 Description:
404                 Temperature min value.
405 
406                 Unit: millidegree Celsius
407 
408                 RW
409 
410 What:           /sys/class/hwmon/hwmonX/tempY_min_alarm
411 Description:
412                 Minimum temperature alarm flag.
413 
414                 - 0: OK
415                 - 1: temperature has reached tempY_min
416 
417                 RO
418 
419 What:           /sys/class/hwmon/hwmonX/tempY_max_hyst
420 Description:
421                 Temperature hysteresis value for max limit.
422 
423                 Unit: millidegree Celsius
424 
425                 Must be reported as an absolute temperature, NOT a delta
426                 from the max value.
427 
428                 RW
429 
430 What:           /sys/class/hwmon/hwmonX/tempY_min_hyst
431 Description:
432                 Temperature hysteresis value for min limit.
433                 Unit: millidegree Celsius
434 
435                 Must be reported as an absolute temperature, NOT a delta
436                 from the min value.
437 
438                 RW
439 
440 What:           /sys/class/hwmon/hwmonX/tempY_input
441 Description:
442                 Temperature input value.
443 
444                 Unit: millidegree Celsius
445 
446                 RO
447 
448 What:           /sys/class/hwmon/hwmonX/tempY_crit
449 Description:
450                 Temperature critical max value, typically greater than
451                 corresponding temp_max values.
452 
453                 Unit: millidegree Celsius
454 
455                 RW
456 
457 What:           /sys/class/hwmon/hwmonX/tempY_crit_alarm
458 Description:
459                 Critical high temperature alarm flag.
460 
461                 - 0: OK
462                 - 1: temperature has reached tempY_crit
463 
464                 RO
465 
466 What:           /sys/class/hwmon/hwmonX/tempY_crit_hyst
467 Description:
468                 Temperature hysteresis value for critical limit.
469 
470                 Unit: millidegree Celsius
471 
472                 Must be reported as an absolute temperature, NOT a delta
473                 from the critical value.
474 
475                 RW
476 
477 What:           /sys/class/hwmon/hwmonX/tempY_emergency
478 Description:
479                 Temperature emergency max value, for chips supporting more than
480                 two upper temperature limits. Must be equal or greater than
481                 corresponding temp_crit values.
482 
483                 Unit: millidegree Celsius
484 
485                 RW
486 
487 What:           /sys/class/hwmon/hwmonX/tempY_emergency_alarm
488 Description:
489                 Emergency high temperature alarm flag.
490 
491                 - 0: OK
492                 - 1: temperature has reached tempY_emergency
493 
494                 RO
495 
496 What:           /sys/class/hwmon/hwmonX/tempY_emergency_hyst
497 Description:
498                 Temperature hysteresis value for emergency limit.
499 
500                 Unit: millidegree Celsius
501 
502                 Must be reported as an absolute temperature, NOT a delta
503                 from the emergency value.
504 
505                 RW
506 
507 What:           /sys/class/hwmon/hwmonX/tempY_lcrit
508 Description:
509                 Temperature critical min value, typically lower than
510                 corresponding temp_min values.
511 
512                 Unit: millidegree Celsius
513 
514                 RW
515 
516 What:           /sys/class/hwmon/hwmonX/tempY_lcrit_hyst
517 Description:
518                 Temperature hysteresis value for critical min limit.
519 
520                 Unit: millidegree Celsius
521 
522                 Must be reported as an absolute temperature, NOT a delta
523                 from the critical min value.
524 
525                 RW
526 
527 What:           /sys/class/hwmon/hwmonX/tempY_offset
528 Description:
529                 Temperature offset which is added to the temperature reading
530                 by the chip.
531 
532                 Unit: millidegree Celsius
533 
534                 Read/Write value.
535 
536 What:           /sys/class/hwmon/hwmonX/tempY_label
537 Description:
538                 Suggested temperature channel label.
539 
540                 Text string
541 
542                 Should only be created if the driver has hints about what
543                 this temperature channel is being used for, and user-space
544                 doesn't. In all other cases, the label is provided by
545                 user-space.
546 
547                 RO
548 
549 What:           /sys/class/hwmon/hwmonX/tempY_lowest
550 Description:
551                 Historical minimum temperature
552 
553                 Unit: millidegree Celsius
554 
555                 RO
556 
557 What:           /sys/class/hwmon/hwmonX/tempY_highest
558 Description:
559                 Historical maximum temperature
560 
561                 Unit: millidegree Celsius
562 
563                 RO
564 
565 What:           /sys/class/hwmon/hwmonX/tempY_reset_history
566 Description:
567                 Reset temp_lowest and temp_highest
568 
569                 WO
570 
571 What:           /sys/class/hwmon/hwmonX/temp_reset_history
572 Description:
573                 Reset temp_lowest and temp_highest for all sensors
574 
575                 WO
576 
577 What:           /sys/class/hwmon/hwmonX/tempY_enable
578 Description:
579                 Enable or disable the sensors.
580 
581                 When disabled the sensor read will return -ENODATA.
582 
583                 - 1: Enable
584                 - 0: Disable
585 
586                 RW
587 
588 What:           /sys/class/hwmon/hwmonX/tempY_rated_min
589 Description:
590                 Minimum rated temperature.
591 
592                 Unit: millidegree Celsius
593 
594                 RO
595 
596 What:           /sys/class/hwmon/hwmonX/tempY_rated_max
597 Description:
598                 Maximum rated temperature.
599 
600                 Unit: millidegree Celsius
601 
602                 RO
603 
604 What:           /sys/class/hwmon/hwmonX/currY_max
605 Description:
606                 Current max value
607 
608                 Unit: milliampere
609 
610                 RW
611 
612 What:           /sys/class/hwmon/hwmonX/currY_min
613 Description:
614                 Current min value.
615 
616                 Unit: milliampere
617 
618                 RW
619 
620 What:           /sys/class/hwmon/hwmonX/currY_lcrit
621 Description:
622                 Current critical low value
623 
624                 Unit: milliampere
625 
626                 RW
627 
628 What:           /sys/class/hwmon/hwmonX/currY_crit
629 Description:
630                 Current critical high value.
631 
632                 Unit: milliampere
633 
634                 RW
635 
636 What:           /sys/class/hwmon/hwmonX/currY_input
637 Description:
638                 Current input value
639 
640                 Unit: milliampere
641 
642                 RO
643 
644 What:           /sys/class/hwmon/hwmonX/currY_average
645 Description:
646                 Average current use
647 
648                 Unit: milliampere
649 
650                 RO
651 
652 What:           /sys/class/hwmon/hwmonX/currY_lowest
653 Description:
654                 Historical minimum current
655 
656                 Unit: milliampere
657 
658                 RO
659 
660 What:           /sys/class/hwmon/hwmonX/currY_highest
661 Description:
662                 Historical maximum current
663                 Unit: milliampere
664                 RO
665 
666 What:           /sys/class/hwmon/hwmonX/currY_reset_history
667 Description:
668                 Reset currX_lowest and currX_highest
669 
670                 WO
671 
672 What:           /sys/class/hwmon/hwmonX/curr_reset_history
673 Description:
674                 Reset currX_lowest and currX_highest for all sensors
675 
676                 WO
677 
678 What:           /sys/class/hwmon/hwmonX/currY_enable
679 Description:
680                 Enable or disable the sensors.
681 
682                 When disabled the sensor read will return -ENODATA.
683 
684                 - 1: Enable
685                 - 0: Disable
686 
687                 RW
688 
689 What:           /sys/class/hwmon/hwmonX/currY_rated_min
690 Description:
691                 Minimum rated current.
692 
693                 Unit: milliampere
694 
695                 RO
696 
697 What:           /sys/class/hwmon/hwmonX/currY_rated_max
698 Description:
699                 Maximum rated current.
700 
701                 Unit: milliampere
702 
703                 RO
704 
705 What:           /sys/class/hwmon/hwmonX/powerY_average
706 Description:
707                 Average power use
708 
709                 Unit: microWatt
710 
711                 RO
712 
713 What:           /sys/class/hwmon/hwmonX/powerY_average_interval
714 Description:
715                 Power use averaging interval.  A poll
716                 notification is sent to this file if the
717                 hardware changes the averaging interval.
718 
719                 Unit: milliseconds
720 
721                 RW
722 
723 What:           /sys/class/hwmon/hwmonX/powerY_average_interval_max
724 Description:
725                 Maximum power use averaging interval
726 
727                 Unit: milliseconds
728 
729                 RO
730 
731 What:           /sys/class/hwmon/hwmonX/powerY_average_interval_min
732 Description:
733                 Minimum power use averaging interval
734 
735                 Unit: milliseconds
736 
737                 RO
738 
739 What:           /sys/class/hwmon/hwmonX/powerY_average_highest
740 Description:
741                 Historical average maximum power use
742 
743                 Unit: microWatt
744 
745                 RO
746 
747 What:           /sys/class/hwmon/hwmonX/powerY_average_lowest
748 Description:
749                 Historical average minimum power use
750 
751                 Unit: microWatt
752 
753                 RO
754 
755 What:           /sys/class/hwmon/hwmonX/powerY_average_max
756 Description:
757                 A poll notification is sent to
758                 `powerY_average` when power use
759                 rises above this value.
760 
761                 Unit: microWatt
762 
763                 RW
764 
765 What:           /sys/class/hwmon/hwmonX/powerY_average_min
766 Description:
767                 A poll notification is sent to
768                 `powerY_average` when power use
769                 sinks below this value.
770 
771                 Unit: microWatt
772 
773                 RW
774 
775 What:           /sys/class/hwmon/hwmonX/powerY_input
776 Description:
777                 Instantaneous power use
778 
779                 Unit: microWatt
780 
781                 RO
782 
783 What:           /sys/class/hwmon/hwmonX/powerY_input_highest
784 Description:
785                 Historical maximum power use
786 
787                 Unit: microWatt
788 
789                 RO
790 
791 What:           /sys/class/hwmon/hwmonX/powerY_input_lowest
792 Description:
793                 Historical minimum power use
794 
795                 Unit: microWatt
796 
797                 RO
798 
799 What:           /sys/class/hwmon/hwmonX/powerY_reset_history
800 Description:
801                 Reset input_highest, input_lowest,
802                 average_highest and average_lowest.
803 
804                 WO
805 
806 What:           /sys/class/hwmon/hwmonX/powerY_accuracy
807 Description:
808                 Accuracy of the power meter.
809 
810                 Unit: Percent
811 
812                 RO
813 
814 What:           /sys/class/hwmon/hwmonX/powerY_cap
815 Description:
816                 If power use rises above this limit, the
817                 system should take action to reduce power use.
818                 A poll notification is sent to this file if the
819                 cap is changed by the hardware.  The `*_cap`
820                 files only appear if the cap is known to be
821                 enforced by hardware.
822 
823                 Unit: microWatt
824 
825                 RW
826 
827 What:           /sys/class/hwmon/hwmonX/powerY_cap_hyst
828 Description:
829                 Margin of hysteresis built around capping and
830                 notification.
831 
832                 Unit: microWatt
833 
834                 RW
835 
836 What:           /sys/class/hwmon/hwmonX/powerY_cap_max
837 Description:
838                 Maximum cap that can be set.
839 
840                 Unit: microWatt
841 
842                 RO
843 
844 What:           /sys/class/hwmon/hwmonX/powerY_cap_min
845 Description:
846                 Minimum cap that can be set.
847 
848                 Unit: microWatt
849 
850                 RO
851 
852 What:           /sys/class/hwmon/hwmonX/powerY_max
853 Description:
854                 Maximum power.
855 
856                 Unit: microWatt
857 
858                 RW
859 
860 What:           /sys/class/hwmon/hwmonX/powerY_crit
861 Description:
862                 Critical maximum power.
863 
864                 If power rises to or above this limit, the
865                 system is expected take drastic action to reduce
866                 power consumption, such as a system shutdown or
867                 a forced powerdown of some devices.
868 
869                 Unit: microWatt
870 
871                 RW
872 
873 What:           /sys/class/hwmon/hwmonX/powerY_enable
874 Description:
875                 Enable or disable the sensors.
876 
877                 When disabled the sensor read will return
878                 -ENODATA.
879 
880                 - 1: Enable
881                 - 0: Disable
882 
883                 RW
884 
885 What:           /sys/class/hwmon/hwmonX/powerY_rated_min
886 Description:
887                 Minimum rated power.
888 
889                 Unit: microWatt
890 
891                 RO
892 
893 What:           /sys/class/hwmon/hwmonX/powerY_rated_max
894 Description:
895                 Maximum rated power.
896 
897                 Unit: microWatt
898 
899                 RO
900 
901 What:           /sys/class/hwmon/hwmonX/energyY_input
902 Description:
903                 Cumulative energy use
904 
905                 Unit: microJoule
906 
907                 RO
908 
909 What:           /sys/class/hwmon/hwmonX/energyY_enable
910 Description:
911                 Enable or disable the sensors.
912 
913                 When disabled the sensor read will return
914                 -ENODATA.
915 
916                 - 1: Enable
917                 - 0: Disable
918 
919                 RW
920 
921 What:           /sys/class/hwmon/hwmonX/humidityY_alarm
922 Description:
923                 Humidity limit detection
924 
925                 - 0: OK
926                 - 1: Humidity limit has been reached
927 
928                 RO
929 
930 What:           /sys/class/hwmon/hwmonX/humidityY_enable
931 Description:
932                 Enable or disable the sensors
933 
934                 When disabled the sensor read will return
935                 -ENODATA.
936 
937                 - 1: Enable
938                 - 0: Disable
939 
940                 RW
941 
942 What:           /sys/class/hwmon/hwmonX/humidityY_fault
943 Description:
944                 Reports a humidity sensor failure.
945 
946                 - 1: Failed
947                 - 0: Ok
948 
949                 RO
950 
951 What:           /sys/class/hwmon/hwmonX/humidityY_input
952 Description:
953                 Humidity
954 
955                 Unit: milli-percent (per cent mille, pcm)
956 
957                 RO
958 
959 What:           /sys/class/hwmon/hwmonX/humidityY_label
960 Description:
961                 Suggested humidity channel label.
962 
963                 Text string
964 
965                 Should only be created if the driver has hints about what
966                 this humidity channel is being used for, and user-space
967                 doesn't. In all other cases, the label is provided by
968                 user-space.
969 
970                 RO
971 
972 What:           /sys/class/hwmon/hwmonX/humidityY_max
973 Description:
974                 Humidity max value.
975 
976                 Unit: milli-percent (per cent mille, pcm)
977 
978                 RW
979 
980 What:           /sys/class/hwmon/hwmonX/humidityY_max_alarm
981 Description:
982                 Maximum humidity detection
983 
984                 - 0: OK
985                 - 1: Maximum humidity detected
986 
987                 RO
988 
989 What:           /sys/class/hwmon/hwmonX/humidityY_max_hyst
990 Description:
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 delta
996                 from the max value.
997 
998                 RW
999 
1000 What:           /sys/class/hwmon/hwmonX/humidityY_min
1001 Description:
1002                 Humidity min value.
1003 
1004                 Unit: milli-percent (per cent mille, pcm)
1005 
1006                 RW
1007 
1008 What:           /sys/class/hwmon/hwmonX/humidityY_min_alarm
1009 Description:
1010                 Minimum humidity detection
1011 
1012                 - 0: OK
1013                 - 1: Minimum humidity detected
1014 
1015                 RO
1016 
1017 What:           /sys/class/hwmon/hwmonX/humidityY_min_hyst
1018 Description:
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 delta
1024                 from the min value.
1025 
1026                 RW
1027 
1028 What:           /sys/class/hwmon/hwmonX/humidityY_rated_min
1029 Description:
1030                 Minimum rated humidity.
1031 
1032                 Unit: milli-percent (per cent mille, pcm)
1033 
1034                 RO
1035 
1036 What:           /sys/class/hwmon/hwmonX/humidityY_rated_max
1037 Description:
1038                 Maximum rated humidity.
1039 
1040                 Unit: milli-percent (per cent mille, pcm)
1041 
1042                 RO
1043 
1044 
1045 What:           /sys/class/hwmon/hwmonX/intrusionY_alarm
1046 Description:
1047                 Chassis intrusion detection
1048 
1049                 - 0: OK
1050                 - 1: intrusion detected
1051 
1052                 RW
1053 
1054                 Contrary to regular alarm flags which clear themselves
1055                 automatically when read, this one sticks until cleared by
1056                 the user. This is done by writing 0 to the file. Writing
1057                 other values is unsupported.
1058 
1059 What:           /sys/class/hwmon/hwmonX/intrusionY_beep
1060 Description:
1061                 Chassis intrusion beep
1062 
1063                 - 0: disable
1064                 - 1: enable
1065 
1066                 RW
1067 
1068 What:           /sys/class/hwmon/hwmonX/device/pec
1069 Description:
1070                 PEC support on I2C devices
1071 
1072                 - 0, off, n: disable
1073                 - 1, on, y: enable
1074 
1075                 RW

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php