Record EDID in LibreELEC for a Display that’s Not Always On

A quick explanation for anyone not knowing what these are – I had to search for the solution to my problem, and this is what I came up with. I have a projector that’s not always on connected to a Raspberry Pi running LibreELEC as a video server. This works wonderfully well, although sometimes I have to reboot it for it to notice that the projector is on and start sending video over the HDMI cable. It turns out that it needs something called the EDID (Extended Display Identification Data) to know what the capabilities of the attached display are. There’s a way to save this information in a file and then tell the Raspberry Pi to look there for its information instead of from the HDMI cable. This works to keep it happy even when the display wasn’t on for a while or when the Pi first booted up.

I grabbed the following from here. I wanted a record of it on this site so I can find it easier next time I need it.

Remount /flash as writeable:

mount -o remount,rw /flash

Edit the config.txt

nano /flash/config.txt

i added hdmi_edid_file=1 and uncomment hdmi_force_hotplug=1 , change or uncommnet nothing else

exit nano and write changes.

Next create the edid file with direct connection to your tv:

tvservice -d edid.dat

and copy the file to /flash

cp edid.dat /flash

make /flash readonly

mount -o remount,ro /flash

Leave a Reply