Using a laptop with a webcam, I installed Ubuntu 9.10 Karmic and Zoneminder v1.24.2 without any problem.
However the webcam works fine with xawtv and I can grab snapshots but in the zoneminder web interface the device /dev/video0 is red
Monitor-1 Monitor /dev/video (0)
orange red
Here follow some parts of logs which I checked and seem to show something wrong but I have currently found no solution.
dmesg :
[ 17.225707] Linux video capture interface: v2.00
[ 17.228547] uvcvideo: Found UVC 1.00 device USB Camera Device (174f:5237)
[ 17.245423] input: USB Camera Device as /devices/pci0000:00/0000:00:03.3/usb1/1-8/1-8:1.0/input/input7
[ 17.245477] usbcore: registered new interface driver uvcvideo
[ 17.245481] USB Video Class driver (v0.1.0)
zmu :
~$ zmu -d /dev/video0 -q -v
Error, failed to query crop /dev/video0: Invalid argument
~$ zmu -m 0 -q -v
Error, failed to query crop /dev/video0: Invalid argument
zmdc.log :
02/12/10 17:58:03.017210 zmdc[1492].INF [Starting pending process, zmc -d /dev/video]
02/12/10 17:58:03.018482 zmdc[1492].INF ['zmc -d /dev/video' starting at 10/02/12 17:58:03, pid = 4715]
02/12/10 17:58:03.060330 zmdc[1492].ERR ['zmc -d /dev/video' exited abnormally, exit status 6]
v4l-info :
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "USB Camera Device"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 1280
maxheight : 1024
minwidth : 48
minheight : 32
channels
ioctl VIDIOCGCHAN: Invalid argument
tuner
ioctl VIDIOCGTUNER: Invalid argument
audio
ioctl VIDIOCGAUDIO: Invalid argument
Can somebody give an advice ?
Many thanks, jcglt
Webcam not working
Webcam not working
I just ran xawtv -c /dev/video0 and got the following results. Obviously something is wrong ! But as a newbie I don't know what.
If somebody could help.
Many thanks, jcjglt
~$ xawtv -c /dev/video0
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.31-19-generic)
xinerama 0: 1280x800+0+0
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*, -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*, -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*, -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*, -*-*-*-*-*-*-16-*-*-*-*-*-*-*,*" to type FontSet
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*, -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*, -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*, -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*, -*-*-*-*-*-*-16-*-*-*-*-*-*-*, *" to type FontSet
ioctl: VIDIOC_G_STD(std=0xb77e61d0005c8326 [PAL_B1,PAL_G,PAL_D,PAL_M,PAL_N,?,SECAM_G,SECAM_H,SECAM_K,SECAM_L,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Argument invalide
config: invalid value for norm: (null)
valid choices for "norm":
ioctl: VIDIOC_S_STD(std=0x0 []): Argument invalide
If somebody could help.
Many thanks, jcjglt
~$ xawtv -c /dev/video0
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.31-19-generic)
xinerama 0: 1280x800+0+0
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*, -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*, -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*, -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*, -*-*-*-*-*-*-16-*-*-*-*-*-*-*,*" to type FontSet
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*, -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*, -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*, -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*, -*-*-*-*-*-*-16-*-*-*-*-*-*-*, *" to type FontSet
ioctl: VIDIOC_G_STD(std=0xb77e61d0005c8326 [PAL_B1,PAL_G,PAL_D,PAL_M,PAL_N,?,SECAM_G,SECAM_H,SECAM_K,SECAM_L,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Argument invalide
config: invalid value for norm: (null)
valid choices for "norm":
ioctl: VIDIOC_S_STD(std=0x0 []): Argument invalide