mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
tinkerboard: disable 5s polling for CEC adapters (solve kwiboo's reviews)
This commit is contained in:
parent
18835008d7
commit
324c9b9e91
@ -88,6 +88,10 @@ configure_package() {
|
||||
KODI_CEC="-DENABLE_CEC=OFF"
|
||||
fi
|
||||
|
||||
if [ "$CEC_FRAMEWORK_SUPPORT" = "yes" ]; then
|
||||
PKG_PATCH_DIRS+=" cec-framework"
|
||||
fi
|
||||
|
||||
if [ "$KODI_OPTICAL_SUPPORT" = yes ]; then
|
||||
KODI_OPTICAL="-DENABLE_OPTICAL=ON"
|
||||
else
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- kodi-rockchip_18.2rc1-Leia.orig/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp 2019-05-12 07:24:23.921984777 +0200
|
||||
+++ kodi-rockchip_18.2rc1-Leia/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp 2019-05-12 07:03:41.221761552 +0200
|
||||
@@ -50,6 +50,10 @@
|
||||
/** the Pi's adapter cannot be removed, no need to rescan */
|
||||
m_bNeedsPolling = false;
|
||||
break;
|
||||
+ case ADAPTERTYPE_LINUX:
|
||||
+ /** the Linux adapter cannot be removed, no need to rescan */
|
||||
+ m_bNeedsPolling = false;
|
||||
+ break;
|
||||
default:
|
||||
break;
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
--- 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)
|
||||
{
|
Loading…
x
Reference in New Issue
Block a user