Lines Matching refs:servod
40 CONFIG_FILE = '/var/lib/servod/config'
119 This tests the config file names used by the `servod` upstart
154 This tests the config file names used by the `servod` upstart
179 Verifier to check that the `servod` upstart job is running.
185 status_cmd = 'status servod PORT=%d' % host.servo_port
189 'servod not running on %s port %d' %
194 return 'servod upstart job is running'
199 Verifier to check that we can connect to `servod`.
201 This tests the connection to the target servod service with a simple
215 return 'servod service is taking calls'
260 """Restart `servod` with the proper BOARD setting."""
265 'Can\'t restart servod: not running '
267 host.run('stop servod PORT=%d || true' % host.servo_port)
270 host.run('start servod BOARD=%s PORT=%d %s' %
276 'servod assuming a pre-configured '
278 host.run('start servod PORT=%d %s' % (host.servo_port, serial))
279 # There's a lag between when `start servod` completes and when
295 return 'Start servod with the proper config settings.'
336 (_ServodConnectionVerifier, 'servod', ['job']),
337 (_PowerButtonVerifier, 'pwr_button', ['servod']),
338 (_LidVerifier, 'lid_open', ['servod']),
349 servod_deps = ['job', 'servod', 'pwr_button', 'lid_open']