[vdr] vdr diseqc equivalence of szap diseqc n ?

Gregoire Favre Gregoire.Favre at gmail.com
Thu Feb 1 23:11:19 CET 2007


Hello,

here VDR's log with your patch :
nice -n -19 ./vdr -u root -c /etc/vdr -l 3 -w 90 -s /usr/local/bin/vdrshutdown -P'xine -r -q'
t: 1170367257.885, c: 0, r: 0, a: ----------------------------------------------
t: 1170367257.885, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_B)
t: 1170367257.921, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367257.921, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_18)
t: 1170367257.941, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367258.129, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367258.297, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367258.449, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_B)
t: 1170367258.485, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_ON)
t: 1170367258.485, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND, &Frontend)
t: 1170367258.507, c: 0, r: 0, a: ==============================================

Then I start xine, no change at all.

I zap :
t: 1170367407.322, c: 0, r: 0, a: ----------------------------------------------
t: 1170367407.322, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_B)
t: 1170367407.357, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367407.358, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)
t: 1170367407.377, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367407.565, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367407.733, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367407.885, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_B)
t: 1170367407.921, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367407.922, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND, &Frontend)
t: 1170367407.944, c: 0, r: 0, a: ==============================================

I start to record "Musique classique" (FTA radio, 13.0E) :
t: 1170367493.771, c: 1, r: 0, a: ----------------------------------------------
t: 1170367493.771, c: 1, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_B)
t: 1170367493.889, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367493.891, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)
t: 1170367493.909, c: 1, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367494.165, c: 1, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367494.401, c: 1, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367494.637, c: 1, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_B)
t: 1170367494.757, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367494.759, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND, &Frontend)
t: 1170367494.811, c: 1, r: 0, a: ==============================================

I zap to Euronews (19.2E):
t: 1170367530.794, c: 0, r: 0, a: ----------------------------------------------
t: 1170367530.794, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_A)
t: 1170367530.830, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367530.830, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)
t: 1170367530.850, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367531.038, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367531.206, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367531.358, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_A)
t: 1170367531.394, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_ON)
t: 1170367531.394, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND, &Frontend)
t: 1170367531.416, c: 0, r: 0, a: ==============================================

??? I didn't remenber being able to do so with a vanilla vdr ???

I tune to FTA channel on 28.2E :
t: 1170367594.434, c: 0, r: 0, a: ----------------------------------------------
t: 1170367594.434, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_A)
t: 1170367594.470, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367594.471, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)
t: 1170367594.490, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367594.678, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367594.846, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367594.998, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_A)
t: 1170367595.034, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367595.034, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND, &Frontend)
t: 1170367595.057, c: 0, r: 0, a: ==============================================

I start to record it :
: 1170367636.723, c: 2, r: 0, a: ----------------------------------------------
t: 1170367636.723, c: 2, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_A)
t: 1170367636.842, c: 2, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367636.844, c: 2, r: 0, a: ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)
t: 1170367636.862, c: 2, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367637.118, c: 2, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367637.354, c: 2, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367637.590, c: 2, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_A)
t: 1170367637.710, c: 2, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367637.712, c: 2, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND, &Frontend)
t: 1170367637.791, c: 2, r: 0, a: ==============================================

I go back to Astra 19.2E :
t: 1170367658.806, c: 0, r: 0, a: ----------------------------------------------
t: 1170367658.807, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_A)
t: 1170367658.842, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1170367658.843, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)
t: 1170367658.862, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367659.050, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367659.218, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1170367659.370, c: 0, r: 0, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, SEC_MINI_A)
t: 1170367659.406, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_ON)
t: 1170367659.407, c: 0, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND, &Frontend)
t: 1170367659.419, c: 0, r: 0, a: ==============================================

In my syslogd :
eb  1 23:07:39 ar vdr: [12124] cAudioRepacker(0xC0): skipped 112 bytes to sync on next audio frame
Feb  1 23:07:39 ar vdr: [12131] PES packet shortened to 982 bytes (expected: 1166 bytes)
Feb  1 23:07:39 ar vdr: [12131] cAudioRepacker(0xC0): skipped 8 bytes to sync on next audio frame
Feb  1 23:07:39 ar vdr: [12131] PES packet shortened to 982 bytes (expected: 1166 bytes)
Feb  1 23:07:39 ar vdr: [12131] cAudioRepacker(0xC6): skipped 8 bytes to sync on next audio frame
Feb  1 23:07:39 ar vdr: [12131] PES packet shortened to 982 bytes (expected: 1166 bytes)
Feb  1 23:07:39 ar vdr: [12131] cAudioRepacker(0xC3): skipped 8 bytes to sync on next audio frame
Feb  1 23:07:39 ar vdr: [12131] PES packet shortened to 982 bytes (expected: 1166 bytes)
Feb  1 23:07:39 ar vdr: [12131] cAudioRepacker(0xC1): skipped 8 bytes to sync on next audio frame
Feb  1 23:07:39 ar vdr: [12131] PES packet shortened to 982 bytes (expected: 1166 bytes)
Feb  1 23:07:39 ar vdr: [12131] cAudioRepacker(0xC4): skipped 8 bytes to sync on next audio frame
Feb  1 23:07:40 ar vdr: [12131] setting audio track to 1 (0)

I don't undestand why it's working now ???

I'll do some more testing and report here :-)

Thank you very much,
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org



More information about the vdr mailing list