I have attempted to follow the instructions in this thread in order to force edid settings to be loaded from a file:
http://forum.kodi.tv/showthread.php?tid=...pid2148505
I have checked which HDMI port is conected - they both are:
Code:
matt@kodi:~$ cat /sys/class/drm/card0-HDMI-A-1/status
connected
matt@kodi:~$ cat /sys/class/drm/card0-HDMI-A-2/status
connected
Since I want the output over HDMI 2 I have copied this edid to a file:
Code:
matt@kodi:~$ sudo cp /sys/class/drm/card0-HDMI-A-2/edid /lib/firmware/edid/edid.bin
and made the following change in /etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=HDMI-A-2:1920x1080@24D drm_kms_helper.edid_firmware=HDMI-A-2:edid/edid.bin"
I have then added the script posted: "/etc/initramfs-tools/hooks/include-edid-data"
Code:
#!/bin/sh
PREREQ="udev"
prereqs()
{
echo "$PREREQ"
}
case $1 in
prereqs)
prereqs
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
# Begin real processing below this line
if [ ! -e "${DESTDIR}/lib/firmware/edid" ]; then
mkdir -p "${DESTDIR}/lib/firmware/edid"
fi
if [ -r "/lib/firmware/edid/edid.bin" ]; then
cp "/lib/firmware/edid/edid.bin" "${DESTDIR}/lib/firmware/edid/"
fi
manual_add_modules i915 radeon
exit 0
...and make it executable:
Code:
sudo chmod +x /etc/initramfs-tools/hooks/include-edid-data
Then...
Code:
matt@kodi:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.13.0-68-generic
sudo update-grubmatt@kodi:~$ sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-68-generic
Found initrd image: /boot/initrd.img-3.13.0-68-generic
Found linux image: /boot/vmlinuz-3.13.0-66-generic
Found initrd image: /boot/initrd.img-3.13.0-66-generic
Found linux image: /boot/vmlinuz-3.13.0-65-generic
Found initrd image: /boot/initrd.img-3.13.0-65-generic
Found linux image: /boot/vmlinuz-3.13.0-63-generic
Found initrd image: /boot/initrd.img-3.13.0-63-generic
Found linux image: /boot/vmlinuz-3.13.0-62-generic
Found initrd image: /boot/initrd.img-3.13.0-62-generic
Found linux image: /boot/vmlinuz-3.13.0-61-generic
Found initrd image: /boot/initrd.img-3.13.0-61-generic
Found linux image: /boot/vmlinuz-3.13.0-57-generic
Found initrd image: /boot/initrd.img-3.13.0-57-generic
Found linux image: /boot/vmlinuz-3.13.0-55-generic
Found initrd image: /boot/initrd.img-3.13.0-55-generic
Found linux image: /boot/vmlinuz-3.13.0-53-generic
Found initrd image: /boot/initrd.img-3.13.0-53-generic
Found linux image: /boot/vmlinuz-3.13.0-52-generic
Found initrd image: /boot/initrd.img-3.13.0-52-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found initrd image: /boot/initrd.img-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-43-generic
Found initrd image: /boot/initrd.img-3.13.0-43-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Is this supposed to always ensure that kodi will get the correct HDMI connection?
Now, after reboot, I get no picture