@ -68,9 +68,11 @@ def all_connected_monitor():
)
def get_edid_name(drm_name):
def get_edid_name(drm_name: str):
"""Change eGalax DRM name to atom name"""
return "#TODO"
card_num, name = drm_name[4:].split("-", maxsplit=1)
first, second = name.rsplit("-", maxsplit=1)
return first + "-" + card_num + "-" + second
def prepare_monitors(config):