With ZoneMinder I get a red device name and (at best) a black video square.
I'm running Ubuntu 10.04 LTS, set up via the Ubuntu page on the ZoneMinder wiki. Some basic info is:
Code: Select all
# lsusb -v
Device ID:
Bus 001 Device 004: ID 046d:081a Logitech, Inc. (C260 - USB Video Class)
bDeviceClass 239 Miscellaneous Device
bFunctionClass 14 Video
# lsmod | grep uvc
uvcvideo 57310 0
videodev 34361 1 uvcvideo
v4l1 compat 13251 2 uvcvideo , videodev
# zmu -v -q
Error, failed to query crop /dev/video0: Invalid argument
# zmu -v -q -V1
Video Device: /dev/video0
Video Capabilities
Name: UVC Camera (046d:081a)
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 1280
Maximum Height: 960
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 352
Height: 288
Picture Attributes
Palette: 8 - YUYV
Colour Depth: 16
Brightness: 33924
Hue: 0
Colour :8224
Contrast: 8224
Whiteness: 0
Channel 0 Attributes
Name: Camera 1
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
I'm following the Wiki documentation, but left unclear on how to set the Device Format and Capture Palette options: the zum output only hints at how settings should transfer (e.g. YUYV means YUYV422P?). The -V1 option was something I found in the forums but is not documented on the zum wiki page. Perhaps we should start there: how do I determine the proper values?
Using xawtv it works fine until the J or O key are pressed, then xawtv loops with error:
I can run additional tests and post them here. I will even offer to purchase a Logitech C260 for a person with the interest and ability to get it working well.libv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x32315559 [YU12];fmt.pix.field=NONE;fmt.pix.bytesperline=352;fmt.pix.sizeimage=152064;fmt.pix.colorspace=SRGB;fmt.pix.priv=0): Input/output error