I am sure, it is just a ^&*() missing
I am new to Zoneminder.
I got three cameras, which are working with xawtv. These are USB cameras on /dev/video0 ~ 2. My system is Ubuntu on an AMD/64 and Ubuntu installed for me Zoneminder 1.22.3
I have added the three cameras (Monitor) with different functions Record, Mocord and Detect, just to find out how it will be different.
Montage shows me the three cameras without a picture, but each one has the right name.
I am sure I just need to start the cameras somehow, because the LED on the camera is off. ZoneMinder seems not to turn them on.
Maybe that is also interesting. I have three cameras, but only two I can use with xawtv. Blow is a start of all three cameras with xawtv:
ronald@ronald-desktop:/var/log/zm$ xawtv -c /dev/video0 &
[1] 14363
ronald@ronald-desktop:/var/log/zm$ This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.24-24-generic)
xinerama 0: 1280x1024+1280+0
xinerama 1: 1280x1024+0+0
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 137 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 13
Current serial number in output stream: 13
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0x7ffff617f904 [PAL_G,PAL_M,PAL_60,NTSC_M,NTSC_M_JP,?,?,SECAM_B,SECAM_D,SECAM_G,SECAM_K,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
ronald@ronald-desktop:/var/log/zm$ xawtv -c /dev/video1 &
[2] 14415
ronald@ronald-desktop:/var/log/zm$ This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.24-24-generic)
xinerama 0: 1280x1024+1280+0
xinerama 1: 1280x1024+0+0
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 137 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 13
Current serial number in output stream: 13
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0x7fff20d47114 [PAL_G,PAL_I,PAL_M,NTSC_M,NTSC_M_JP,?,SECAM_G,SECAM_K,SECAM_L,?ATSC_8_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
ronald@ronald-desktop:/var/log/zm$ xawtv -c /dev/video2 &
[3] 14440
ronald@ronald-desktop:/var/log/zm$ This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.24-24-generic)
xinerama 0: 1280x1024+1280+0
xinerama 1: 1280x1024+0+0
X Error of failed request: XF86DGANoDirectVideoMode
Major opcode of failed request: 137 (XFree86-DGA)
Minor opcode of failed request: 1 (XF86DGAGetVideoLL)
Serial number of failed request: 13
Current serial number in output stream: 13
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0x7fff0957d944 [PAL_G,PAL_D1,PAL_M,PAL_60,NTSC_M,?,?,SECAM_B,SECAM_D,SECAM_G,SECAM_K,SECAM_L,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_STREAMON(int=1): No space left on device
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
v4l2: oops: select timeout
1. BTW, I have three cameras. At the same time I can only see 2 cameras with 2x xawtv, while the third xawtv window is black. I see a /dev/video2
2. I need to add a more remote camera (next room). Which camera would you recommend? (IP or wireless IP? Which type works with Linux and with Zoneminder?)
tail /tmp/zmwatch.log
09/19/09 08:38:12.262744 zmwatch[8809].INF [Restarting capture daemon for Entrance, shared memory not valid]
09/19/09 08:38:12.534487 zmwatch[8809].INF [Can't find child with pid of '12550'] at /usr/bin/zmwatch.pl line 119
09/19/09 08:38:12.536427 zmwatch[8809].INF [Restarting capture daemon for Whiteboard, shared memory not valid]
09/19/09 08:38:12.781168 zmwatch[8809].INF ['zmc -d /dev/video1' stopping at 09/09/19 08:38:12]
09/19/09 08:38:22.782907 zmwatch[8809].INF [Restarting capture daemon for Kitchendoor, shared memory not valid]
09/19/09 08:38:23.049869 zmwatch[8809].INF [Can't find child with pid of '12553'] at /usr/bin/zmwatch.pl line 119
09/19/09 08:38:23.051840 zmwatch[8809].INF [Restarting capture daemon for Entrance, shared memory not valid]
09/19/09 08:38:23.295338 zmwatch[8809].INF ['zmc -d /dev/video0' stopping at 09/09/19 08:38:23]
09/19/09 08:38:23.296564 zmwatch[8809].INF [Restarting capture daemon for Whiteboard, shared memory not valid]
09/19/09 08:38:23.565907 zmwatch[8809].INF [Can't find child with pid of '12556'] at /usr/bin/zmwatch.pl line 119
I added to the /etc/sysctl.conf
kernel.shmall = 134217728
# kernel.shmmax = 134217728
kernel.shmmax = 4194304000
ipcs -lm
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 4096000
max total shared memory (kbytes) = 536870912
min seg size (bytes) = 1
sudo zmu -d /dev/video0 -q -v
Error, failed to get channel 0 attributes: Invalid argument