Lines Matching refs:servod
76 # Command line to start servod in a moblab.
77 START_SERVOD_CMD = 'sudo start servod BOARD=%s PORT=%s'
78 STOP_SERVOD_CMD = 'sudo stop servod'
266 """Try to start servod in moblab if it's not already running or running with
274 logging.debug('Trying to start servod.')
282 logging.warn('Starting servod is aborted. The dut\'s servo_host '
287 logging.error('Failed to get board name from AFE. Start servod is '
292 pid = utils.run('pgrep servod').stdout
296 logging.debug('Servod is already running with given board and port.'
297 ' There is no need to restart servod.')
299 logging.debug('Servod is running with different board or port. '
300 'Stopping existing servod.')
301 utils.run('sudo stop servod')
303 # servod is not running.
308 logging.debug('Servod is started')
310 logging.error('Servod failed to be started, error: %s', e)