[vdr] vdr diseqc equivalence of szap diseqc n ?

Reinhard Nissl rnissl at gmx.de
Thu Feb 1 22:30:13 CET 2007


Hi,

Gregoire Favre wrote:

> Thank you very much for taking a look at VDR diseqc commands sequence :)

Attached is a patch which adds some output to the tuning process.

t: 1170360811.082, c: 0, r: 0, a:
----------------------------------------------
t: 1170360811.082, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE,
SEC_TONE_OFF)
t: 1170360811.085, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_VOLTAGE,
SEC_VOLTAGE_18)
t: 1170360811.169, c: 0, r: 0, a: ioctl(fd_frontend,
FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170360811.205, c: 0, r: 0, a: ioctl(fd_frontend,
FE_DISEQC_SEND_BURST, SEC_MINI_A)
t: 1170360811.225, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE,
SEC_TONE_ON)
t: 1170360811.225, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND,
&Frontend)
t: 1170360811.237, c: 0, r: 0, a:
==============================================
t: 1170360870.235, c: 1, r: 0, a:
----------------------------------------------
t: 1170360870.236, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_TONE,
SEC_TONE_OFF)
t: 1170360870.237, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_VOLTAGE,
SEC_VOLTAGE_18)
t: 1170360870.319, c: 1, r: 0, a: ioctl(fd_frontend,
FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170360870.355, c: 1, r: 0, a: ioctl(fd_frontend,
FE_DISEQC_SEND_BURST, SEC_MINI_B)
t: 1170360870.375, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_TONE,
SEC_TONE_OFF)
t: 1170360870.375, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND,
&Frontend)
t: 1170360870.443, c: 1, r: 0, a:
==============================================
t: 1170360891.319, c: 1, r: 0, a:
----------------------------------------------
t: 1170360891.319, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND,
&Frontend)
t: 1170360891.331, c: 1, r: 0, a:
==============================================

Legend:
t: current time in seconds
c: card index
r: result of action
a: action in the tuning code
-: start tuning
~: failed tuning (didn't locked)
=: succeeded tuning (locked)

As you can see in the above output, VDR tunes card 0 to some channel and
after 60 seconds, the EPG scan starts using card 1. After 20 seconds, it
tunes to a different transponder on the same "band", so there is just
FE_SET_FRONTEND reported.

I'll now add the same output to szap.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tuner.patch
Type: text/x-patch
Size: 4466 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20070201/2bc8b2a1/tuner-0001.bin


More information about the vdr mailing list