diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-10-30 21:21:46 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@saftware.de> | 2008-11-06 01:41:43 +0100 |
| commit | 4b8de38c639f03b191ce66d85d5b2c894117d4d5 (patch) | |
| tree | 4dd6027271561dfcf28c885d89d534f175289568 /lib/dvb/frontend.cpp | |
| parent | 928c31cf9a5a1195fa3a20835b43a688ae089a01 (diff) | |
| download | enigma2-4b8de38c639f03b191ce66d85d5b2c894117d4d5.tar.gz enigma2-4b8de38c639f03b191ce66d85d5b2c894117d4d5.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.cpp | 7 |
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: |
