Home
last modified time | relevance | path

Searched refs:servo (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/external/autotest/site_utils/rpm_control_system/
Dservo_interface_mapping.csv1 chromeos1-row1-rack10-host1-servo,chromeos1-poe-switch5,fa1
2 chromeos1-row1-rack10-host2-servo,chromeos1-poe-switch5,fa25
3 chromeos1-row1-rack10-host3-servo,chromeos1-poe-switch5,fa26
4 chromeos1-row1-rack10-host4-servo,chromeos1-poe-switch5,fa27
5 chromeos1-row1-rack10-host5-servo,chromeos1-poe-switch5,fa29
6 chromeos1-row1-rack10-host6-servo,chromeos1-poe-switch5,fa30
7 chromeos1-row1-rack11-host1-servo,chromeos1-poe-switch5,fa7
8 chromeos1-row1-rack11-host2-servo,chromeos1-poe-switch5,fa8
9 chromeos1-row1-rack11-host3-servo,chromeos1-poe-switch5,fa33
10 chromeos1-row1-rack11-host4-servo,chromeos1-poe-switch5,fa34
[all …]
/external/autotest/server/cros/faft/utils/
Dmode_switcher.py23 self.servo = faft_framework.servo
73 self.servo.ctrl_d()
82 self.servo.ctrl_u()
87 self.servo.switch_usbkey('host')
89 self.servo.switch_usbkey('dut')
94 psc = self.servo.get_power_state_controller()
101 self.servo.enter_key()
107 self.servo.ctrl_d()
111 self.servo.toggle_recovery_switch()
114 self.servo.power_normal_press()
[all …]
/external/autotest/server/site_tests/firmware_Cr50DeferredECReset/
Dfirmware_Cr50DeferredECReset.py38 self.servo.set('cr50_reset_odl', 'on')
42 self.servo.set('cr50_reset_odl', 'off')
46 self.servo.set('servo_v4_role', 'snk')
56 self.servo.set('servo_v4_role', 'src')
76 self.dts_restore = self.servo.get_dts_mode()
91 self.servo.set('pwr_button', 'press')
92 self.servo.set('pwr_button', 'release')
96 self.servo.get('cr50_reset_odl')
102 self.servo.set('servo_v4_role', 'snk')
111 self.servo.set('servo_v4_role', 'src')
[all …]
/external/autotest/server/cros/
Dusb_mux_controller.py82 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_S0)
83 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_S1)
84 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_S2)
85 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_EN)
97 if 'gpio' + pin not in self.host.servo.system_output(LS_GPIO_DIRECTORY):
98 self.host.servo.system(EXPORT_GPIO_PIN % pin)
99 self.host.servo.system(SET_GPIO_DIRECTION % pin)
114 self.host.servo.system(SET_GPIO_VALUE % (port[0], MUX_S2))
115 self.host.servo.system(SET_GPIO_VALUE % (port[1], MUX_S1))
116 self.host.servo.system(SET_GPIO_VALUE % (port[2], MUX_S0))
[all …]
/external/autotest/server/site_tests/servo_USBMuxVerification/
Dservo_USBMuxVerification.py36 direction = self.servo.get('image_usbkey_direction')
37 pwr = self.servo.get('image_usbkey_pwr')
104 self.servo.set('image_usbkey_direction', 'servo_sees_usbkey')
106 symbolic_dev_name = self.servo.get('image_usbkey_dev')
141 self.servo = host.servo
142 self._original_pwr = self.servo.get('image_usbkey_pwr')
143 self._original_direction = self.servo.get('image_usbkey_direction')
144 self.servo.set('image_usbkey_pwr', 'on')
157 self.servo.set('image_usbkey_direction', 'servo_sees_usbkey')
161 self.servo.set('image_usbkey_pwr', 'off')
[all …]
/external/autotest/server/site_tests/platform_StageAndRecover/
Dplatform_StageAndRecover.py25 self.host.servo.switch_usbkey('host')
33 self.host.servo.set('prtctl4_pwren','on')
35 self.host.servo.set('usb_mux_sel3', 'dut_sees_usbkey')
36 self.host.servo.set('dut_hub1_rst1','on')
39 self.host.servo.set('usb_mux_sel1', 'dut_sees_usbkey')
40 self.host.servo.set('usb_mux_sel1', 'servo_sees_usbkey')
47 self.host.servo.set('usb_mux_sel3', 'servo_sees_usbkey')
48 self.host.servo.set('dut_hub1_rst1','off')
65 self.host.servo.image_to_servo_usb(image_path,
70 self.host.servo.boot_in_recovery_mode()
[all …]
/external/autotest/server/cros/servo/
Dfirmware_programmer.py52 def __init__(self, servo, req_list, servo_host=None): argument
60 self._servo = servo
125 def __init__(self, servo, keep_ro=False): argument
131 super(FlashromProgrammer, self).__init__(servo, ['flashrom',])
259 def __init__(self, servo, host=None, ec_chip=None): argument
273 super(FlashECProgrammer, self).__init__(servo, ['flash_ec'], host)
303 def __init__(self, servo): argument
304 self._servo = servo
363 def _get_flashrom_programmer(self, servo): argument
370 return FlashromProgrammer(servo)
[all …]
Dchrome_base_ec.py9 from autotest_lib.server.cros.servo import chrome_ec
25 def __init__(self, servo, board): argument
34 super(ChromeBaseEC, self).__init__(servo, console_prefix)
105 def create_base_ec(servo): argument
114 base_board = servo.get_base_board()
116 return ChromeBaseEC(servo, base_board)
Dchrome_ec.py12 from autotest_lib.server.cros.servo import servo
54 def __init__(self, servo, name): argument
66 self._servo = servo
90 except servo.ControlUnavailableError:
159 def __init__(self, servo, name="ec_uart"): argument
160 super(ChromeEC, self).__init__(servo, name)
308 def __init__(self, servo): argument
309 super(ChromeUSBPD, self).__init__(servo, "usbpd_uart")
/external/autotest/server/site_tests/firmware_Cr50WPG3/
Dfirmware_Cr50WPG3.py26 self.servo.enable_main_servo_device()
29 self.servo.set_nocheck('fw_wp_state', self._start_fw_wp_state)
30 self.servo.set_nocheck('fw_wp_vref', self._start_fw_wp_vref)
37 devid = self.servo.get('cr50_devid')
45 flashrom_output = self.servo.system_output(self._flashrom_wp_cmd)
58 if not self.servo.dts_mode_is_valid():
74 if self.servo.main_device_is_flex():
75 self._start_fw_wp_state = self.servo.get('fw_wp_state')
76 self._start_fw_wp_vref = self.servo.get('fw_wp_vref')
78 self.servo.set_nocheck('fw_wp_state', 'reset')
[all …]
/external/autotest/docs/
Dfaft-how-to-run-doc.md6 - [ServoV4 Type-A with servo micro](#servov4-typea-micro)
8 - [ServoV4 Type-C with servo micro](#servov4-typec-micro)
33 [servo] board ([servo v2], [servo v4] with [servo micro] or [servo v4 Type-C])
35 The servo board is connected directly to the DUT (Device Under Test) to enable
54 The hardware configuration for running FAFT on a servo v4 Type-A
55 with servo micro includes:
59 - A servo board
61 - servo-micro cable
68 servoV4 Type-A and servo micro, to the test controller, DUT, and network.
70 before plugging in cables and components to the servo.
[all …]
/external/autotest/server/site_tests/platform_CloseOpenLid/
Dplatform_CloseOpenLid.py19 host.servo.lid_close()
22 host.servo.lid_open()
23 host.servo.pass_devmode()
28 host.servo.power_long_press()
32 host.servo.lid_close()
33 host.servo.lid_open()
34 host.servo.pass_devmode()
/external/autotest/server/site_tests/factory_InstallServo/
Dfactory_InstallServo.py26 from autotest_lib.server.cros.servo import servo
37 self.servo = servo.Servo(
40 del self.servo
42 self.servo.initialize_dut(cold_reset=True)
44 self.servo.enable_usb_hub()
45 self.servo_usb_disk = self.servo.probe_host_usb_dev()
66 self.servo.install_recovery_image(image_path=shim_image)
/external/autotest/server/cros/faft/
Dfirmware_test.py23 from autotest_lib.server.cros.servo import chrome_base_ec
24 from autotest_lib.server.cros.servo import chrome_cr50
25 from autotest_lib.server.cros.servo import chrome_ec
26 from autotest_lib.server.cros.servo import servo
43 self.servo = host.servo
46 self.servo.rotate_servod_logs(filename=None)
47 self.servo.initialize_dut()
152 self.ec = chrome_ec.ChromeEC(self.servo)
155 self.usbpd = chrome_ec.ChromeUSBPD(self.servo)
176 self.base_ec = chrome_base_ec.create_base_ec(self.servo)
[all …]
/external/autotest/server/site_tests/servo_LabControlVerification/
Dcontrol9 PURPOSE = "Validate basic, critial servo controls for the lab work."
11 CRITERIA="Run on DUT with a servo attached and a functional DUT on the servo."
13 TEST_CLASS = "servo"
18 This test uses a servo host as DUT and then verifies that basic servod
23 This test needs to run on a device that has a servo attached to it so
24 it can act as a servo host. Additionally, a decently functional DUT needs to
25 hang on the servo so that the controls can have meaningful output.
30 # servo host.
/external/autotest/server/site_tests/firmware_ECWakeSource/
Dfirmware_ECWakeSource.py26 self.servo.set('lid_open', 'yes')
35 self.servo.power_short_press()
54 self.servo.power_normal_press()
60 self.servo.set('lid_open', 'no')
62 self.servo.set('lid_open', 'yes')
66 self.servo.set('lid_open', 'no')
70 self.servo.set('lid_open', 'yes')
77 if self.servo.main_device_is_ccd():
/external/autotest/site_utils/deployment/prepare/
Ddut.py73 host.servo.uart_logs_dir = logs_dir
134 host.servo.image_to_servo_usb(update_url)
146 host.servo.get_power_state_controller().power_off()
147 host.servo.switch_usbkey('off')
158 host.servo.get_power_state_controller().power_on()
178 host.servo.get_power_state_controller().power_off()
181 host.servo.boot_in_recovery_mode()
206 servo = host.servo
210 servo.get_power_state_controller().power_off()
212 servo.switch_usbkey('dut')
[all …]
/external/autotest/server/site_tests/firmware_FlashServoKeyboardMap/
Dfirmware_FlashServoKeyboardMap.py24 servo = host.servo
30 servo.set_nocheck('init_usb_keyboard', 'on')
44 servo.set_get_all(['at_hwb:on',
65 servo.set_get_all(['atmega_rst:on',
82 if 'servo_v4' not in servo.get_servo_version():
83 servo.set('usb_mux_sel4', 'on')
/external/autotest/server/site_tests/firmware_ECLidShutdown/
Dfirmware_ECLidShutdown.py38 self.servo.set('lid_open', 'yes')
57 self.servo.set('ec_uart_regexp', 'None')
71 self.servo.set('lid_open', 'no')
76 if self.servo.get('lid_open') != 'no':
77 self.servo.set('lid_open', 'no')
83 self.servo.set('lid_open', 'yes')
104 self.servo.set('lid_open', 'no')
111 if self.servo.get('lid_open') != 'no':
112 self.servo.set('lid_open', 'no')
/external/autotest/server/site_tests/platform_ExternalUSBBootStress/
Dplatform_ExternalUSBBootStress.py9 from autotest_lib.server.cros.servo import servo
48 host.servo.set('dut_hub1_rst1', reset)
63 host.servo.switch_usbkey('dut')
64 host.servo.set('usb_mux_sel3', 'dut_sees_usbkey')
99 host.servo.get_power_state_controller().reset()
100 host.servo.power_short_press()
101 time.sleep(servo.Servo.BOOT_DELAY)
102 host.servo.ctrl_d()
/external/autotest/server/site_tests/firmware_FwScreenCloseLid/
Dfirmware_FwScreenCloseLid.py28 self.servo.lid_close()
43 self.servo.switch_usbkey('dut')
53 usb_dev = self.servo.probe_host_usb_dev()
62 self.servo.switch_usbkey('host')
63 usb_dev = self.servo.probe_host_usb_dev()
102 pre_power_action=self.servo.lid_open,
118 pre_power_action=self.servo.lid_open,
134 pre_power_action=self.servo.lid_open,
151 pre_power_action=self.servo.lid_open,
175 pre_power_action=self.servo.lid_open,
/external/autotest/server/site_tests/firmware_DevMode/
Dfirmware_DevMode.py9 from autotest_lib.server.cros.servo import chrome_ec
33 self.servo.set_nocheck('volume_up_hold', 100)
35 self.servo.set_nocheck('volume_up_hold', 100)
37 self.servo.set_nocheck('volume_up_hold', 100)
41 self.servo.power_short_press()
45 self.servo.power_short_press()
88 self.servo.get_power_state_controller().power_off()
90 self.servo.power_short_press()
/external/autotest/server/site_tests/firmware_StandbyPowerConsumption/
Dfirmware_StandbyPowerConsumption.py58 self.host.servo.switch_usbkey('host')
59 self.host.servo.set('usb_mux_sel3', 'servo_sees_usbkey')
60 self.host.servo.set('dut_hub1_rst1', 'off')
62 self.host.servo.switch_usbkey('dut')
63 self.host.servo.set('usb_mux_sel3', 'dut_sees_usbkey')
64 self.host.servo.set('dut_hub1_rst1', 'on')
89 self.servo.power_short_press()
98 self.servo.power_short_press()
/external/autotest/server/site_tests/power_USBHotplugInSuspend/
Dpower_USBHotplugInSuspend.py27 self._host.servo.set('prtctl4_pwren', 'on')
29 self._host.servo.set('prtctl4_pwren', 'off')
30 time.sleep(self._host.servo.USB_POWEROFF_DELAY)
102 self._host.servo.switch_usbkey(self._init_usbkey_direction)
111 self._init_usbkey_power = self._host.servo.get('prtctl4_pwren')
112 self._init_usbkey_direction = self._host.servo.get_usbkey_direction()
115 self._host.servo.switch_usbkey('dut')
/external/autotest/server/site_tests/platform_ServoPowerStateController/
Dplatform_ServoPowerStateController.py120 self.host.servo.switch_usbkey('off')
167 self.host.servo.switch_usbkey('off')
171 self.host.servo.switch_usbkey('dut')
181 self.host.servo.switch_usbkey('off')
189 self.host.servo.switch_usbkey('dut')
192 self.host.servo.switch_usbkey('off')
208 self.host.servo.switch_usbkey('off')
247 self.controller = host.servo.get_power_state_controller()

12345678910>>...16