Hello Reinhard,
On Sun, Feb 18, Reinhard Nissl wrote:
I've had a further look into szap's source how it detects the status FE_LOCKED. Attached is an updated tuner patch which now also reports details for FE_READ_STATUS.
One difference between VDR and szap regarding FE_READ_STATUS is, that VDR only honors the read status when ioctl() returns 0 while szap prints just an error when ioctl() returns -1.
Furthermore, VDR's handling of errno == EINTR seems to be wrong due to the do {} while (0); loop.
BTW: I still assume, that your logfile reports a tuning timeout. If this is no longer the case, then you may want to experiment with WAIT_FOR_TUNER_LOCK in device.c.
I've tried your patch and the new vdr-1.4.5-2 for some days now and it works even when I disable diseqc ! So I have to say: greate work Reinhard and many many thanks to you !!!