Comment 0 for bug 1958195

Revision history for this message
jeremyszu (os369510) wrote :

Some AIO haven't iGPU which causing edid checking failed.

Please check the origin-from-# for detailed logs.

We assuming:

def is_laptop():
    with open('/sys/class/dmi/id/chassis_type', 'r') as fobj:
        chassis_type = fobj.read().replace('\n', '')
        if chassis_type == '10' or chassis_type == '9' or chassis_type == '13':
            return True
    print("Not laptop, notebook or AIO platform, abort EDID check.")
    return False

before checking edid.