Page 1 of 1

Blank picture on QuickCam Pro 3000

Posted: Fri Feb 20, 2009 11:28 pm
by maino82
Hello,

I am running ZoneMinder 1.23.3 (from the repositories) on Ubuntu 8.10 with a Logitech QuickCam Pro 3000. Everything seems to be working fine except that the "source" is shown as being red and the picture comes up as blank and 0fps.


Code: Select all

$ tail messages
Feb 20 15:13:27 knockaroundguy zmwatch[10169]: INF [Restarting capture daemon for Cam2, shared memory not valid] 
Feb 20 15:13:27 knockaroundguy zmdc[10611]: INF ['zmc -d /dev/video0' started at 09/02/20 15:13:27] 
Feb 20 15:13:27 knockaroundguy zmc_dvideo0[10611]: INF [Debug Level = 0, Debug Log = <none>]
Feb 20 15:13:27 knockaroundguy zmdc[10139]: INF ['zmc -d /dev/video0' starting at 09/02/20 15:13:27, pid = 10611] 
Feb 20 15:13:27 knockaroundguy zmwatch[10169]: INF ['zmc -d /dev/video0' starting at 09/02/20 15:13:27, pid = 10611] 
Feb 20 15:13:37 knockaroundguy zmwatch[10169]: INF [Restarting capture daemon for Cam2, shared memory not valid] 
Feb 20 15:13:38 knockaroundguy zmdc[10671]: INF ['zmc -d /dev/video0' started at 09/02/20 15:13:38] 
Feb 20 15:13:38 knockaroundguy zmc_dvideo0[10671]: INF [Debug Level = 0, Debug Log = <none>]
Feb 20 15:13:38 knockaroundguy zmdc[10139]: INF ['zmc -d /dev/video0' starting at 09/02/20 15:13:38, pid = 10671] 
Feb 20 15:13:38 knockaroundguy zmwatch[10169]: INF ['zmc -d /dev/video0' starting at 09/02/20 15:13:38, pid = 10671] 

Code: Select all

$ sudo zmu -d /dev/video0 -q -v
Video Capabilities
  Name: Logitech QuickCam Pro 3000
  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: 320
  Height: 240
Picture Attributes
  Palette: 15 - YUV 4:2:0 Planar
  Colour Depth: 24
  Brightness: 32256
  Hue: 65535
  Colour :32768
  Contrast: 32768
  Whiteness: 30720
Channel 0 Attributes
  Name: Webcam
  Channel: 0
  Flags: 0
  Type: 2 - Camera
  Format: 2055 - Unknown

Code: Select all

$ tail /tmp/zm*
==> /tmp/zmaudit.log <==

==> /tmp/zmdc.log <==
02/20/2009 15:15:23.467461 zmdc[10139].INF ['zmc -d /dev/video0' starting at 09/02/20 15:15:23, pid = 10745]
02/20/2009 15:15:23.543139 zmdc[10139].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/20/2009 15:15:34.102471 zmdc[10139].INF ['zmc -d /dev/video0' starting at 09/02/20 15:15:34, pid = 10750]
02/20/2009 15:15:34.378118 zmdc[10139].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/20/2009 15:15:44.578196 zmdc[10139].INF ['zmc -d /dev/video0' starting at 09/02/20 15:15:44, pid = 10754]
02/20/2009 15:15:44.866149 zmdc[10139].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/20/2009 15:15:55.070339 zmdc[10139].INF ['zmc -d /dev/video0' starting at 09/02/20 15:15:55, pid = 10758]
02/20/2009 15:15:55.335173 zmdc[10139].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/20/2009 15:16:05.496996 zmdc[10139].INF ['zmc -d /dev/video0' starting at 09/02/20 15:16:05, pid = 10762]
02/20/2009 15:16:05.761692 zmdc[10139].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
tail: cannot open `/tmp/zmdc.sock' for reading: No such device or address

==> /tmp/zmfilter.log <02> /tmp/zmpkg.log <02> /tmp/zmupdate.log <==

==> /tmp/zmwatch.log <==
02/20/2009 15:15:22.923597 zmwatch[10169].INF [Restarting capture daemon for Cam2, shared memory not valid]
02/20/2009 15:15:23.472744 zmwatch[10169].INF ['zmc -d /dev/video0' starting at 09/02/20 15:15:23, pid = 10745]
02/20/2009 15:15:33.474429 zmwatch[10169].INF [Restarting capture daemon for Cam2, shared memory not valid]
02/20/2009 15:15:34.122980 zmwatch[10169].INF ['zmc -d /dev/video0' starting at 09/02/20 15:15:34, pid = 10750]
02/20/2009 15:15:44.124666 zmwatch[10169].INF [Restarting capture daemon for Cam2, shared memory not valid]
02/20/2009 15:15:44.593061 zmwatch[10169].INF ['zmc -d /dev/video0' starting at 09/02/20 15:15:44, pid = 10754]
02/20/2009 15:15:54.594821 zmwatch[10169].INF [Restarting capture daemon for Cam2, shared memory not valid]
02/20/2009 15:15:55.075539 zmwatch[10169].INF ['zmc -d /dev/video0' starting at 09/02/20 15:15:55, pid = 10758]
02/20/2009 15:16:05.077306 zmwatch[10169].INF [Restarting capture daemon for Cam2, shared memory not valid]
02/20/2009 15:16:05.502213 zmwatch[10169].INF ['zmc -d /dev/video0' starting at 09/02/20 15:16:05, pid = 10762]
I tried investigating the shared memory issue that I see pop up on a lot of forum posts, but the fix in /etc/sysctl.conf doesn't seem to have made the issue go away (even after a reboot). The cam works fine in vlc and xawtv. I've tried changing the permissions on /dev/video0 to 666 and 777 and changed zmfix to 4755, but still no go. Any help you could offer would be greatly appreciated.

Thanks,
Dave

Update

Posted: Sat Feb 21, 2009 2:46 pm
by maino82
Just a quick update in case anyone else encounters the same problem with this cam. For some reason it was not correctly detecting the format using the "auto" option, so I just had to set it manually.

Posted: Thu May 21, 2009 7:19 am
by xeron
same problem here...
was this the solution to your problem? to change the format? i have the same camera, same zm version but i'm unable to get a picture

http://www.zoneminder.com/forums/viewto ... 2871#52871