I compiled ZM I am getting an error in /var/log/messages
mu[13654]: WAR [Shared memory not initialised by capture daemon, some query functions may not be available or produce invalid results]
I read this post which was very helpfup and followed some of it.
http://www.zoneminder.com/forums/viewtopic.php?t=11068.
13. Shared memory settings
Code:
sudo vi /etc/sysctl.conf
added this
kernel.shmall = 134217728
kernel.shmmax = 134217728
This is from dmesg for the non working cam a Logitech Quick Cam Pro 9000 with the uvcvideo driver. this one is plug-n-play in stock Ubuntu 7.04
[60760.302476] usb 1-2: USB disconnect, address 2
[61401.019984] usb 4-3: USB disconnect, address 5
[61408.030609] usb 4-4: new high speed USB device using ehci_hcd and address 6
[61408.294814] usb 4-4: configuration #1 chosen from 1 choice
[61408.295035] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0990)
And this is from the working cam
[61461.043339] usb 2-1: new full speed USB device using uhci_hcd and address 3
[61461.249850] usb 2-1: configuration #1 chosen from 1 choice
[61461.252819] ubuntu/media/gspcav1/gspca_core.c: USB SPCA5XX camera found.(SPCA561A)
Here is more /var/log/messages this info is constantly recurring
Mar 30 08:05:35 zone-minder zmwatch[13647]: INF [Restarting capture daemon for Cam1, shared memory not valid]
Mar 30 08:05:35 zone-minder zmdc[13609]: INF ['zmc -d /dev/video0' starting at 08/03/30 08:05:35, pid = 15281]
Mar 30 08:05:35 zone-minder zmdc[15281]: INF ['zmc -d /dev/video0' started at 08/03/30 08:05:35]
Mar 30 08:05:35 zone-minder zmc_dvideo0[15281]: INF [Debug Level = 0, Debug Log = <none>]
Mar 30 08:05:35 zone-minder zmwatch[13647]: INF ['zmc -d /dev/video0' starting at 08/03/30 08:05:35, pid = 15281]
Mar 30 08:05:45 zone-minder zmwatch[13647]: INF [Restarting capture daemon for Cam1, shared memory not valid]
Mar 30 08:05:45 zone-minder zmdc[13609]: INF ['zmc -d /dev/video0' starting at 08/03/30 08:05:45, pid = 15283]
Mar 30 08:05:45 zone-minder zmdc[15283]: INF ['zmc -d /dev/video0' started at 08/03/30 08:05:45]
Mar 30 08:05:45 zone-minder zmc_dvideo0[15283]: INF [Debug Level = 0, Debug Log = <none>]
Mar 30 08:05:45 zone-minder zmwatch[13647]: INF ['zmc -d /dev/video0' starting at 08/03/30 08:05:45, pid = 15283]
Mar 30 08:05:55 zone-minder zmwatch[13647]: INF [Restarting capture daemon for Cam1, shared memory not valid]
Mar 30 08:05:55 zone-minder zmdc[13609]: INF ['zmc -d /dev/video0' starting at 08/03/30 08:05:55, pid = 15286]
Mar 30 08:05:55 zone-minder zmdc[15286]: INF ['zmc -d /dev/video0' started at 08/03/30 08:05:55]
Mar 30 08:05:55 zone-minder zmc_dvideo0[15286]: INF [Debug Level = 0, Debug Log = <none>]
Mar 30 08:05:55 zone-minder zmwatch[13647]: INF ['zmc -d /dev/video0' starting at 08/03/30 08:05:55, pid = 15286]
Thanks