On Montag 01 Mai 2006 00:08, Michael Nausch wrote:
Griasde Jörg,
I've tried to use your new version with 1.4.0.
So, what I've done? Let me explain ...
I'm testing your latest pin-plugin from http://www.jwendel.de/vdr/vdr-pin-0.0.15.tgz with a plain vanilla-vdr 1.4.0
I've patched the vdr with the patch, delivered with your plugin "vdr-1.4.0-plain.diff".
Locking a channel is no problem, but if I try to lock a recording, nothing will happens. Syslog said: Apr 30 23:55:58 tecvdr vdr: [7638] executing command '/usr/bin/fskprotect.sh protect "/video/Clips/Tito_&_Tarantula_-_After_Dark/2005-02-04.22.50.99.99.rec"' But wether I activate the pin-protection or not, I can start the recording as well. :(
please can you check if the file "/video/Clips/Tito_&_Tarantula_-_After_Dark/2005-02-04.22.50.99.99.rec/protection.fsk" was created by the script. Does you have changed the script "/usr/bin/fskprotect.sh" to the new one?
This few lines in /var/log/messages makes me "stutzig":
Apr 30 23:51:06 tecvdr vdr: [7656] PIN plugin receiver thread started (pid=7656) Apr 30 23:51:06 tecvdr vdr: [7656] Receiving message failed, errno 13 Apr 30 23:51:06 tecvdr last message repeated 10 times
If I deavtivate the pin-plugin, this errormessage won't be seen, so I assume that this line have someting to do with the pin-plugin.
errno 13 looks like "Permission denied", is it possible, that you have started the vdr first as 'one' user (e.g. root) and than as an 'other' user? Than it is possible (when the vdr was not ended the normal way) that the system message queue used by the plugin is left over from the first session. In this case you can remove it using the ipcrm command (as the user who owns the queue).
What says "ipcs -q", when vdr (with the plugin) is running, can you post the output please?
To make shure that i have interpreted errno 13 correctly i have posted a version 0.0.15a with an extended error message.
Tanks for testing ;) Jörg
But why won't it work right? What happend wrong? Do you have an idea?
Pfiade, BC
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr