Lines Matching +full:phosphor +full:- +full:fan +full:- +full:presence

2     'phosphor-fan-presence',
11 license: 'Apache-2.0',
55 phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces')
56 phosphor_logging_dep = dependency('phosphor-logging')
89 usr_share_dir = '/usr/share/phosphor-fan-presence'
96 get_option('control-persist-root-path'),
100 get_option('control-persist-root-path'),
102 conf.set_quoted('FAN_DEF_YAML_FILE', get_option('fan-def-yaml-file'))
103 conf.set_quoted('FAN_ZONE_YAML_FILE', get_option('fan-zone-yaml-file'))
104 conf.set_quoted('ZONE_EVENTS_YAML_FILE', get_option('zone-events-yaml-file'))
107 get_option('zone-conditions-yaml-file'),
110 # Fan control can be in YAML mode when everything else is in JSON mode
112 if get_option('json-config').allowed() and get_option('json-control').allowed()
117 conf.set('NUM_MONITOR_LOG_ENTRIES', get_option('num-monitor-log-entries'))
118 conf.set_quoted('FAN_MONITOR_YAML_FILE', get_option('fan-monitor-yaml-file'))
119 conf.set('DELAY_HOST_CONTROL', get_option('delay-host-control'))
120 if get_option('monitor-use-host-state').allowed()
124 # JSON-or-YAML (all programs)
125 if get_option('json-config').allowed()
140 get_option('sensor-monitor-persist-root-path'),
143 if get_option('use-host-power-state').allowed()
147 if get_option('skip-power-checking').allowed()
153 get_option('sensor-monitor-hard-shutdown-delay'),
157 get_option('sensor-monitor-soft-shutdown-delay'),
160 log_sensor_name_on_error = get_option('log-sensor-name-on-error')
167 # Presence
168 conf.set('NUM_PRESENCE_LOG_ENTRIES', get_option('num-presence-log-entries'))
169 conf.set_quoted('PRESENCE_YAML_FILE', get_option('presence-config'))
176 if get_option('control-service').allowed()
178 service_files = ['phosphor-fan-control@.service']
180 service_files += 'phosphor-fan-control-init@.service'
185 if get_option('monitor-service').allowed()
187 service_files = ['phosphor-fan-monitor@.service']
188 if not get_option('json-config').allowed()
189 service_files += 'phosphor-fan-monitor-init@.service'
194 if get_option('cooling-type-service').allowed()
196 subdir('cooling-type')
199 if get_option('presence-service').allowed()
201 subdir('presence') subdir
202 services += [['presence', ['phosphor-fan-presence-tach@.service']]]
205 if get_option('sensor-monitor-service').allowed()
206 subdir('sensor-monitor')
208 'sensor-monitor/service_files/sensor-monitor.service',
230 'machine-name',
234 service[0] / 'config_files' / get_option('machine-name'),