forked from LibreELEC/LibreELEC.tv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tinkerboard: disable 5s polling for CEC adapters
- Loading branch information
viulian
committed
May 11, 2019
1 parent
ce48a4e
commit 5064706
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
.../Rockchip/devices/TinkerBoard/patches/kodi/kodi-100.17-tinker-s-cec-disable-polling.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
{ |