Skip to content

Commit

Permalink
tinkerboard: disable 5s polling for CEC adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
viulian committed May 11, 2019
1 parent ce48a4e commit 5064706
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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)
{

0 comments on commit 5064706

Please sign in to comment.