From 86a931206e5e0ef30d06a4a7b455f36e8ecea815 Mon Sep 17 00:00:00 2001 From: IngoF Date: Thu, 22 Aug 2019 17:09:53 +0000 Subject: [PATCH] Seems there is a timing problem. see here: https://www.neutrino-images.de/board/viewtopic.php?f=26&t=3759&start=20 there is a big timing difference to my TV-timing. Maybe the delay starts at the beginning of the telegram an not at the end of the telegram. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a88f822bee198866d6544de55f59f50b9ea382e0 Author: IngoF Date: 2019-08-22 (Thu, 22 Aug 2019) ------------------ This commit was generated by Migit --- src/zapit/src/frontend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zapit/src/frontend.cpp b/src/zapit/src/frontend.cpp index 2f02bea19..97efef53e 100644 --- a/src/zapit/src/frontend.cpp +++ b/src/zapit/src/frontend.cpp @@ -1724,7 +1724,7 @@ uint32_t CFrontend::sendEN50494TuningCommand(const uint32_t frequency, const int } fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18); usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */ - sendDiseqcCommand(&cmd, 80); /* en50494 says: >2ms and < 60 ms */ + sendDiseqcCommand(&cmd, 120); /* en50494 says: >2ms and < 60 ms -- it seems we must add the lengthe of telegramm itself (~65ms)*/ fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt); } return ret; @@ -1761,7 +1761,7 @@ uint32_t CFrontend::sendEN50607TuningCommand(const uint32_t frequency, const int high_band; /* high_band == 0x01 */ fop(ioctl, FE_SET_VOLTAGE, SEC_VOLTAGE_18); usleep(20 * 1000); /* en50494 says: >4ms and < 22 ms */ - sendDiseqcCommand(&cmd, 80); /* en50494 says: >2ms and < 60 ms */ + sendDiseqcCommand(&cmd, 120); /* en50494 says: >2ms and < 60 ms -- it seems we must add the lengthe of telegramm itself (~65ms)*/ fop(ioctl, FE_SET_VOLTAGE, unicable_lowvolt); } return ret;