Lines Matching +full:pwm +full:- +full:number

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
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
47 The common scheme for files naming is: <type><number>_<item>. Usual
52 this). A number is always used for elements that can be present more
55 they have a simple name, and no number.
61 to cause an alarm) is chip-dependent.
64 the desired value must be written, note that strings which are not a number
69 ----------------
76 -------------------------------------------------------------------------
79 `[0-*]` denotes any positive number starting from 0
80 `[1-*]` denotes any positive number starting from 1
86 Read/write values may be read-only for some chips, depending on the
121 `in[0-*]_min`
128 `in[0-*]_lcrit`
139 `in[0-*]_max`
146 `in[0-*]_crit`
157 `in[0-*]_input`
178 `in[0-*]_average`
185 `in[0-*]_lowest`
192 `in[0-*]_highest`
199 `in[0-*]_reset_history`
209 `in[0-*]_label`
215 this voltage channel is being used for, and user-space
217 user-space.
221 `in[0-*]_enable`
224 When disabled the sensor read will return -ENODATA.
226 - 1: Enable
227 - 0: Disable
231 `cpu[0-*]_vid`
241 Voltage Regulator Module version number.
246 an arbitrary number, as not all standards have a version
247 number.
252 `in[0-*]_rated_min`
259 `in[0-*]_rated_max`
273 `fan[1-*]_min`
280 `fan[1-*]_max`
288 `fan[1-*]_input`
295 `fan[1-*]_div`
306 `fan[1-*]_pulses`
307 Number of tachometer pulses per fan revolution.
318 the number of pulses. In the absence of such a register (and
322 `fan[1-*]_target`
329 Only makes sense if the chip supports closed-loop fan speed
332 `fan[1-*]_label`
338 this fan channel is being used for, and user-space doesn't.
339 In all other cases, the label is provided by user-space.
343 `fan[1-*]_enable`
346 When disabled the sensor read will return -ENODATA.
348 - 1: Enable
349 - 0: Disable
357 PWM subsection
360 `pwm[1-*]`
369 `pwm[1-*]_enable`
372 - 0: no fan speed control (i.e. fan at full speed)
373 - 1: manual fan speed control enabled (using `pwm[1-*]`)
374 - 2+: automatic fan speed control enabled
381 `pwm[1-*]_mode`
382 - 0: DC mode (direct current)
383 - 1: PWM mode (pulse-width modulation)
387 `pwm[1-*]_freq`
388 Base PWM frequency in Hz.
390 Only possibly available when pwmN_mode is PWM, but not always
395 `pwm[1-*]_auto_channels_temp`
396 Select which temperature channels affect this PWM output in
404 `pwm[1-*]_auto_point[1-*]_pwm` / `pwm[1-*]_auto_point[1-*]_temp` / `pwm[1-*]_auto_point[1-*]_temp_h…
405 Define the PWM vs temperature curve.
407 Number of trip points is chip-dependent. Use this for chips
408 which associate trip points to PWM output channels.
412 `temp[1-*]_auto_point[1-*]_pwm` / `temp[1-*]_auto_point[1-*]_temp` / `temp[1-*]_auto_point[1-*]_tem…
413 Define the PWM vs temperature curve.
415 Number of trip points is chip-dependent. Use this for chips
420 There is a third case where trip points are associated to both PWM output
421 channels and temperature channels: the PWM values are associated to PWM
424 temperature inputs and PWM outputs. When several temperature inputs are
425 mapped to a given PWM output, this leads to several candidate PWM values.
434 `temp[1-*]_type`
441 - 1: CPU embedded diode
442 - 2: 3904 transistor
443 - 3: thermal diode
444 - 4: thermistor
445 - 5: AMD AMDSI
446 - 6: Intel PECI
450 `temp[1-*]_max`
457 `temp[1-*]_min`
464 `temp[1-*]_max_hyst`
474 `temp[1-*]_min_hyst`
483 `temp[1-*]_input`
490 `temp[1-*]_crit`
498 `temp[1-*]_crit_hyst`
508 `temp[1-*]_emergency`
517 `temp[1-*]_emergency_hyst`
527 `temp[1-*]_lcrit`
535 `temp[1-*]_lcrit_hyst`
545 `temp[1-*]_offset`
553 `temp[1-*]_label`
559 this temperature channel is being used for, and user-space
561 user-space.
565 `temp[1-*]_lowest`
572 `temp[1-*]_highest`
579 `temp[1-*]_reset_history`
589 `temp[1-*]_enable`
592 When disabled the sensor read will return -ENODATA.
594 - 1: Enable
595 - 0: Disable
599 `temp[1-*]_rated_min`
606 `temp[1-*]_rated_max`
629 `curr[1-*]_max`
636 `curr[1-*]_min`
643 `curr[1-*]_lcrit`
650 `curr[1-*]_crit`
657 `curr[1-*]_input`
664 `curr[1-*]_average`
671 `curr[1-*]_lowest`
678 `curr[1-*]_highest`
683 `curr[1-*]_reset_history`
693 `curr[1-*]_enable`
696 When disabled the sensor read will return -ENODATA.
698 - 1: Enable
699 - 0: Disable
703 `curr[1-*]_rated_min`
710 `curr[1-*]_rated_max`
723 `power[1-*]_average`
730 `power[1-*]_average_interval`
739 `power[1-*]_average_interval_max`
746 `power[1-*]_average_interval_min`
753 `power[1-*]_average_highest`
760 `power[1-*]_average_lowest`
767 `power[1-*]_average_max`
769 `power[1-*]_average` when power use
776 `power[1-*]_average_min`
778 `power[1-*]_average` when power use
785 `power[1-*]_input`
792 `power[1-*]_input_highest`
799 `power[1-*]_input_lowest`
806 `power[1-*]_reset_history`
812 `power[1-*]_accuracy`
819 `power[1-*]_cap`
831 `power[1-*]_cap_hyst`
839 `power[1-*]_cap_max`
846 `power[1-*]_cap_min`
853 `power[1-*]_max`
860 `power[1-*]_crit`
872 `power[1-*]_enable`
876 -ENODATA.
878 - 1: Enable
879 - 0: Disable
883 `power[1-*]_rated_min`
890 `power[1-*]_rated_max`
903 `energy[1-*]_input`
910 `energy[1-*]_enable`
914 -ENODATA.
916 - 1: Enable
917 - 0: Disable
925 `humidity[1-*]_input`
928 Unit: milli-percent (per cent mille, pcm)
933 `humidity[1-*]_enable`
937 -ENODATA.
939 - 1: Enable
940 - 0: Disable
944 `humidity[1-*]_rated_min`
947 Unit: milli-percent (per cent mille, pcm)
951 `humidity[1-*]_rated_max`
954 Unit: milli-percent (per cent mille, pcm)
965 Usually a given chip will either use channel-related alarms, or
966 limit-related alarms, not both. The driver should just reflect the hardware
969 +-------------------------------+-----------------------+
970 | **`in[0-*]_alarm`, | Channel alarm |
971 | `curr[1-*]_alarm`, | |
972 | `power[1-*]_alarm`, | - 0: no alarm |
973 | `fan[1-*]_alarm`, | - 1: alarm |
974 | `temp[1-*]_alarm`** | |
976 +-------------------------------+-----------------------+
980 +-------------------------------+-----------------------+
981 | **`in[0-*]_min_alarm`, | Limit alarm |
982 | `in[0-*]_max_alarm`, | |
983 | `in[0-*]_lcrit_alarm`, | - 0: no alarm |
984 | `in[0-*]_crit_alarm`, | - 1: alarm |
985 | `curr[1-*]_min_alarm`, | |
986 | `curr[1-*]_max_alarm`, | RO |
987 | `curr[1-*]_lcrit_alarm`, | |
988 | `curr[1-*]_crit_alarm`, | |
989 | `power[1-*]_cap_alarm`, | |
990 | `power[1-*]_max_alarm`, | |
991 | `power[1-*]_crit_alarm`, | |
992 | `fan[1-*]_min_alarm`, | |
993 | `fan[1-*]_max_alarm`, | |
994 | `temp[1-*]_min_alarm`, | |
995 | `temp[1-*]_max_alarm`, | |
996 | `temp[1-*]_lcrit_alarm`, | |
997 | `temp[1-*]_crit_alarm`, | |
998 | `temp[1-*]_emergency_alarm`** | |
999 +-------------------------------+-----------------------+
1006 `fan[1-*]_fault` / `temp[1-*]_fault`
1009 - 0: no fault occurred
1010 - 1: fault condition
1019 - 0: no beeps
1020 - 1: beeps
1024 `in[0-*]_beep`, `curr[1-*]_beep`, `fan[1-*]_beep`, `temp[1-*]_beep`,
1027 - 0: disable
1028 - 1: enable
1032 In theory, a chip could provide per-limit beep masking, but no such chip
1035 Old drivers provided a different, non-standard interface to alarms and
1071 `intrusion[0-*]_alarm`
1074 - 0: OK
1075 - 1: intrusion detected
1084 `intrusion[0-*]_beep`
1097 attributes for controlling number of samples used to compute average.
1099 +--------------+---------------------------------------------------------------+
1100 | samples | Sets number of average samples for all types of measurements. |
1103 +--------------+---------------------------------------------------------------+
1104 | in_samples | Sets number of average samples for specific type of |
1112 +--------------+---------------------------------------------------------------+
1115 -------------------------------------
1118 convert the input to a number, there are 2 ways todo this depending whether
1119 the number can be negative or not::
1145 -EINVAL should be returned.
1147 Example1, temp1_max, register is a signed 8 bit value (-128 - 127 degrees)::
1150 v = clamp_val(v, -128, 127);
1162 return -EINVAL;