Having trouble getting a supported cam working

Support and queries relating to all previous versions of ZoneMinder
Locked
revvy
Posts: 4
Joined: Thu May 08, 2008 3:24 pm

Having trouble getting a supported cam working

Post by revvy »

Hi all,

First off, thanks for the hard work on ZM. I've used it successfully on a previous setup and it has worked nicely.

I'm using a OV519 USB Camera which I believe is a Creative Vista cam. I have compiled and installed the driver module and it appears to be working. I've also installed the Debian Zoneminder package.

Basically my problem is that I can't get the monitor to turn green on the console. When trying to view the cam I either see a broken image or a plain black view with no timestamps or anything. I've tried all the settings I know to mess with and nothing seems to work. I have seen others use this cam before with ZM, so I think it SHOULD work.

Here's some info:
caminfo output
Detected 1 Video4Linux devices.
Device node : /dev/video0
Name of device : "OV519 USB Camera"
Minimum size : 64x48
Current size : 0x0
Maximum size : 640x480
Video inputs : 1
Input 0
Name : "Camera"
Type : Camera
Audio : no
Tuners : 0
Audio inputs : 0

zmu output
Video Capabilities
Name: OV519 USB Camera
Type: 513
Can capture
Can capture subareas of the image
Video Channels: 1
Audio Channels: 0
Maximum Width: 640
Maximum Height: 480
Minimum Width: 64
Minimum Height: 48
Window Attributes
X Offset: 0
Y Offset: 0
Width: 640
Height: 480
Picture Attributes
Palette: 10 - YUV420
Colour Depth: 12
Brightness: 32768
Hue: 31232
Colour :0
Contrast: 32768
Whiteness: 26880
Channel 0 Attributes
Name: Camera
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL



lsmod output
house:/dev# lsmod | grep ov
ov51x_jpeg 136184 0
videodev 21440 1 ov51x_jpeg
usbcore 113412 3 ov51x_jpeg,uhci_hcd



I tried chowning /dev/video0 to www-data and I also tried chmodding it 777. I've played with most of the monitor settings under the ZM console and none seem to work.

With my last ZM install, I noticed that it was kinda buggy when trying to get the monitor to turn green (E.g. settings that should work don't work, switch resolutions around a bit and they start working again), so I'm not sure if I'm running into a ZM bug or if I did something dumb on the install.

Help please!
revvy
Posts: 4
Joined: Thu May 08, 2008 3:24 pm

Post by revvy »

Well, got it working! I needed to put /dev/video0 into the monitor box and I had put /dev/video in there instead. I thought the channel would append the correct digit.

Found out after I enabled debug and started rooting thru the log files.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Good show, glad you got it going.
Locked