Hello
is it possible to logging the sending of diseqs command, like this
Dec 4 16:03:38 vdr[14005]: Rotor-command E0 31 6E D0 73 sent Dec 4 16:03:38 vdr[14005]: Diseqc E0 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Diseqc E1 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Diseqc E1 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Rotor-command E1 31 6E D0 73 sent
Igor
On 09/02/07 18:35, Igor Nikanov wrote:
Hello
is it possible to logging the sending of diseqs command, like this
Dec 4 16:03:38 vdr[14005]: Rotor-command E0 31 6E D0 73 sent Dec 4 16:03:38 vdr[14005]: Diseqc E0 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Diseqc E1 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Diseqc E1 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Rotor-command E1 31 6E D0 73 sent
Not out-of-the-box, but you can add code to cDvbTuner::SetFrontend() if you need it.
Klaus
On 09/02/07 18:35, Igor Nikanov wrote:
Hello
is it possible to logging the sending of diseqs command, like this
Dec 4 16:03:38 vdr[14005]: Rotor-command E0 31 6E D0 73 sent Dec 4 16:03:38 vdr[14005]: Diseqc E0 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Diseqc E1 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Diseqc E1 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Rotor-command E1 31 6E D0 73 sent
In dvbdevice.c search for:
diseqcCommands = diseqc->Commands();
and immediately following it add:
isyslog("Sent DISEQC command: %s", diseqcCommands);
Dec 4 16:03:38 vdr[14005]: Rotor-command E0 31 6E D0 73 sent Dec 4 16:03:38 vdr[14005]: Diseqc E0 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Diseqc E1 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Diseqc E1 31 6B 1 sent. Dec 4 16:03:38 vdr[14005]: Rotor-command E1 31 6E D0 73 sent
In dvbdevice.c search for:
diseqcCommands = diseqc->Commands();
and immediately following it add:
isyslog("Sent DISEQC command: %s", diseqcCommands);
is it enough to write only one part of diseqc command, for example
isyslog("Sent DISEQC command: %s", E0); isyslog("Sent DISEQC command: %s", E1);
regards Igor
is it enough to write only one part of diseqc command, for example
isyslog("Sent DISEQC command: %s", E0); isyslog("Sent DISEQC command: %s", E1);
sorry for my last foolish question
After adding this string
isyslog("Sent DISEQC command: %s", diseqcCommands);
I can see diseqc logs
Sep 3 23:33:32 arvdr vdr: [10764] Sent DISEQC command: t v W15 [E0 10 38 F1] W15 T
but I didn't see in syslog any diseqc command from rotor plugin. Is it right ?
Igor