def fake(serial):
    lmp_send_command(serial, "hdmi", "hdmi", "fake")
Beispiel #2
0
def disconnect(serial):
    lmp_send_command(serial, "sata", "sata", "disconnect", need_check_mode=True)
Beispiel #3
0
def audio_passthru(serial):
    lmp_send_command(serial, "lsgpio", "audio", "passthru")
Beispiel #4
0
def b_dir_out(serial):
    lmp_send_command(serial, "lsgpio", "b-dir", "out")
def host_disconnect(serial):
    lmp_send_command(serial,
                     "sdmux",
                     "host",
                     "disconnect",
                     need_check_mode=True)
def dut_power_on(serial):
    lmp_send_command(serial,
                     "sdmux",
                     "dut-power",
                     "short-for-on",
                     need_check_mode=True)
def host(serial):
    lmp_send_command(serial, "usb", "usb", "host")
def passthru(serial):
    lmp_send_command(serial, "eth", "eth", "passthru", need_check_mode=True)
Beispiel #9
0
def dut_power_on(serial):
    lmp_send_command(serial, "sdmux", "dut-power", "short-for-on", need_check_mode=True)
def device(serial):
    lmp_send_command(serial, "usb", "usb", "device")
Beispiel #11
0
def host_usdb(serial):
    lmp_send_command(serial, "sdmux", "host", "uSDB", need_check_mode=True)
Beispiel #12
0
def host_disconnect(serial):
    lmp_send_command(serial, "sdmux", "host", "disconnect", need_check_mode=True)
Beispiel #13
0
def dut_usda(serial):
    lmp_send_command(serial, "sdmux", "dut", "uSDA", need_check_mode=True)
Beispiel #14
0
def passthru(serial):
    lmp_send_command(serial, "sata", "sata", "passthru", need_check_mode=True)
def disconnect(serial):
    lmp_send_command(serial, "usb", "usb", "disconnect")
def disconnect(serial):
    lmp_send_command(serial, "eth", "eth", "disconnect", need_check_mode=True)
def audio_disconnect(serial):
    lmp_send_command(serial, "lsgpio", "audio", "disconnect")
def dut_usda(serial):
    lmp_send_command(serial, "sdmux", "dut", "uSDA", need_check_mode=True)
def audio_passthru(serial):
    lmp_send_command(serial, "lsgpio", "audio", "passthru")
def host_usdb(serial):
    lmp_send_command(serial, "sdmux", "host", "uSDB", need_check_mode=True)
def b_dir_in(serial):
    lmp_send_command(serial, "lsgpio", "b-dir", "in")
Beispiel #22
0
def audio_disconnect(serial):
    lmp_send_command(serial, "lsgpio", "audio", "disconnect")
def b_dir_out(serial):
    lmp_send_command(serial, "lsgpio", "b-dir", "out")
Beispiel #24
0
def b_dir_in(serial):
    lmp_send_command(serial, "lsgpio", "b-dir", "in")
def a_data_in(serial):
    response = lmp_send_command(serial, "lsgpio", "a-dir", "in")
    report_lsgpio = get_one_of_report(response, "lsgpio")
    return _get_port_value(report_lsgpio["bus"], "a")
Beispiel #26
0
def a_data_in(serial):
    response = lmp_send_command(serial, "lsgpio", "a-dir", "in")
    report_lsgpio = get_one_of_report(response, "lsgpio")
    return _get_port_value(report_lsgpio["bus"], "a")
def passthru(serial):
    lmp_send_command(serial, "hdmi", "hdmi", "passthru")