Since a few days i have a problem that vdr looses all its EPG entries on restart, epg.data stays empty.
(If this is relevant - the epg entries are inserted by analogtv via external application)
Is there any known reason for this?
Guido Fiala wrote:
Since a few days i have a problem that vdr looses all its EPG entries on restart, epg.data stays empty.
(If this is relevant - the epg entries are inserted by analogtv via external application)
Maybe because the time base of analogtv and the time base of VDR differ, and VDR thinks that all entries are outdated. Check the system clock (including the year, I once had the clock 1 year in the future), and check the dates of the epg entries: You'll notice lines like that in epg.data: E 7056 1145559780 3420 4E 1D .. starting with E. Take the big number and re-calculate the date: perl -e "print scalar localtime 1145559780" Thu Apr 20 21:03:00 2006 This date should of course be in the near future.
Cheers,
Udo
On Thursday 20 April 2006 21:39, Udo Richter wrote:
Guido Fiala wrote:
Since a few days i have a problem that vdr looses all its EPG entries on restart, epg.data stays empty.
(If this is relevant - the epg entries are inserted by analogtv via external application)
Maybe because the time base of analogtv and the time base of VDR differ, and VDR thinks that all entries are outdated. Check the system clock (including the year, I once had the clock 1 year in the future), and check the dates of the epg entries: You'll notice lines like that in epg.data: E 7056 1145559780 3420 4E 1D
date should be ok, as the entries shown match current program and sysclock is also ok.
epg.data gets not written by vdr, so i have no such lines currently, but why? (the last thing i did was not opening the fd_frontend at all in dvbdevice.c as i noticed that my FE_SLEEP patch did not work anymore for more obscure reasons, but that should have nothing to do with analog epg, though i can test if it does)
Thanks anyway.
On Thursday 20 April 2006 21:39, Udo Richter wrote:
Guido Fiala wrote:
Since a few days i have a problem that vdr looses all its EPG entries on restart, epg.data stays empty.
(If this is relevant - the epg entries are inserted by analogtv via external application)
Of course i have given myself the answer:
Reason was not opening the fd_frontend at all, which was required for safe signalless operation (opening and instantly calling FE_SLEEP turned out to be instable as even with analogtv-only setup vdr somehome emits ioctls which open the frontend again which does lead to the unfamous ARM-crash due to overheating).
So i changed dvbdevice.c so, that "scanner" and "siProcessor" are created anyway, even if fd_frontend is patched to stay closed.
Did i miss anything with this? At least it seems to work again now.
BTW - is there an option for similar behaviour in vdr 1.3.x ? (i still can't use it, it is so unstable in my setup, it seems it stress the card to much, maybe because of the higher OSD-load? i tried it with my current firmware and with the recommended new firmware)