[vdr] intermittant Channel Not Available vdr-1.6.0

2010-04-27 Thread Simon Baxter

Hi

I'm running 2x DVB-C + CI/CAMS and getting intermittant channel not 
available messages:


I'm running 2.6.27.41-170.2.117.fc10.x86_64 with a recent v4l-dvb.  In the 
past when I've had these problems, I've been able to fix by adding some

msleep(1);
statements in v4l-dvb/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c

But it's still doing it.

If I switch back and forth between channels and devices (using femon) I can 
get the channel to work on both cards/CAMs.


Any ideas?




Apr 27 22:06:06 freddy vdr: [11775] switching to channel 1
Apr 27 22:06:06 freddy vdr: [11775] buffer stats: 81216 (3%) used
Apr 27 22:06:06 freddy vdr: [11775] info: Channel not available!
Apr 27 22:06:08 freddy vdr: [11775] CAM 2: Menu --
Apr 27 22:06:08 freddy vdr: [11775] CAM 2: 'AlphaCrypt'
Apr 27 22:06:08 freddy vdr: [11775] CAM 2: 'You are not entitled'
Apr 27 22:06:08 freddy vdr: [11775] CAM 2: 'to receive this programme !'
Apr 27 22:06:08 freddy vdr: [11775] CAM 2: 'Press OK'
Apr 27 22:06:17 freddy vdr: [11775] switching to channel 1
Apr 27 22:06:17 freddy vdr: [11775] info: Channel not available!
Apr 27 22:06:56 freddy vdr: [11775] closing SVDRP connection
Apr 27 22:07:03 freddy vdr: [11775] switching to channel 1
Apr 27 22:07:03 freddy vdr: [15407] transfer thread started (pid=11775, 
tid=15407)
Apr 27 22:07:03 freddy vdr: [15408] receiver on device 1 thread started 
(pid=11775, tid=15408)
Apr 27 22:07:03 freddy vdr: [15409] TS buffer on device 1 thread started 
(pid=11775, tid=15409)

Apr 27 22:07:06 freddy vdr: [11775] switching to channel 1
Apr 27 22:07:06 freddy vdr: [15407] transfer thread ended (pid=11775, 
tid=15407)

Apr 27 22:07:06 freddy vdr: [11775] buffer stats: 77268 (3%) used
Apr 27 22:07:06 freddy vdr: [15410] transfer thread started (pid=11775, 
tid=15410)
Apr 27 22:07:06 freddy vdr: [15409] TS buffer on device 1 thread ended 
(pid=11775, tid=15409)

Apr 27 22:07:06 freddy vdr: [15408] buffer stats: 76892 (3%) used
Apr 27 22:07:06 freddy vdr: [15408] receiver on device 1 thread ended 
(pid=11775, tid=15408)
Apr 27 22:07:06 freddy vdr: [15411] receiver on device 1 thread started 
(pid=11775, tid=15411)
Apr 27 22:07:06 freddy vdr: [15412] TS buffer on device 1 thread started 
(pid=11775, tid=15412)

Apr 27 22:07:07 freddy vdr: [15410] setting audio track to 1 (0)



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


Re: [vdr] wirblescan 0.0.5-pre11e compilation errors

2010-04-27 Thread Goga777
Приветствую, YUP

does support wirbelscan 0.0.5 dvb-s2 or not ?

 Did anybody try to compile latest wirblescan plugin for vdr 1.7.14? I
 mean version 0.0.5-pre11e. I've got these errors:
 
 scanner.c: In member function ‘virtual void cScanner::Action()’:
 scanner.c:679:25: error: expected type-specifier
 scanner.c:679:25: error: cannot convert ‘int*’ to ‘cSwReceiver*’ in
 assignment scanner.c:679:25: error: expected ‘;’
 scanner.c:957:28: error: expected type-specifier
 scanner.c:957:28: error: cannot convert ‘int*’ to ‘cSwReceiver*’ in
 assignment scanner.c:957:28: error: expected ‘;’
 make: *** [scanner.o] Error 1
 
 I didn't find maintener's direct email address, that is why I decided to
 write to this mailing list.

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


