Lines Matching +full:data +full:- +full:sheets
1 Naming and data format standards for sysfs files
4 The libsensors library offers an interface to the raw sensors data
5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is
6 completely chip-independent. It assumes that all the kernel drivers
10 This is a major improvement compared to lm-sensors 2.
22 For this reason, even if we aim at a chip-independent libsensors, it will
29 access this data in a simple and consistent way. That said, such programs
37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes
38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found
51 except for voltages which start from 0 (because most data sheets use
61 to cause an alarm) is chip-dependent.
68 -------------------------------------------------------------------------
71 `[0-*]` denotes any positive number starting from 0
72 `[1-*]` denotes any positive number starting from 1
78 Read/write values may be read-only for some chips, depending on the
113 `in[0-*]_min`
120 `in[0-*]_lcrit`
131 `in[0-*]_max`
138 `in[0-*]_crit`
149 `in[0-*]_input`
170 `in[0-*]_average`
177 `in[0-*]_lowest`
184 `in[0-*]_highest`
191 `in[0-*]_reset_history`
201 `in[0-*]_label`
207 this voltage channel is being used for, and user-space
209 user-space.
213 `in[0-*]_enable`
216 When disabled the sensor read will return -ENODATA.
218 - 1: Enable
219 - 0: Disable
223 `cpu[0-*]_vid`
251 `fan[1-*]_min`
258 `fan[1-*]_max`
266 `fan[1-*]_input`
273 `fan[1-*]_div`
284 `fan[1-*]_pulses`
300 `fan[1-*]_target`
307 Only makes sense if the chip supports closed-loop fan speed
310 `fan[1-*]_label`
316 this fan channel is being used for, and user-space doesn't.
317 In all other cases, the label is provided by user-space.
321 `fan[1-*]_enable`
324 When disabled the sensor read will return -ENODATA.
326 - 1: Enable
327 - 0: Disable
338 `pwm[1-*]`
347 `pwm[1-*]_enable`
350 - 0: no fan speed control (i.e. fan at full speed)
351 - 1: manual fan speed control enabled (using `pwm[1-*]`)
352 - 2+: automatic fan speed control enabled
359 `pwm[1-*]_mode`
360 - 0: DC mode (direct current)
361 - 1: PWM mode (pulse-width modulation)
365 `pwm[1-*]_freq`
373 `pwm[1-*]_auto_channels_temp`
382 `pwm[1-*]_auto_point[1-*]_pwm` / `pwm[1-*]_auto_point[1-*]_temp` / `pwm[1-*]_auto_point[1-*]_temp_h…
385 Number of trip points is chip-dependent. Use this for chips
390 `temp[1-*]_auto_point[1-*]_pwm` / `temp[1-*]_auto_point[1-*]_temp` / `temp[1-*]_auto_point[1-*]_tem…
393 Number of trip points is chip-dependent. Use this for chips
412 `temp[1-*]_type`
419 - 1: CPU embedded diode
420 - 2: 3904 transistor
421 - 3: thermal diode
422 - 4: thermistor
423 - 5: AMD AMDSI
424 - 6: Intel PECI
428 `temp[1-*]_max`
435 `temp[1-*]_min`
442 `temp[1-*]_max_hyst`
452 `temp[1-*]_min_hyst`
461 `temp[1-*]_input`
468 `temp[1-*]_crit`
476 `temp[1-*]_crit_hyst`
486 `temp[1-*]_emergency`
495 `temp[1-*]_emergency_hyst`
505 `temp[1-*]_lcrit`
513 `temp[1-*]_lcrit_hyst`
523 `temp[1-*]_offset`
531 `temp[1-*]_label`
537 this temperature channel is being used for, and user-space
539 user-space.
543 `temp[1-*]_lowest`
550 `temp[1-*]_highest`
557 `temp[1-*]_reset_history`
567 `temp[1-*]_enable`
570 When disabled the sensor read will return -ENODATA.
572 - 1: Enable
573 - 0: Disable
593 `curr[1-*]_max`
600 `curr[1-*]_min`
607 `curr[1-*]_lcrit`
614 `curr[1-*]_crit`
621 `curr[1-*]_input`
628 `curr[1-*]_average`
635 `curr[1-*]_lowest`
642 `curr[1-*]_highest`
647 `curr[1-*]_reset_history`
657 `curr[1-*]_enable`
660 When disabled the sensor read will return -ENODATA.
662 - 1: Enable
663 - 0: Disable
673 `power[1-*]_average`
680 `power[1-*]_average_interval`
689 `power[1-*]_average_interval_max`
696 `power[1-*]_average_interval_min`
703 `power[1-*]_average_highest`
710 `power[1-*]_average_lowest`
717 `power[1-*]_average_max`
719 `power[1-*]_average` when power use
726 `power[1-*]_average_min`
728 `power[1-*]_average` when power use
735 `power[1-*]_input`
742 `power[1-*]_input_highest`
749 `power[1-*]_input_lowest`
756 `power[1-*]_reset_history`
762 `power[1-*]_accuracy`
769 `power[1-*]_cap`
781 `power[1-*]_cap_hyst`
789 `power[1-*]_cap_max`
796 `power[1-*]_cap_min`
803 `power[1-*]_max`
810 `power[1-*]_crit`
822 `power[1-*]_enable`
826 -ENODATA.
828 - 1: Enable
829 - 0: Disable
839 `energy[1-*]_input`
846 `energy[1-*]_enable`
850 -ENODATA.
852 - 1: Enable
853 - 0: Disable
861 `humidity[1-*]_input`
864 Unit: milli-percent (per cent mille, pcm)
869 `humidity[1-*]_enable`
873 -ENODATA.
875 - 1: Enable
876 - 0: Disable
887 Usually a given chip will either use channel-related alarms, or
888 limit-related alarms, not both. The driver should just reflect the hardware
891 +-------------------------------+-----------------------+
892 | **`in[0-*]_alarm`, | Channel alarm |
893 | `curr[1-*]_alarm`, | |
894 | `power[1-*]_alarm`, | - 0: no alarm |
895 | `fan[1-*]_alarm`, | - 1: alarm |
896 | `temp[1-*]_alarm`** | |
898 +-------------------------------+-----------------------+
902 +-------------------------------+-----------------------+
903 | **`in[0-*]_min_alarm`, | Limit alarm |
904 | `in[0-*]_max_alarm`, | |
905 | `in[0-*]_lcrit_alarm`, | - 0: no alarm |
906 | `in[0-*]_crit_alarm`, | - 1: alarm |
907 | `curr[1-*]_min_alarm`, | |
908 | `curr[1-*]_max_alarm`, | RO |
909 | `curr[1-*]_lcrit_alarm`, | |
910 | `curr[1-*]_crit_alarm`, | |
911 | `power[1-*]_cap_alarm`, | |
912 | `power[1-*]_max_alarm`, | |
913 | `power[1-*]_crit_alarm`, | |
914 | `fan[1-*]_min_alarm`, | |
915 | `fan[1-*]_max_alarm`, | |
916 | `temp[1-*]_min_alarm`, | |
917 | `temp[1-*]_max_alarm`, | |
918 | `temp[1-*]_lcrit_alarm`, | |
919 | `temp[1-*]_crit_alarm`, | |
920 | `temp[1-*]_emergency_alarm`** | |
921 +-------------------------------+-----------------------+
928 `fan[1-*]_fault` / `temp[1-*]_fault`
931 - 0: no fault occurred
932 - 1: fault condition
941 - 0: no beeps
942 - 1: beeps
946 `in[0-*]_beep`, `curr[1-*]_beep`, `fan[1-*]_beep`, `temp[1-*]_beep`,
949 - 0: disable
950 - 1: enable
954 In theory, a chip could provide per-limit beep masking, but no such chip
957 Old drivers provided a different, non-standard interface to alarms and
993 `intrusion[0-*]_alarm`
996 - 0: OK
997 - 1: intrusion detected
1006 `intrusion[0-*]_beep`
1021 +--------------+---------------------------------------------------------------+
1025 +--------------+---------------------------------------------------------------+
1034 +--------------+---------------------------------------------------------------+
1037 -------------------------------------
1067 -EINVAL should be returned.
1069 Example1, temp1_max, register is a signed 8 bit value (-128 - 127 degrees)::
1072 v = clamp_val(v, -128, 127);
1084 return -EINVAL;