Configuration help. Grandtech X guard

Support and queries relating to all previous versions of ZoneMinder
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Configuration help. Grandtech X guard

Post 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
User avatar
davide
Posts: 78
Joined: Mon Mar 22, 2004 1:04 am
Location: Italy

Post 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.
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Post 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?
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Hi,

Have you gone through the steps in the Troubleshooting section of the README? If so what did you find out?

Phil,
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Post 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]
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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,
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Post by kim_asplund »

the ZM_STRICT_VIDEO_CONFIG was unchecked. if i enable it it dont start @all.
User avatar
davide
Posts: 78
Joined: Mon Mar 22, 2004 1:04 am
Location: Italy

Post by davide »

what resolution are you using?
what buffer ring size?
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Post 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?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

It looks like it's capturing something at least. Does it show anything in stills mode?
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Post 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.
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Post 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)
kim_asplund
Posts: 33
Joined: Tue Dec 16, 2003 1:51 pm

Post by kim_asplund »

Ok..... i give up... out with debian :( and in with god old trusty redhat....
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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,
Locked