Page 1 of 1

Some Tips for installation and a Question

Posted: Sat Jan 14, 2006 1:49 pm
by meiaestro
Hi

I just installed the latest (non preview) version of zm (1.21.4) and had some problems during installation.

1. In the zmconfig.pl there is a quote too much:

Code: Select all

email => { db_type=>'string', hint=>'your.name@your.domain', pattern=>qr|^([a-zA-Z0-9_.-]+)\@([a-zA-Z0-9_.-]+)$|, format=>q( $1\@$2[color=red][b]"[/b][/color] ) },
2. In the zmschema.sql there is a value missing in an insert command

Code: Select all

insert into Users values ('','admin',password('admin'),'',1,'View','Edit','Edit','Edit','',''[color=red][b],''[/b][/color]);
3. Although one uses the "-nod" option in the configuration the script tries to save everything to the DB, fails and stops without creating modifying necessary files. I just added a comment sign in line 1713

Code: Select all

[color=red][b]#[/b][/color]saveOptionsToDB();
I hope I did not miss anything.

Now my question:

I am using a Logitech Quickcam and although I compared my settings with the setting fetched via

Code: Select all

 zmu -d /dev/video0 -q -v
the quality of the pictures is rather bad (black/white, to bright). I tried another capture tool (camE) and the quality is much better. Also: setting changes (brightness, saturation, etc) for a monitor seem to be uninfluential. What might be my mistake?

Thanx

Posted: Sat Jan 14, 2006 8:36 pm
by cordel
Thank you for the detailed description, this will be helpful.
These issues have been reported several times along with the fixs but you obviously hadn't come across them so maybe this will help someone else out.

Cheers,
Corey

Re: Some Tips for installation and a Question

Posted: Sun Jan 15, 2006 7:23 pm
by zoneminder
meiaestro wrote: 1. In the zmconfig.pl there is a quote too much:

Code: Select all

email => { db_type=>'string', hint=>'your.name@your.domain', pattern=>qr|^([a-zA-Z0-9_.-]+)\@([a-zA-Z0-9_.-]+)$|, format=>q( $1\@$2[color=red][b]"[/b][/color] ) },
Yes, you are correct. I have fixed this in 1.22.0. Thanks.
meiaestro wrote:2. In the zmschema.sql there is a value missing in an insert command

Code: Select all

insert into Users values ('','admin',password('admin'),'',1,'View','Edit','Edit','Edit','',''[color=red][b],''[/b][/color]);
This has been noted before. I could have sworn I've fixed it twice now but just to be on the safe side I've done it again :)
meiaestro wrote:3. Although one uses the "-nod" option in the configuration the script tries to save everything to the DB, fails and stops without creating modifying necessary files. I just added a comment sign in line 1713

Code: Select all

[color=red][b]#[/b][/color]saveOptionsToDB();
I'm not sure I understand this one. It's not too big a deal though as zmconfig.pl is gone in 1.22.0.
meiaestro wrote:I am using a Logitech Quickcam and although I compared my settings with the setting fetched via

Code: Select all

 zmu -d /dev/video0 -q -v
the quality of the pictures is rather bad (black/white, to bright). I tried another capture tool (camE) and the quality is much better. Also: setting changes (brightness, saturation, etc) for a monitor seem to be uninfluential. What might be my mistake?
Some usb drivers I know will automatically adjust brightness etc, so any changes you make are ignored. I think that the cpia driver allows you modify this with a module option and via a /proc file. It may be that the qc driver is the same perhaps?

Phil