Lines Matching refs:servod
63 # Command line to start servod in a moblab.
64 START_SERVOD_CMD = 'sudo start servod BOARD=%s PORT=%s'
65 STOP_SERVOD_CMD = 'sudo stop servod'
250 """Try to start servod in moblab if it's not already running or running with
258 logging.debug('Trying to start servod.')
266 logging.warn('Starting servod is aborted. The dut\'s servo_host '
271 logging.error('Failed to get board name from AFE. Start servod is '
276 pid = utils.run('pgrep servod').stdout
280 logging.debug('Servod is already running with given board and port.'
281 ' There is no need to restart servod.')
283 logging.debug('Servod is running with different board or port. '
284 'Stopping existing servod.')
285 utils.run('sudo stop servod')
287 # servod is not running.
292 logging.debug('Servod is started')
294 logging.error('Servod failed to be started, error: %s', e)