[vdr] [ANNOUNCE] vdr-actuator-1.2.0 plugin

2010-10-09 Thread Luca Olivetti

Hello,

I'm releasing version 1.2.0 of the actuator plugin available at

http://www.ventoso.org/luca/vdr/

This plugin controls a linear actuator (or an horizon to horizon one)
through the parallel port with a simple circuit.

From this version it is also possible to use the plugin without an 
actuator, i.e. as a channel scanner only.


Note that it only compiles with the current development version of vdr.

The changes:

- Version for current development version of vdr (= 1.7.15)
- DVB-S2 support (untested, I don't have DVB-S2 hardware)
- Experimental seractuator module (uses a serial port instead
  of a parallel port)
- Complete rewrite of the channel scanner
- The plugin can now work without an actuator (i.e. as a channel scanner
  only) with the command line option -s or --scanonly

Bye
--
Luca











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


Re: [vdr] [ANNOUNCE] vdr-actuator-1.2.0 plugin

2010-10-09 Thread Goga777
  From this version it is also possible to use the plugin without an 
 actuator, i.e. as a channel scanner only.

does it mean, that with your plugin no need to use reelchannelscan plugin for 
creating/updating
channels.conf ?

 Note that it only compiles with the current development version of vdr.
 
 The changes:
 
 - Version for current development version of vdr (= 1.7.15)
 - DVB-S2 support (untested, I don't have DVB-S2 hardware)
 - Experimental seractuator module (uses a serial port instead
of a parallel port)
 - Complete rewrite of the channel scanner
 - The plugin can now work without an actuator (i.e. as a channel scanner
only) with the command line option -s or --scanonly

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


[vdr] FF-Card and Receivers

2010-10-09 Thread Rainer Blickle
Hi,

i have a question about a vdr with a ff card.

When watching tv with a ff card (= not in transfer mode): Is there a
receiver attached to the primary device ?

I cannot test it by myself because i dont have a ff card.

Regards, Rainer

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


Re: [vdr] [ANNOUNCE] vdr-actuator-1.2.0 plugin

2010-10-09 Thread Luca Olivetti

Al 09/10/10 22:03, En/na Goga777 ha escrit:

   From this version it is also possible to use the plugin without an
actuator, i.e. as a channel scanner only.


does it mean, that with your plugin no need to use reelchannelscan plugin for 
creating/updating
channels.conf ?


Yes, but I could only test it with plain dvb-s, no dvb-s2.
Also, it doesn't to a blind scan, it needs a transponder.ini file for 
each satellite that you want to scan.

You can download those file, e.g, from
http://www.fastsatfinder.com/transponders.html#transponders-sorted


Bye
--
Luca

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


Re: [vdr] [ANNOUNCE] vdr-actuator-1.2.0 plugin

2010-10-09 Thread Gregoire Favre
On Sat, Oct 09, 2010 at 10:43:10PM +0200, Luca Olivetti wrote:
 
 Yes, but I could only test it with plain dvb-s, no dvb-s2.
 Also, it doesn't to a blind scan, it needs a transponder.ini file for 
 each satellite that you want to scan.
 You can download those file, e.g, from
 http://www.fastsatfinder.com/transponders.html#transponders-sorted

Strange, I tried to start it with :

./vdr -c /etc/vdr -w 90 -l 3 -s 'sudo /usr/local/bin/vdrpoweroff.sh' -P'xine 
-r' -P'actuator -s'

But nothing happen (and no vdr runs) : isn't that the right way to start
it ?
-- 
Grégoire Favre ◆ Chemin de Mallieu 15 ◆ 1009 Pully ◆ +41 21 550 61 93 
prof ☞  Gymnase de Chamblandes ◆ Avenue des Désertes 29 ◆ 1009 Pully
◐ http://www.gycham.vd.ch/~greg ◑ ◐  netvoip.ch +41 21 544 77 44 ◑
 ◑ sip ☞ 310...@sip.freesip.ch ◐ ◎ ◑ gsm ☞ +41 78 765 65 00 ◐  ☻☺


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


Re: [vdr] [ANNOUNCE] vdr-actuator-1.2.0 plugin

2010-10-09 Thread Luca Olivetti

Al 09/10/10 23:23, En/na Gregoire Favre ha escrit:

On Sat, Oct 09, 2010 at 10:43:10PM +0200, Luca Olivetti wrote:


Yes, but I could only test it with plain dvb-s, no dvb-s2.
Also, it doesn't to a blind scan, it needs a transponder.ini file for
each satellite that you want to scan.
You can download those file, e.g, from
http://www.fastsatfinder.com/transponders.html#transponders-sorted


Strange, I tried to start it with :

./vdr -c /etc/vdr -w 90 -l 3 -s 'sudo /usr/local/bin/vdrpoweroff.sh' -P'xine 
-r' -P'actuator -s'

But nothing happen (and no vdr runs) : isn't that the right way to start
it ?


Anything in the logs?

Bye
--
Luca


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


Re: [vdr] [ANNOUNCE] vdr-actuator-1.2.0 plugin

2010-10-09 Thread Luca Olivetti

Al 10/10/10 00:25, En/na Luca Olivetti ha escrit:

Al 09/10/10 23:23, En/na Gregoire Favre ha escrit:

On Sat, Oct 09, 2010 at 10:43:10PM +0200, Luca Olivetti wrote:


Yes, but I could only test it with plain dvb-s, no dvb-s2.
Also, it doesn't to a blind scan, it needs a transponder.ini file for
each satellite that you want to scan.
You can download those file, e.g, from
http://www.fastsatfinder.com/transponders.html#transponders-sorted


Strange, I tried to start it with :

./vdr -c /etc/vdr -w 90 -l 3 -s 'sudo /usr/local/bin/vdrpoweroff.sh'
-P'xine -r' -P'actuator -s'

But nothing happen (and no vdr runs) : isn't that the right way to start
it ?


Anything in the logs?


Oh, I know what happened :-(
Try the attached patch.

Bye
--
Luca
diff -r 3ba203b62f5d actuator.c
--- a/actuator.cSat Oct 09 17:31:56 2010 +0200
+++ b/actuator.cSun Oct 10 00:38:08 2010 +0200
@@ -1738,13 +1738,6 @@ cPluginActuator::cPluginActuator(void)
   // VDR OBJECTS TO EXIST OR PRODUCE ANY OUTPUT!
   statusMonitor = NULL;
   PosTracker = NULL;
-  if (!ScanOnly) {
-fd_actuator = open(/dev/actuator,0);
-if (fd_actuator0) {
-  esyslog(cannot open /dev/actuator);
-  exit(1);
-}
-  }  
   cThemes::Save(actuator, Theme);
 }
 
@@ -1805,8 +1798,14 @@ bool cPluginActuator::Initialize(void)
 bool cPluginActuator::Initialize(void)
 {
   // Initialize any background activities the plugin shall perform.
-  if (!ScanOnly)
+  if (!ScanOnly) {
+fd_actuator = open(/dev/actuator,0);
+if (fd_actuator0) {
+  esyslog(cannot open /dev/actuator);
+  return false;
+}
 PosTracker=new cPosTracker();
+  }  
   return true;
 }
 
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr