Trying to get a Logitech USB QuickCam to work...

Support and queries relating to all previous versions of ZoneMinder
Locked
routerboy
Posts: 1
Joined: Fri Mar 24, 2006 3:25 am

Trying to get a Logitech USB QuickCam to work...

Post by routerboy »

Hey All,

Got Zoneminder 1.22 installed from source on CentOS 4.2 and I'm trying to setup my Logitech camera to do some testing with. I seem to be running into a problem. I've search with google and the list but it didn't seem to find anything very useful. :?

I can pull up the camera info okay

Code: Select all

Video Capabilities
  Name: Logitech QuickCam Zoom
  Type: 1
    Can capture
  Video Channels: 1
  Audio Channels: 1
  Maximum Width: 640
  Maximum Height: 480
  Minimum Width: 160
  Minimum Height: 120
Window Attributes
  X Offset: 0
  Y Offset: 0
  Width: 160
  Height: 120
Picture Attributes
  Palette: 15 - YUV 4:2:0 Planar
  Colour Depth: 24
  Brightness: 32256
  Hue: 65535
  Colour :34076
  Contrast: 64512
  Whiteness: 49152
Channel 0 Attributes
  Name: Webcam
  Channel: 0
  Flags: 0
  Type: 2 - Camera
  Format: 0 - PAL
Based on this I set the settings to: (Tried several others as well)
Function: Monitor
Max FPS 5

Device: /dev/video0
Channel: 0
Format: 0
Palette: YUV420P
Capture Width: 160
Capture Height: 120


In the zmdc.log I can see it starting and crashing

Code: Select all

03/23/2006 22:36:59.028042 zmdc[3331].INF [Starting pending process, zmc -d /dev/video0]
03/23/2006 22:36:59.029523 zmdc[4301].INF ['zmc -d /dev/video0' started at 06/03/23 22:36:59]
03/23/2006 22:36:59.032277 zmdc[3331].INF ['zmc -d /dev/video0' starting at 06/03/23 22:36:59, pid = 4301]
03/23/2006 22:37:00.512485 zmdc[3331].ERR ['zmc -d /dev/video0' crashed, exit status 255]
So I turned on debuging and find the follow errors.

Code: Select all

03/23/06 22:40:48.321013 zmc_dvideo0[4523].ERR-zm_local_camera.cpp/582 [Sync failure for frame 0 buffer 1(1): Input/output error]
03/23/06 22:40:48.321087 zmc_dvideo0[4523].ERR-zm_local_camera.cpp/565 [Capture failure for frame 0: Device or resource busy]
Any help is appreciated.
routerboy
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I have no experience with the QC driver but is it possible something else is accessing the camera at the same time?
Phil
bschelst
Posts: 10
Joined: Thu Jan 06, 2005 9:22 am

Post by bschelst »

I have a quickcam, and works without any problems
matrix0f8h
Posts: 1
Joined: Mon Apr 17, 2006 7:19 pm

pwc module

Post by matrix0f8h »

I'm using FC4 and had a similiar problem with a quickcam 4000.

I guess you are using the default module supplied with centos. I think, not sure about this though, that it is missing some capabilities. So I installed the pwc module (http://www.saillard.org/linux/pwc/INSTALL.en) and these crashes stopped.
SmaDoc
Posts: 1
Joined: Mon Apr 24, 2006 12:54 pm

Post by SmaDoc »

bschelst wrote:I have a quickcam, and works without any problems
I installed CentOS 4.2 and zoneminder on a notebook and the webcam worked fine (a logtitech webcam, with a mic built in I believe) I dont really recall installing any drivers for it, but I cant seem to get the quickcam express I have to work on my computer at home. I've tried the quickcam VC drive I found but it has some errors when I try to compile(I'll post them later if anyone wants them, it maybe something that I haven't setup that the drivers need). What drivers for the quickcam express have others used? I'm rather with linux so if anyone wants any other info you will most likely have to tell me the command to get the info you'll need.
Thanks in advance to anyone who tries to help :)
Locked