Re: [vdr] dvbdevice.c

2012-06-09 Thread Reinhard Nissl

Hi,

Am 09.06.2012 08:40, schrieb Wolfgang Rohdewald:

in vdr-1.7.28 without patches

while browsing the log I found

Jun  9 05:28:08 server vdr: [13569] frontend 1/0 timed out while tuning to
channel 1877, tp 212713
Jun  9 05:28:40 server vdr: [13569] frontend 1/0 regained lock on channel 14,
tp 110743

so frontend 1 regained a lock it never had. That seems like a consequence
of the fact that LostLock is only a local variable in cDvbTuner::Action, so it
cannot be reset when the channel changes


Looks like LostLock should also be reset in case tsSet.


also, I wonder about this code sequence in dvbdevice.c:

 switch (tunerStatus) {
...
   case tsLocked:
if (Status  FE_REINIT) {
...
else if (tunerStatus == tsLocked) {

at the else if, how could tunerStatus not be tsLocked?


In the case when the switch falls through from case tsTuned.

Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rni...@gmx.de

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] dvbdevice.c

2012-06-09 Thread Wolfgang Rohdewald
Am Samstag, 9. Juni 2012, 12:02:37 schrieb Klaus Schmidinger:
  so frontend 1 regained a lock it never had. That seems like a consequence
  of the fact that LostLock is only a local variable in cDvbTuner::Action,
  so it cannot be reset when the channel changes
  
  Looks like LostLock should also be reset in case tsSet.
 
 I guess that's a matter of philosophy.

fine with me - I was just wondering.

I was looking at those things because I had some trouble with my
3 USB TT S2-3600 receivers. They very often lost lock. Putting them
in a cooler place helped a bit. Better cabling helped a bit. Updating
the receiver firmware (bought in 2012, update from 2008 was not
applied!) helped a bit. Optimizing my Quad Monoblock for Astra
helped a bit. At that stage, often all 3 receivers lost lock at the
same time. And all that only with DVB-S2 channels. And mostly
in early evening (which still puzzles me)

At the end it seems the LNB had a problem.  I now have another one
and no lost locks since 12 hours.

-- 
Wolfgang

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] dvbdevice.c: In member function ‘virt ual void cDvbDevice::StillPicture(const uchar*, int) ’:

2009-04-11 Thread Goga777
Приветствую, Goga777

I applied the patch from
http://git.kernel.org/?p=linux/kernel/git/jaswinder/linux-2.6-tip.git;a=commitdiff;h=57b4b9d7b56d283b6619a893341be16d1a0467a6#patch7

but without luck 

 In file included from dvbdevice.c:17:
 /usr/include/linux/dvb/video.h:159: error: expected ‘;’ before ‘*’ token
 /usr/include/linux/dvb/video.h:192: error: expected ‘;’ before ‘*’ token
 dvbdevice.c: In member function ‘virtual void cDvbDevice::StillPicture(const 
 uchar*, int)’:
 dvbdevice.c:1275: error: too many initializers for ‘video_still_picture’
 dvbdevice.c:1275: error: invalid conversion from ‘char*’ to ‘__s32’
 dvbdevice.c:1281: error: too many initializers for ‘video_still_picture’
 dvbdevice.c:1281: error: invalid conversion from ‘char*’ to ‘__s32’
 make: *** [dvbdevice.o] Ошибка 1

-- 
Удачи,
Игорь

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr