Das liegt letztendlich am DiseqC, ich nutze 15ms Pausen zwischen den DiseqC Befehlen, deine Anlage braucht wohl mehr. Das müsstest du im ezap2.c anpassen - du weisst ja anhand der vdr diseqc.conf ziemlich genau was deine Anlage braucht, oder?
Pass in diesem Code die usleeps an, dann wird es durchlaufen.
struct diseqc_cmd {
struct dvb_diseqc_master_cmd cmd;
uint32_t wait;
};
void diseqc_send_msg(int fd, fe_sec_voltage_t v, struct diseqc_cmd *cmd,
fe_sec_tone_mode_t t, fe_sec_mini_cmd_t b)
{
int err=0;
if (ioctl(fd, FE_SET_TONE, SEC_TONE_OFF) == -1){
perror("FE_SET_TONE failed"); err=1;
}
if (ioctl(fd, FE_SET_VOLTAGE, v) == -1){
perror("FE_SET_VOLTAGE failed");err=1;
}
usleep(15 * 1000);
if (ioctl(fd, FE_DISEQC_SEND_MASTER_CMD, &cmd->cmd) == -1){
perror("FE_DISEQC_SEND_MASTER_CMD failed");err=1;
}
usleep(cmd->wait * 1000);
usleep(15 * 1000);
if (ioctl(fd, FE_DISEQC_SEND_BURST, b) == -1){
perror("FE_DISEQC_SEND_BURST failed");err=1;
}
usleep(15 * 1000);
if (ioctl(fd, FE_SET_TONE, t) == -1){
perror("FE_SET_TONE failed");err=1;
}
if (err) exit (3); /* Terminate status 3 when diseqc error */
}
/* Diseqc digital satellite equipment control,
* specification is available from http://www.eutelsat.com/
*/
Alles anzeigen
Edit: bei mir läuft das durch
reading channels from file './kilroy.txt'
*** Zapping to 1 'GEM Music':
Delivery 5, modulation QPSK
sat 1, frequency 10723 MHz H, symbolrate 29900000, coderate auto, rolloff 0.35
vpid 0x03ea, apid 0x04b2, sid 0x11fa
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 1e | signal 383 | noise 133 | ber 0 | unc -2 | tim 0 |FE_HAS_LOCK | 0
lok_errs=0, runs=1 of sequ=3, multi=0, multi_max=0
*** Zapping to 2 'D. WORLD':
Delivery 5, modulation QPSK
sat 1, frequency 10796 MHz V, symbolrate 27500000, coderate auto, rolloff 0.35
vpid 0x00a2, apid 0x0058, sid 0x3d57
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 1e | signal 390 | noise 168 | ber 0 | unc -2 | tim 0 |FE_HAS_LOCK | 0
lok_errs=0, runs=2 of sequ=3, multi=0, multi_max=0
*** Zapping to 3 'KUWAIT':
Delivery 5, modulation QPSK
sat 1, frequency 12654 MHz H, symbolrate 27500000, coderate auto, rolloff 0.35
vpid 0x05b4, apid 0x058c, sid 0x0004
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 1e | signal 238 | noise 129 | ber 0 | unc -2 | tim 0 |FE_HAS_LOCK | 0
lok_errs=0, runs=3 of sequ=3, multi=0, multi_max=0
*** Zapping to 4 'Sonshine TV':
Delivery 5, modulation QPSK
sat 1, frequency 12597 MHz V, symbolrate 27500000, coderate auto, rolloff 0.35
vpid 0x0fa1, apid 0x0fab, sid 0x200e
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 1e | signal 270 | noise 145 | ber 0 | unc -2 | tim 0 |FE_HAS_LOCK | 0
lok_errs =0, runs=4 of sequ=3, multi=0, multi_max=0
lok_errs =0, runs=4 of sequ=3, multi=0, multi_max=0
Alles anzeigen