From 5064706807df023e28de772f48018548513e60c2 Mon Sep 17 00:00:00 2001 From: viulian Date: Sat, 11 May 2019 09:23:55 +0200 Subject: [PATCH] tinkerboard: disable 5s polling for CEC adapters --- .../kodi-100.17-tinker-s-cec-disable-polling.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 projects/Rockchip/devices/TinkerBoard/patches/kodi/kodi-100.17-tinker-s-cec-disable-polling.patch diff --git a/projects/Rockchip/devices/TinkerBoard/patches/kodi/kodi-100.17-tinker-s-cec-disable-polling.patch b/projects/Rockchip/devices/TinkerBoard/patches/kodi/kodi-100.17-tinker-s-cec-disable-polling.patch new file mode 100644 index 00000000000..7b3bf8f8fde --- /dev/null +++ b/projects/Rockchip/devices/TinkerBoard/patches/kodi/kodi-100.17-tinker-s-cec-disable-polling.patch @@ -0,0 +1,13 @@ +--- kodi-rockchip_18.2rc1-Leia/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp 2019-04-15 22:19:08.000000000 +0200 ++++ kodi-rockchip_18.2rc1-Leia.orig/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp 2019-05-08 22:10:51.803079157 +0200 +@@ -38,6 +38,10 @@ + result.m_strLocation = deviceList[iDevicePtr].strComName; + result.m_type = PERIPHERAL_CEC; + ++ // can't use the switch below, as on Asus Tinker S both the adapterType as well as the vendorId seem to be 0 (UNKNOWN) according to libcec ++ // for now, hard code it to false, as the adapter can't be removed, just as on PI's case. ++ m_bNeedsPolling = false; ++ + // override the bus type, so users don't have to reconfigure their adapters + switch(deviceList[iDevicePtr].adapterType) + {