Error, failed to query crop /dev/video: Invalid argument
Error, failed to query crop /dev/video: Invalid argument
Hi. I just installed ZoneMinder 1.24.2 on a 64-bit CentOS 5.5 machine running kernel 2.6.18.
I have an Intel PC Camera Pro, and a brand-new Logitech QuickCam Orbit AF. Here's a dmesg snip from them being plugged in:
usb 1-1: new high speed USB device using ehci_hcd and address 5
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device <unnamed> (046d:0994)
input: UVC Camera (046d:0994) as /class/input/input1
usbcore: registered new driver uvcvideo
USB Video Class driver (v0.1.0)
usbcore: registered new driver snd-usb-audio
usb 2-2: new full speed USB device using uhci_hcd and address 5
usb 2-2: configuration #1 chosen from 1 choice
gspca: probing 0733:0430
gspca: probe ok
Here's relevant output from lsusb:
Bus 001 Device 005: ID 046d:0994 Logitech, Inc. QuickCam Orbit/Sphere AF
Bus 002 Device 005: ID 0733:0430 ViewQuest Technologies, Inc. Intel Pro Share WebCam
And, ls /dev/vid*:
lrwxrwxrwx 1 root root 6 Jul 1 00:46 /dev/video -> video0
crw-r--rw- 1 root root 81, 0 Jul 1 00:46 /dev/video0
crw-r--r-- 1 root root 81, 1 Jul 1 00:46 /dev/video1
However, when I try to do zmu -d /dev/video -q -v (or /dev/video0 or /dev/video1), I get th subject error message.
What does that error message mean? I have found exactly ONE reference to it in the forums so far and the thread didn't offer an awful lot of information.
Let me know what other info is needed.
Thanks in advance!
I have an Intel PC Camera Pro, and a brand-new Logitech QuickCam Orbit AF. Here's a dmesg snip from them being plugged in:
usb 1-1: new high speed USB device using ehci_hcd and address 5
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device <unnamed> (046d:0994)
input: UVC Camera (046d:0994) as /class/input/input1
usbcore: registered new driver uvcvideo
USB Video Class driver (v0.1.0)
usbcore: registered new driver snd-usb-audio
usb 2-2: new full speed USB device using uhci_hcd and address 5
usb 2-2: configuration #1 chosen from 1 choice
gspca: probing 0733:0430
gspca: probe ok
Here's relevant output from lsusb:
Bus 001 Device 005: ID 046d:0994 Logitech, Inc. QuickCam Orbit/Sphere AF
Bus 002 Device 005: ID 0733:0430 ViewQuest Technologies, Inc. Intel Pro Share WebCam
And, ls /dev/vid*:
lrwxrwxrwx 1 root root 6 Jul 1 00:46 /dev/video -> video0
crw-r--rw- 1 root root 81, 0 Jul 1 00:46 /dev/video0
crw-r--r-- 1 root root 81, 1 Jul 1 00:46 /dev/video1
However, when I try to do zmu -d /dev/video -q -v (or /dev/video0 or /dev/video1), I get th subject error message.
What does that error message mean? I have found exactly ONE reference to it in the forums so far and the thread didn't offer an awful lot of information.
Let me know what other info is needed.
Thanks in advance!
i got the same problem on CentOS 5.3 i386, bt878 card, here's some info of my system.
# dmesg | grep btt
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:03:09.0, irq: 217, latency: 132, mmio: 0xe8000000
bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00f360ff [init]
bttv0: using tuner=-1
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (1).
bttv1: Bt878 (rev 17) at 0000:03:0a.0, irq: 225, latency: 132, mmio: 0xe8002000
bttv1: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
bttv1: gpio: en=00000000, out=00000000 in=00f36fff [init]
bttv1: using tuner=-1
bttv1: registered device video1
bttv1: registered device vbi1
bttv1: PLL: 28636363 => 35468950 .. ok
#
# zmu -d /dev/video -q -v
Error, failed to query crop capabilities /dev/video: Invalid argument
#
i've tried chmod 777 to /dev/video0 but still got the same error. These cards used to work on my previous set up (older CentOS version though). Any suggestion for this prblem?# ls -l /usr/local/bin/zmfix
-rwsr-xr-x 1 root root 159442 Jul 22 23:58 /usr/local/bin/zmfix
#
ok, i got some update. when i execute 'zmu -d /dev/video0 -V 1 -q -v' i can get card property as it should. so i think there's something to do with v4l v1 & v2 here. But when i tried changing source property in zm from v4l v2 to v1, i still can't get it to work. Looking in log it says 'Capture failure for frame 0: Invalid argument'. Any ideas? thx.
I've got the same problem as hellvy. i'm using a Kodicom 8800 bt878 card and I get the same error. I've also just moved to CentOS and installed from source. This didn't used to happen with the same card and an RPM package for Fedora 10.
dclarke - I read your post on webcams, but neither hellvy nor I are using webcams so I'm assuming this doesn't apply.
Anyone got any other ideas? hellvy, did you get any resolution?
dclarke - I read your post on webcams, but neither hellvy nor I are using webcams so I'm assuming this doesn't apply.
Anyone got any other ideas? hellvy, did you get any resolution?