From a135f7e6417de0ca62ce5f7ba6f893b69f90a7db Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 6 Jan 2018 19:46:53 +0100 Subject: [PATCH] try to fix 'FE_SET_PROPERTY: Operation not permitted' on cst after add dvb-s2x Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/490b10b6a1af0cdd763066571a87375e4dd6393d Author: Jacek Jendrzej Date: 2018-01-06 (Sat, 06 Jan 2018) --- src/zapit/src/frontend.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/frontend.cpp b/src/zapit/src/frontend.cpp index d45cd01f7..27db2fab1 100644 --- a/src/zapit/src/frontend.cpp +++ b/src/zapit/src/frontend.cpp @@ -79,7 +79,11 @@ extern int zapit_debug; #define FE_COMMON_PROPS 2 #define FE_DVBS_PROPS 6 -#define FE_DVBS2_PROPS 9 +#if HAVE_COOL_HARDWARE + #define FE_DVBS2_PROPS 8 +#else + #define FE_DVBS2_PROPS 9 +#endif #define FE_DVBC_PROPS 6 #define FE_DVBT_PROPS 10 #define FE_DVBT2_PROPS 11 @@ -106,7 +110,9 @@ static const struct dtv_property dvbs2_cmdargs[] = { { DTV_INNER_FEC, {}, { FEC_AUTO } ,0}, { DTV_PILOT, {}, { PILOT_AUTO } ,0}, { DTV_ROLLOFF, {}, { ROLLOFF_AUTO } ,0}, +#if ! HAVE_COOL_HARDWARE { DTV_STREAM_ID, {}, { NO_STREAM_ID_FILTER } ,0}, +#endif { DTV_TUNE, {}, { 0 } ,0 } };