Search found 11 matches
- Sat Apr 02, 2005 1:27 am
- Forum: ZoneMinder Previous Versions
- Topic: zmtrigger - connect through domain socket
- Replies: 5
- Views: 4283
name pipe one?? Don´t understand. Did you mean the INET and domain sockets? My sources array looks like this: my @sources = ( { name=>"S1", type=>"inet", port=>"6802", parser=>"", }, { name=>"S2", type=>"unix", path=>"/tmp/zm.sock", parser=>"", }, { name=>"S3", type=>"file", path=>"/tmp/zm.pipe" ...
- Fri Apr 01, 2005 2:01 pm
- Forum: ZoneMinder Previous Versions
- Topic: zmtrigger - connect through domain socket
- Replies: 5
- Views: 4283
Well, the last question is also answered: I just learned that POSIX rules for select() require that you open named pipes r/w and not just r/o. If you change line 160 in zmtrigger.pl from : open( *sfh, "<".$source->{path} ) or die( "Can't open: $!" ); to: open( *sfh, "+<".$source->{path} ) or die ...
- Thu Mar 31, 2005 10:42 pm
- Forum: ZoneMinder Previous Versions
- Topic: triggering of multiple monitors
- Replies: 12
- Views: 6983
I just learned that POSIX rules for select() require that you open named pipes r/w and not just r/o. Try:
and your pipe triggers ok.
Regards
Juergen
Code: Select all
open( *sfh, "+<".$source->{path} ) or die( "Can't open: $!" );
Regards
Juergen
- Thu Mar 31, 2005 9:57 pm
- Forum: ZoneMinder Previous Versions
- Topic: zmtrigger - connect through domain socket
- Replies: 5
- Views: 4283
Problem solved - zmtrigger - connect through domain socket
I found what was wrong. I had initialized the @sources array in zmtrigger.pl with a new source like this { name=>"S3", type=>"file", path=>"/tmp/zm.pipe", parser=>"", } to try out pipes. If I comment out this line, everything works perfectly. The client connects, writes the data and returns ...
- Thu Mar 31, 2005 3:57 am
- Forum: ZoneMinder Previous Versions
- Topic: zmtrigger - connect through domain socket
- Replies: 5
- Views: 4283
zmtrigger - connect through domain socket
"Inspired" by this http://www.zoneminder.com/forums/viewtopic.php?t=4245 thread, I tried to connect to zmtrigger via domain sockets with a minimalistic client. #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <stdio.h> #include <string.h> #include <signal.h> #define NOSTR ...
- Wed Mar 30, 2005 1:18 am
- Forum: ZoneMinder Previous Versions
- Topic: Logical AND of two Modect
- Replies: 2
- Views: 1991
- Tue Mar 29, 2005 1:45 am
- Forum: ZoneMinder Previous Versions
- Topic: Logical AND of two Modect
- Replies: 2
- Views: 1991
Logical AND of two Modect
Can ZM do a logical AND of two Modect cams? Logical AND means that only if the two (or more) cams detect motion an event is triggered. What would that be good for, you ask? With two cameras aimed at the same object under an angle of 90 degrees ZM could generate a "3D event volume" around that object ...
- Tue Mar 29, 2005 1:33 am
- Forum: ZoneMinder Translations
- Topic: ZM Question on Translation
- Replies: 1
- Views: 5738
ZM Question on Translation
Hi there, shouldn´t the tokens be translated using the, e.g. ç = ç codification for "accentuated" letters in HTML? The ZM-UI is mostly HTML based ... or did I overlook something in the intro of the token file? Also I would happily redo the german token file if someone else hasn´t yet vo ...
- Mon Jan 03, 2005 3:33 am
- Forum: User Contributions
- Topic: Smaller problem in "zm_html_view_settings.php"
- Replies: 0
- Views: 3210
Smaller problem in "zm_html_view_settings.php"
I have no idea who is responsible for the php-files of ZM, but there is a bit of an error in the above mentioned file: 1) There is no </form> tag. Put one right after the </table> tag. 2) The <form> tag and the hidden <input> tags come right after the <table ...> tag. How ugly ;-) Better put them ...
- Wed Aug 04, 2004 7:47 pm
- Forum: ZoneMinder Previous Versions
- Topic: Using zoneminder zms as remote camera
- Replies: 23
- Views: 16840
- Wed Aug 04, 2004 7:43 pm
- Forum: ZoneMinder Previous Versions
- Topic: Using zoneminder zms as remote camera
- Replies: 23
- Views: 16840
Well, just to comfort you: tried exactly the same thing and got the same results as you. Since the zm-docs are kind of "lean" in respect to networked cams using zms, I have no idea what to do. Just some additional infos: 1) Using Cambozola and both master and slave configured to use greyscale I get ...