How to find out modeline without attaching actual device?
Dear Linux folks,
regarding modelines problems with some TVs [1] and EDID quirks, Ian sent nice patches for [2], is there a way to test what modeline the DRM subsystem would choose without actually attaching the device?
The problem is, the TV is at a different place and I rarely have access to it. So it would be great if I could just use some kind of simulator and pass the EDID to it, what connector it is on (though this should not matter) and I get the calculated modeline as a result.
This should be enough since I already know what modeline works.
Thanks,
Paul
[1] https://bugs.freedesktop.org/show_bug.cgi?id=26294
[2] http://lists.freedesktop.org/archives/dri-devel/2012-August/026264.html
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Paul,
Quoted 6 lines · On Sun, 12 August 2012 Paul Menzel <[email protected]> wrote:
Dear Linux folks,
regarding modelines problems with some TVs [1] and EDID quirks, Ian sent nice patches for [2], is there a way to test what modeline the DRM subsystem would choose without actually attaching the device?
Quoted 6 lines
The problem is, the TV is at a different place and I rarely have access to it. So it would be great if I could just use some kind of simulator and pass the EDID to it, what connector it is on (though this should not matter) and I get the calculated modeline as a result.
This should be enough since I already know what modeline works.
I think you can, by plugging a monitor of your choice and injecting the EDID you want to test with drm_kms_helper's edid_firmware parameter.
It will then load the EDID from /lib/firmware/ instead of asking the monitor.
Select CONFIG_DRM_LOAD_EDID_FIRMWARE, then when loading drm_kms_helper.ko set edid_firmware=VGA1:edid/myedid.bin module option to load EDID from /lib/firmware/edid/myedid.bin.
See also Documentation/EDID/HOWTO.txt
Bruno
Quoted 7 lines
Thanks,
Paul
[1] https://bugs.freedesktop.org/show_bug.cgi?id=26294
[2] http://lists.freedesktop.org/archives/dri-devel/2012-August/026264.html