[vdr] help: translating plugin for vdr-1.7.14

2010-04-27 Thread Halim Sahin
Hi,

I am seeing a small problem when i do this in my plugin:

  virtual const char *Description(void) { return tr(DESCRIPTION); }

running make i18n doesn't add the DESCRIPTION string for translation to
the pot file.

Same for Plugin name.

BR.
Halim


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


Re: [vdr] help: translating plugin for vdr-1.7.14

2010-04-27 Thread Halim Sahin
Hi,
Answering myself: 
trNOOP :-).
Sorry!
BR.
Halim

-- 
Halim Sahin
E-Mail: 
halim.sahin (at) t-online.de

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


Re: [vdr] externalplayer and xineliboutput plugin

2010-04-27 Thread Steffen Barszus
Nobody an idea ? - Can somebody explain to me what a player with 
PlayMode pmNone should do ?

This is the problem:

Apr 22 23:41:05 vdr vdr: [3204] 
ERROR: /dev/dvb/adapter1/dvr0: Device or resource busy 

If some application is started with external player 
streamdev/vnsi-plugin with frontend xineliboutput produces below error 
.. xine not


Thanks !

Steffen

Steffen Barszus wrote:

Hi !

I currently try to track down a problem of externalplayer and
xineliboutput. 


The problem is, that if used with xineliboutput plugin and PlayMode
pmNone, one device is not available. With xine this does not happen.
May assumption is that here: 


device.c:
641   m_PlayMode = PlayMode;
642 
643   TrickSpeed(-1);

644   if (m_PlayMode == pmAudioOnlyBlack) {
645 TRACE(pmAudioOnlyBlack -- BlankDisplay, NoVideo);
646 ForEach(m_clients, cXinelibThread::BlankDisplay);
647 ForEach(m_clients, cXinelibThread::SetNoVideo, true);
648   } else {
649 if(m_liveMode)
650   ForEach(m_clients, cXinelibThread::SetNoVideo,
  m_RadioStream); 651 else
652   ForEach(m_clients, cXinelibThread::SetNoVideo,
653   m_RadioStream  (m_AudioCount1));
654 Clear();
655   }

An action is missing to take care of pmNone, i.e. to stop trying to
receive and decode something.  


This is the Problem:
Apr 22 23:41:05 vdr vdr: [3204] receiver on device 2 thread started
(pid=2952, tid=3204) 
Apr 22 23:41:05 vdr vdr: [3204]
ERROR: /dev/dvb/adapter1/dvr0: Device or resource busy 
Apr 22 23:41:05

vdr vdr: [3204] receiver on device 2 thread ended (pid=2952, tid=3204)

This does not happen if i use xine, or if i shut down vdr-sxfe before i
try to use streamdev oder VNSI plugin. 



My understanding is that the frontend device needs to do the required
action and let vdr know afterwards in order to free the device. 


Would appreciate if someone with more understanding of the internals
could add his opinion here ...

Kind Regards

Steffen 


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

  



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


Re: [vdr] wirblescan 0.0.5-pre11e compilation errors

2010-04-27 Thread gimli
Maybe this patch helps.

http://sourceforge.net/apps/trac/archvdr/browser/trunk/archvdr/vdr-plugin-wirbelscan/gcc_45.patch

cu

Edgar (gimli) Hucek

On Tue, 27 Apr 2010 14:11:41 +0200, YUP yupad...@gmail.com wrote:
 Hi,
 
 As far as I understood from
 http://wirbel.htpc-forum.de/wirbelscan/index2.html
 there is no support for dvb-s2. But I saw in source code, that 0.0.5
 version supports almost all satellites. In the previous versions
 only few satellites were included. 
 
 Concerning errors I got, it seems to me that problem is in new
 compiler, gcc-4.5.0.
 
 Best,
 
 Yarema
 
 
 
 Tue, 27 Apr 2010 15:00:57 +0400
 Goga777 goga...@bk.ru написав:
 
 Приветствую, YUP
 
 does support wirbelscan 0.0.5 dvb-s2 or not ?
 
  Did anybody try to compile latest wirblescan plugin for vdr 1.7.14?
  I mean version 0.0.5-pre11e. I've got these errors:
  
  scanner.c: In member function ‘virtual void cScanner::Action()’:
  scanner.c:679:25: error: expected type-specifier
  scanner.c:679:25: error: cannot convert ‘int*’ to ‘cSwReceiver*’ in
  assignment scanner.c:679:25: error: expected ‘;’
  scanner.c:957:28: error: expected type-specifier
  scanner.c:957:28: error: cannot convert ‘int*’ to ‘cSwReceiver*’ in
  assignment scanner.c:957:28: error: expected ‘;’
  make: *** [scanner.o] Error 1
  
  I didn't find maintener's direct email address, that is why I
  decided to write to this mailing list.
 
 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
 
 
 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

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


