Ubuntu 8.10 (up to date with patches)
Installed zoneminder from the repositories (version 1.23.3)
I've installed camorama and am able to get a live stream, so in other words the WebCam has been recognised and is working.
I've increased the shared memory by adding
kernel.shmall = 134217728
kernel.shmmax = 134217728
to /etc/sysctl.conf and rebooting.
Code: Select all
cat /proc/sys/kernel/shmall 134217728
cat /proc/sys/kernel/shmmax 134217728
Code: Select all
steve@M:~$ tail /tmp/zm*
==> /tmp/zmaudit.log <==
==> /tmp/zmdc.log <25> /tmp/zmfilter.log <02> /tmp/zmpkg.log <02> /tmp/zmupdate.log <==
==> /tmp/zmwatch.log <==
25/02/09 13:29:11.793094 zmwatch[18229].INF [Restarting capture daemon for Logitech-cam, shared memory not valid]
25/02/09 13:29:12.173952 zmwatch[18229].INF ['zmc -d /dev/video0' starting at 09/02/25 13:29:12, pid = 18324]
25/02/09 13:29:22.176473 zmwatch[18229].INF [Restarting capture daemon for Logitech-cam, shared memory not valid]
25/02/09 13:29:22.547996 zmwatch[18229].INF ['zmc -d /dev/video0' starting at 09/02/25 13:29:22, pid = 18340]
25/02/09 13:29:32.550191 zmwatch[18229].INF [Restarting capture daemon for Logitech-cam, shared memory not valid]
25/02/09 13:29:32.949024 zmwatch[18229].INF ['zmc -d /dev/video0' starting at 09/02/25 13:29:32, pid = 18351]
25/02/09 13:29:42.951131 zmwatch[18229].INF [Restarting capture daemon for Logitech-cam, shared memory not valid]
25/02/09 13:29:43.346978 zmwatch[18229].INF ['zmc -d /dev/video0' starting at 09/02/25 13:29:43, pid = 18355]
25/02/09 13:29:53.349183 zmwatch[18229].INF [Restarting capture daemon for Logitech-cam, shared memory not valid]
25/02/09 13:29:53.728394 zmwatch[18229].INF ['zmc -d /dev/video0' starting at 09/02/25 13:29:53, pid = 18361]
Code: Select all
steve@M:~$ sudo ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 tv 600 393216 2 dest
0x00000000 32769 tv 600 393216 2 dest
0x00000000 65538 tv 600 393216 2 dest
0x00000000 98307 tv 600 393216 2 dest
0x00000000 131076 tv 600 393216 2 dest
0x00000000 163845 tv 600 393216 2 dest
0x00000000 196614 tv 600 393216 2 dest
0x00000000 229383 tv 600 393216 2 dest
0x00000000 262152 tv 600 393216 2 dest
0x00000000 294921 tv 600 393216 2 dest
0x00000000 327690 tv 600 393216 2 dest
0x00000000 360459 tv 600 393216 2 dest
0x0056a4d5 491532 steve 660 488 0
0x0056a4d6 524301 steve 660 65536 0
0x00000000 557070 steve 600 393216 2 dest
0x00000000 589839 steve 600 393216 2 dest
0x00000000 622608 steve 600 393216 2 dest
0x00000000 655377 steve 600 393216 2 dest
0x00000000 688146 steve 600 393216 2 dest
0x00000000 720915 steve 600 393216 2 dest
0x00000000 753684 steve 600 393216 2 dest
0x00000000 786453 steve 600 393216 2 dest
0x00000000 819222 steve 600 393216 2 dest
0x00000000 851991 steve 600 393216 2 dest
0x00000000 884760 steve 600 393216 2 dest
0x00000000 1474585 steve 600 393216 2 dest
0x00000000 950298 steve 600 393216 2 dest
0x00000000 983067 steve 600 393216 2 dest
0x00000000 1605660 steve 600 393216 2 dest
Code: Select all
steve@M:~$ more /etc/zm/zm.conf
# ==========================================================================
#
# ZoneMinder Base Configuration, $Date: 2006-11-16 09:06:30 +0000 (Thu, 16 Nov 2006) $, $Revision: 2057 $
#
# ==========================================================================
#
# This file is generated by 'configure'. Care should be taken if manually
# editing this file as an changes may be overwritten by subsequent configuration
# or installations.
#
# Current version of ZoneMinder
ZM_VERSION=1.23.3
# Path to build directory, used mostly for finding DB upgrade scripts
ZM_PATH_BUILD=/build/buildd/zoneminder-1.23.3
# Build time, used to record when to trigger various checks
ZM_TIME_BUILD=1222245607
# Path to ZoneMinder binaries
ZM_PATH_BIN=/usr/bin
# Path to ZoneMinder libraries (none at present, for future use)
ZM_PATH_LIB=/usr/lib
# Path to ZoneMinder configuration (this file only at present)
ZM_PATH_CONF=/etc/zm
# Path to ZoneMinder web files
ZM_PATH_WEB=/usr/share/zoneminder
# Path to ZoneMinder cgi files
ZM_PATH_CGI=/usr/lib/cgi-bin
# Username and group that web daemon (httpd/apache) runs as
ZM_WEB_USER=www-data
ZM_WEB_GROUP=www-data
# ZoneMinder database hostname or ip address
ZM_DB_HOST=localhost
# ZoneMinder database name
ZM_DB_NAME=zm
# ZoneMinder database user
ZM_DB_USER=zmuser
# ZoneMinder database password
ZM_DB_PASS=zmpass
Here's some more output that may help.
Code: Select all
steve@M:~$ zmu -d /dev/video0 -q -v
Video Capabilities
Name: Logitech QuickCam Pro 4000
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 :32768
Contrast: 32768
Whiteness: 49152
Channel 0 Attributes
Name: Webcam
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 2055 - Unknown
Code: Select all
steve@M:~$ lsusb
Bus 003 Device 003: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 003 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
Bus 001 Device 003: ID 2040:9580 Hauppauge
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub