Code: Select all
hickcam zoneminder # uname -a
Linux 2.6.17-gentoo-r8 #2 SMP PREEMPT Thu Oct 12 11:32:00 Local time zone must be set-- i686 VIA Samuel 2 GNU/Linux
chickcam / # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 2829624 2067396 618488 77% /
udev 59296 172 59124 1% /dev
none 59296 0 59296 0% /dev/shm
/dev/hda1 35104 6312 26980 19% /boot
chickcam / # zon
when i start it
Code: Select all
chickcam syslog-ng # tail -f /var/log/messages
Feb 2 10:48:53 chickcam sudo: root : TTY=pts/0 ; PWD=/ ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmupdate.pl -c
Feb 2 10:48:54 chickcam zmdc[12213]: INF ['zmupdate.pl -c' starting at 07/02/02 10:48:54, pid = 12264]
Feb 2 10:48:54 chickcam zmdc[12264]: INF ['zmupdate.pl -c' started at 07/02/02 10:48:54]
Feb 2 10:48:58 chickcam zmdc[12213]: INF [Starting pending process, zmc -d /dev/video]
Feb 2 10:48:58 chickcam zmdc[12213]: INF ['zmc -d /dev/video' starting at 07/02/02 10:48:58, pid = 12297]
Feb 2 10:48:58 chickcam zmdc[12297]: INF ['zmc -d /dev/video' started at 07/02/02 10:48:58]
Feb 2 10:48:58 chickcam zmc_dvideo[12297]: INF [Debug Level = 0, Debug Log = <none>]
Feb 2 10:48:58 chickcam zmc_dvideo[12297]: ERR [Failed to open video device /dev/video: Permission denied]
Feb 2 10:48:58 chickcam zmdc[12213]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Feb 2 10:49:02 chickcam zmu[12299]: ERR [Shared memory not initialised by capture daemon]
Feb 2 10:49:14 chickcam zmu[12306]: ERR [Shared memory not initialised by capture daemon]
Feb 2 10:49:18 chickcam zmdc[12213]: INF [Starting pending process, zmc -d /dev/video]
Feb 2 10:49:18 chickcam zmdc[12213]: INF ['zmc -d /dev/video' starting at 07/02/02 10:49:18, pid = 12312]
Feb 2 10:49:18 chickcam zmdc[12312]: INF ['zmc -d /dev/video' started at 07/02/02 10:49:18]
Feb 2 10:49:18 chickcam zmc_dvideo[12312]: INF [Debug Level = 0, Debug Log = <none>]
Feb 2 10:49:18 chickcam zmc_dvideo[12312]: ERR [Failed to open video device /dev/video: Permission denied]
Feb 2 10:49:18 chickcam zmdc[12213]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Feb 2 10:49:23 chickcam zmwatch[12260]: INF [Restarting capture daemon for webcam, shared memory not valid]
Feb 2 10:49:24 chickcam zmdc[12213]: INF ['zmc -d /dev/video' starting at 07/02/02 10:49:24, pid = 12325]
Feb 2 10:49:24 chickcam zmdc[12325]: INF ['zmc -d /dev/video' started at 07/02/02 10:49:24]
Code: Select all
chickcam / # ls -la /dev/vid*
lrwxrwxrwx 1 root root 11 Feb 2 10:24 /dev/video -> /dev/video0
lrwxrwxrwx 1 root root 10 Feb 1 20:44 /dev/video0 -> v4l/video0
chickcam / #
Code: Select all
chickcam syslog-ng # ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x7a6d2001 163840 apache 700 12166308 0
------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 131072 apache 600 1
0x00000000 163841 apache 600 1
------ Message Queues --------
key msqid owner perms used-bytes messages
Code: Select all
chickcam / # zmu -d /dev/video0 -q -v
Video Capabilities
Name: Logitech QuickCam Express II
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 352
Maximum Height: 288
Minimum Width: 160
Minimum Height: 120
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 27136
Hue: 0
Colour :0
Contrast: 11264
Whiteness: 320
Channel 0 Attributes
Name: SPCA561
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
chickcam / #