Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sensors config:::
fan2:
type: fan
readpath: /xyz/openbmc_project/sensors/fan_tach/fan2
writepath: /sys/class/hwmon/hwmon0/pwm1
min: 0
max: 255
fan6:
type: fan
readpath: /xyz/openbmc_project/sensors/fan_tach/fan6
writepath:
min: 0
max: 0
temp1:
type: temp
readpath: /xyz/openbmc_project/sensors/temperature/temp1
writepath:
min: 0
max: 0
sluggish0:
type: margin
readpath: /xyz/openbmc_project/extsensors/margin/sluggish0
writepath:
min: 0
max: 0
pid config:::
0x01:
fan2-6:
type: fan
inputs:
fan2
fan6
set-point: 90.0
pid:
sampleperiod: 0.1
p_coefficient: 0.01
i_coefficient: 0.001
i_limit:
min: 0
max: 100
out_limit:
min: 0
max: 100
slew_neg: 0
slew_pos: 0
temp1:
type: temp
inputs:
temp1
set-point: 30.0
pid:
sampleperiod: 1
p_coefficient: 94.0
i_coefficient: 2.0
i_limit:
min: 3000
max: 10000
out_limit:
min: 3000
max: 10000
slew_neg: 0
slew_pos: 0
sluggish0:
type: margin
inputs:
sluggish0
set-point: 50
pid:
sampleperiod: 1
p_coefficient: 94.0
i_coefficient: 2.0
i_limit:
min: 3000
max: 10000
out_limit:
min: 3000
max: 10000
slew_neg: 0
slew_pos: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.