Google Grupper har inte längre stöd för nya Usenet-inlägg eller -prenumerationer. Historiskt innehåll förblir synligt.
Dismiss

Bug#608790: zoneminder failed to query crop /dev/video0: Invalid argument

1 830 visningar
Hoppa till det första olästa meddelandet

piratebab

oläst,
3 jan. 2011 09:00:032011-01-03
till
Package: zoneminder
Version: 1.24.2-7

While probing my cam (logitech C300) with this revision of zoneminder I
got a
Unable to probe local cameras, status is '255'

It worked with previous version.


zmu -d /dev/video0 -q -v -U ***** -P ****
returns
Error, failed to query crop /dev/video0: Invalid argument

It seems to be fixed by a patch of zm source
http://www.zoneminder.com/forums/viewtopic.php?p=59472#59472

I am using debian testing
kernel 2.6.32-5-amd64
libc6 Version: 2.11.2-7
ffmeg Version: 5:0.6.1+svn20101128-0.1

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Vagrant Cascadian

oläst,
3 jan. 2011 14:30:022011-01-03
till
On Mon, Jan 03, 2011 at 02:50:23PM +0100, piratebab wrote:
> While probing my cam (logitech C300) with this revision of
> zoneminder I got a
> Unable to probe local cameras, status is '255'
>
> It worked with previous version.

i had a similar problem when i was running a lenny system with zoneminder and a
few other packages from squeeze. after fully upgrading to squeeze, it started
exhibiting this problem.

perhaps there have been changes to video4linux or other software?




> zmu -d /dev/video0 -q -v -U ***** -P ****
> returns
> Error, failed to query crop /dev/video0: Invalid argument
>
> It seems to be fixed by a patch of zm source
> http://www.zoneminder.com/forums/viewtopic.php?p=59472#59472

even though this was posted long after 1.24.2 was released, this patch appears
to have been part of the upstream sources already, as best i can tell (the
lines appear to have been added, and i can't find the lines that were removed.
a unified diff would have made this much easier). so i'm not sure what version
the reporter was using.

it must be something else triggering the issue.


live well,
vagrant

Laurent Lemoine

oläst,
6 jan. 2011 02:40:012011-01-06
till
Hello,
I'm having the same issue since switching to Squeeze.

If I try to probe for cameras with zoneminder: Unable to probe local
cameras, status is '255'

zmu -d /dev/video0 -q -v -U *** -P ***: Error, failed to query crop
capabilities /dev/video0: Invalid argument

zmu -d /dev/video1 -q -v -U *** -P ***: Error, failed to query crop
/dev/video1: Invalid argument

Informations:

Squeeze up to date.
kernel: 2.6.32-5-amd64
zoneminder: 1.24.2-7
libc6 Version: 2.11.2-7
ffmeg Version: ffmeg Version: 5:0.6.1+svn20101128-0.1

zmu -d /dev/video0 -q -v -V1 -U *** -P ***

Video Device: /dev/video0
Video Capabilities
Name: USB camera
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 640
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 160
Height: 120
Picture Attributes
Palette: 0 - Unknown
Colour Depth: 8
Brightness: 27904
Hue: 0
Colour :44236
Contrast: 32509
Whiteness: 32768
Channel 0 Attributes
Name: sonixj
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL

zmu -d /dev/video1 -q -v -V1 -U *** -P ***

Video Device: /dev/video1
Video Capabilities
Name: FaceCam 312
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 640
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 8 - YUYV
Colour Depth: 16
Brightness: 35466
Hue: 32768
Colour :44236
Contrast: 6554
Whiteness: 45055
Channel 0 Attributes
Name: Camera 1
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL

I Hope it will help.

Regards,
Laurent

0 nya meddelanden