2017-06-06, 00:55
(2017-06-04, 22:02)vidCanuck Wrote:(2017-06-04, 19:56)fritsch Wrote: Overwrite your edid information, LibreELEC wiki has a howto on how to do that. This will fake an always on TV.
Worked perfect, thanks a lot.
I spoke too soon. It seems to work for a few TV toggles but after 10h or so it reverts back to HDMI.
If you think this is Libreelec specific let me know and I'll post on their forum.
The Kodi log doesn't show much, no errors. Devices are discovered the same:
03:16:56.328 T:140673106503808 NOTICE: Device 4
03:16:56.328 T:140673106503808 NOTICE: m_deviceName : hdmi:CARD=PCH,DEV=0
03:16:56.328 T:140673106503808 NOTICE: m_displayName : HDA Intel PCH
03:16:56.328 T:140673106503808 NOTICE: m_displayNameExtra: GSM LG TV on DisplayPort #0
03:16:56.328 T:140673106503808 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
03:16:56.328 T:140673106503808 NOTICE: m_channels : FL,FR,LFE,FC,BC,BL,BR,FLOC,FROC,BLOC,BROC,TFC,TC,TFL,TFR,UNKNOWN1
03:16:56.328 T:140673106503808 NOTICE: m_sampleRates : 32000,44100,48000
03:16:56.328 T:140673106503808 NOTICE: m_dataFormats : AE_FMT_RAW,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
03:16:56.328 T:140673106503808 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD
10:20:11.694 T:140672996734720 NOTICE: Device 4
10:20:11.694 T:140672996734720 NOTICE: m_deviceName : hdmi:CARD=PCH,DEV=0
10:20:11.694 T:140672996734720 NOTICE: m_displayName : HDA Intel PCH
10:20:11.695 T:140672996734720 NOTICE: m_displayNameExtra: GSM LG TV on HDMI #0
10:20:11.695 T:140672996734720 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
10:20:11.695 T:140672996734720 NOTICE: m_channels : FL,FR,LFE,FC,BC,BL,BR,FLOC,FROC,BLOC,BROC,TFC,TC,TFL,TFR,UNKNOWN1
10:20:11.695 T:140672996734720 NOTICE: m_sampleRates : 32000,44100,48000
10:20:11.695 T:140672996734720 NOTICE: m_dataFormats : AE_FMT_RAW,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
10:20:11.695 T:140672996734720 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD
EDID seems to load ok (from startup log):
[ 0.000000] Kernel command line: root=/dev/ram0 rdinit=/init usbcore.autosuspend=-1 BOOT_IMAGE=/KERNEL boot=LABEL=System disk=LABEL=Storage quiet initrd=/edid.cpio drm_kms_helper.edid_firmware=DP-1:edid/edid.bin video=DP-1:D
[ 2.173297] [drm] Got external EDID base block and 1 extension from "edid/edid.bin" for connector "DP-1"
After several hours when I turn the TV on and check settings it's still DisplayPort but as soon as I try to play TV (no audio) I get:
18:59:16.862 T:140269547980544 NOTICE: Found 2 Lists of Devices
18:59:16.862 T:140269547980544 NOTICE: Enumerated ALSA devices:
and then the device shows up as HDMI again.
Update -----------------------------------------------------------------------------------------------------
Fixed this by setting "Keep audio device alive" to "Always"