Page 1 of 2
Configuration help. Grandtech X guard
Posted: Wed May 26, 2004 6:08 pm
by kim_asplund
i ran in to a small problem when i try to install ZM. Using it on debian testing and it works weryvell except the video inputs on my new 4port budget card get the dev name /dev/vbi0 instead of /dev/video0 . I guess I'm supposed to link these but how do i do that?
(Folow up)
It was actually possible to write /dev/vbi0 as video source.
But im not able to get a picture in the monitor window tryed them all cambozilla, mpeg..... but i am able to make an mpeg file of an alarm.
Regards Kim
Posted: Wed May 26, 2004 6:40 pm
by davide
Hi, Kim,
what is your /etc/modules.conf ?
I use Mandrake 10
here is the line I use both for GrandTec Grand X-Guard 4P and for 16P:
Code: Select all
options bttv radio=0 card=103 tuner=4 gbuffers=4
I hope it helps.
Posted: Wed May 26, 2004 7:14 pm
by kim_asplund
seems to work (the capturing), but i still cant get it to show anything in any interfase exept if i create an mpeg file. The log dont complain about any missing perl module either.
How do i make it to start when the computer boots up?
Posted: Wed May 26, 2004 7:54 pm
by kim_asplund
The problem seems to be?? Cambozilla v0.34 says failed to connect to server. the one that is recommended dont do anything.
Posted: Wed May 26, 2004 8:14 pm
by zoneminder
Hi,
Have you gone through the steps in the Troubleshooting section of the README? If so what did you find out?
Phil,
Posted: Thu May 27, 2004 8:42 am
by kim_asplund
yes i have gone through the troubleshooting guide.....
Apache2 error.log:
[Thu May 27 10:52:49 2004] [notice] Apache/2.0.49 (Debian GNU/Linux) PHP/4.3.4 configured -- resuming normal operations
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
jpegtopnm: WRITING PPM FILE
.....
zmdc.log:
Server starting at 04/05/27 11:35:11
'zmc -d 0' started at 04/05/27 11:35:15
'zmc -d 0' starting at 04/05/27 11:35:15, pid = 7451
'zma -m 1' started at 04/05/27 11:35:15
'zma -m 1' starting at 04/05/27 11:35:15, pid = 7455
'zmfilter.pl' started at 04/05/27 11:35:16
'zmfilter.pl' starting at 04/05/27 11:35:16, pid = 7459
'zmaudit.pl -d 900 -y' started at 04/05/27 11:35:17
'zmaudit.pl -d 900 -y' starting at 04/05/27 11:35:17, pid = 7463
'zmwatch.pl' starting at 04/05/27 11:35:19, pid = 7474
'zmwatch.pl' started at 04/05/27 11:35:19
'zmupdate.pl -c' started at 04/05/27 11:35:20
'zmupdate.pl -c' starting at 04/05/27 11:35:20, pid = 7482
ipcs -m
0x7a6d2001 1638401 www-data 700 10138048 2
systemlog (i guess the problem is pressented here)
May 27 11:35:00 localhost zmu[7394]: ERR [Shared memory not initialised by capture daemon]
May 27 11:35:04 localhost zmu[7398]: ERR [Shared memory not initialised by capture daemon]
May 27 11:35:07 localhost zmu[7404]: ERR [Shared memory not initialised by capture daemon]
May 27 11:35:10 localhost zmfix[7420]: INF [Debug Level = 0, Debug Log = ]
May 27 11:35:11 localhost zmu[7423]: ERR [Shared memory not initialised by capture daemon]
May 27 11:35:14 localhost zmu[7445]: ERR [Shared memory not initialised by capture daemon]
May 27 11:35:15 localhost zmc-d0[7451]: INF [Debug Level = 0, Debug Log = ]
May 27 11:35:15 localhost zmc-d0[7451]: ERR [Failed to set window attributes: Invalid argument]
May 27 11:35:15 localhost zmc-d0[7451]: INF [Starting Capture]
May 27 11:35:16 localhost zma-m1[7455]: INF [Debug Level = 0, Debug Log = ]
May 27 11:35:16 localhost zma-m1[7455]: INF [Warming up]
May 27 11:35:17 localhost zma-m1[7455]: INF [test: 034 - Gone into alarm state]
May 27 11:35:21 localhost zmc-d0[7451]: WAR [Buffer overrun at index 60 ]
May 27 11:35:25 localhost zma-m1[7455]: INF [test: 090 - Left alarm state (143) - 76(6) images]
May 27 11:35:55 localhost zmc-d0[7451]: INF [test: 1000 - Capturing at 25.00 fps]
Posted: Thu May 27, 2004 8:47 am
by zoneminder
This
May 27 11:35:15 localhost zmc-d0[7451]: ERR [Failed to set window attributes: Invalid argument]
is the main error. The FAQ describes how to fix it. There is also another thread going that is discussing how to remove it altogether.
Phil,
Posted: Thu May 27, 2004 11:05 am
by kim_asplund
the ZM_STRICT_VIDEO_CONFIG was unchecked. if i enable it it dont start @all.
Posted: Thu May 27, 2004 11:09 am
by davide
what resolution are you using?
what buffer ring size?
Posted: Thu May 27, 2004 11:20 am
by kim_asplund
i have a Wellman super mini b/w camera. on the box it says picture element 352(H) x 288(V) so i set "Capture Width 352" and "Capture Height 288". Grayscale.
what buffer ring size?
Posted: Thu May 27, 2004 11:23 am
by zoneminder
It looks like it's capturing something at least. Does it show anything in stills mode?
Posted: Thu May 27, 2004 11:26 am
by kim_asplund
Its capturing alright. But i cant see anything not even in still mode. But if i take a look @ an old recorded event i can see the still's.
Posted: Thu May 27, 2004 11:29 am
by kim_asplund
Java consolle output on my windows computer.
java.lang.IllegalArgumentException: Invalid remove
at javax.swing.JTextArea.replaceRange(Unknown Source)
at sun.plugin.ConsoleWindow$24.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Posted: Thu May 27, 2004 4:54 pm
by kim_asplund
Ok..... i give up... out with debian
and in with god old trusty redhat....
Posted: Thu May 27, 2004 6:07 pm
by zoneminder
It may be a bit late now but the only Java element to ZM is the third party Cambozola applet used for streaming on IE. So if you were viewing (or trying to view) stills then this wouldn't even have been running even if installed.
Phil,