Re: [vdr] wirblescan 0.0.5-pre11e compilation errors

2010-04-27 Thread YUP
Thanks! It works great! Probably it is good idea to report
this to the wirblescan developer...

Yarema




Tue, 27 Apr 2010 19:47:22 +0200
gimli gi...@dark-green.com написав:

 Maybe this patch helps.
 
 http://sourceforge.net/apps/trac/archvdr/browser/trunk/archvdr/vdr-plugin-wirbelscan/gcc_45.patch
 
 cu
 
 Edgar (gimli) Hucek
 
 On Tue, 27 Apr 2010 14:11:41 +0200, YUP yupad...@gmail.com wrote:
  Hi,
  
  As far as I understood from
  http://wirbel.htpc-forum.de/wirbelscan/index2.html
  there is no support for dvb-s2. But I saw in source code, that 0.0.5
  version supports almost all satellites. In the previous versions
  only few satellites were included. 
  
  Concerning errors I got, it seems to me that problem is in new
  compiler, gcc-4.5.0.
  
  Best,
  
  Yarema

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


Re: [vdr] wirblescan 0.0.5-pre11e compilation errors

2010-04-27 Thread Timothy D. Lenz

From the web site: http://wirbel.htpc-forum.de/wirbelscan/index2.html

CAN plugin for the VDR serves for looking for VDR channels for

* DVB-T
* DVB-C
* DVB-S/S2
* ATSC
* pvrinput Plugin (PVR x50)

Looks interesting, but I don't like that it uses the working conf. For 
some things it might be nice if it can properly add new stuff to the 
right channel location. But it starts by clearing the old list and then 
putting it back so that you can use it while the plugin is working. It 
should use a seperate file and then optionally merge it in.


On 4/27/2010 10:47 AM, gimli wrote:

Maybe this patch helps.

http://sourceforge.net/apps/trac/archvdr/browser/trunk/archvdr/vdr-plugin-wirbelscan/gcc_45.patch

cu

Edgar (gimli) Hucek

On Tue, 27 Apr 2010 14:11:41 +0200, YUPyupad...@gmail.com  wrote:

Hi,

As far as I understood from
http://wirbel.htpc-forum.de/wirbelscan/index2.html
there is no support for dvb-s2. But I saw in source code, that 0.0.5
version supports almost all satellites. In the previous versions
only few satellites were included.

Concerning errors I got, it seems to me that problem is in new
compiler, gcc-4.5.0.

Best,

Yarema



Tue, 27 Apr 2010 15:00:57 +0400
Goga777goga...@bk.ru  написав:


Приветствую, YUP

does support wirbelscan 0.0.5 dvb-s2 or not ?


Did anybody try to compile latest wirblescan plugin for vdr 1.7.14?
I mean version 0.0.5-pre11e. I've got these errors:

scanner.c: In member function ‘virtual void cScanner::Action()’:
scanner.c:679:25: error: expected type-specifier
scanner.c:679:25: error: cannot convert ‘int*’ to ‘cSwReceiver*’ in
assignment scanner.c:679:25: error: expected ‘;’
scanner.c:957:28: error: expected type-specifier
scanner.c:957:28: error: cannot convert ‘int*’ to ‘cSwReceiver*’ in
assignment scanner.c:957:28: error: expected ‘;’
make: *** [scanner.o] Error 1

I didn't find maintener's direct email address, that is why I
decided to write to this mailing list.


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



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


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


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