def fake(serial): lmp_send_command(serial, "hdmi", "hdmi", "fake")
def disconnect(serial): lmp_send_command(serial, "sata", "sata", "disconnect", need_check_mode=True)
def audio_passthru(serial): lmp_send_command(serial, "lsgpio", "audio", "passthru")
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)
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")
def host_usdb(serial): lmp_send_command(serial, "sdmux", "host", "uSDB", need_check_mode=True)
def host_disconnect(serial): lmp_send_command(serial, "sdmux", "host", "disconnect", need_check_mode=True)
def dut_usda(serial): lmp_send_command(serial, "sdmux", "dut", "uSDA", need_check_mode=True)
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")
def audio_disconnect(serial): lmp_send_command(serial, "lsgpio", "audio", "disconnect")
def b_dir_out(serial): lmp_send_command(serial, "lsgpio", "b-dir", "out")
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")
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")