aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/frontend.cpp
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-10-30 21:21:46 +0100
committerAndreas Oberritter <obi@saftware.de>2008-11-06 01:51:46 +0100
commitfe9c79a96232f5e5dd12158bf948188110412664 (patch)
tree4dd6027271561dfcf28c885d89d534f175289568 /lib/dvb/frontend.cpp
parent8d4316d824f584eb3900fef898de59c9aca8d771 (diff)
downloadenigma2-fe9c79a96232f5e5dd12158bf948188110412664.tar.gz
enigma2-fe9c79a96232f5e5dd12158bf948188110412664.zip
Add DiSEqC reset after voltage enable and tune failed... hopefully this fixes problems with some DiSEqC switches
Diffstat (limited to 'lib/dvb/frontend.cpp')
-rw-r--r--lib/dvb/frontend.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp
index 1bcacc03..635de8f5 100644
--- a/lib/dvb/frontend.cpp
+++ b/lib/dvb/frontend.cpp
@@ -1492,7 +1492,12 @@ void eDVBFrontend::tuneLoop() // called by m_tuneTimer
eDebugNoSimulateNoNewLine("[SEC] sendDiseqc: ");
for (int i=0; i < m_sec_sequence.current()->diseqc.len; ++i)
eDebugNoSimulateNoNewLine("%02x", m_sec_sequence.current()->diseqc.data[i]);
- eDebugNoSimulate("");
+ if (!memcmp(m_sec_sequence.current()->diseqc.data, "\xE0\x00\x00", 3))
+ eDebugNoSimulate("(DiSEqC reset)");
+ else if (!memcmp(m_sec_sequence.current()->diseqc.data, "\xE0\x00\x03", 3))
+ eDebugNoSimulate("(DiSEqC peripherial power on)");
+ else
+ eDebugNoSimulate("");
++m_sec_sequence.current();
break;
case eSecCommand::SEND_TONEBURST: