def METHOD_NAME(mode):
    """ Enter user interface. """
    o = utils_misc.wait_for(
        lambda: _send_key(enter_key[mode], False), ack_timeout, step=0.0)
    if not o:
        test.fail('Failed to enter user interface in %s sec.' % ack_timeout)
    return o