Hope I am not posting in the wrong place, but I believe that this webcam is not supported (tried both official 0.10 for ubuntu and the latest DIY sourceforge pack) : some details:
lsusb:
...
Bus 004 Device 002: ID 046d:08f6 Logitech, Inc. QuickCam Messenger Plus
...
zbarcam --verbose=32 :
_zbar_video_open: opened camera device /dev/video0 (fd=5)
_zbar_v4l2_probe: Camera on usb-0000:00:1a.1-1 driver STV06xx (version 2.9.0)
_zbar_v4l2_probe: capabilities: CAPTURE READWRITE STREAMING
ERROR: zbar video in v4l2_reset_crop():
system error: querying crop support (VIDIOC_CROPCAP): Invalid argument (22)
v4l2_probe_formats: enumerating supported formats:
v4l2_probe_formats: [0] GRBG : GRBG
v4l2_probe_formats: current format: GRBG(47425247) 324 x 240 (line=0x144 size=0x134d0)
v4l2_probe_formats: setting requested size: 40960 x 30720
v4l2_probe_formats: final format: GRBG(47425247) 324 x 240 (line=0x144 size=0x134d0)
_zbar_v4l2_probe: using I/O mode: USERPTR
add_poll: [1] fd=6 handler=0x7f0b92774790
_zbar_window_attach: falling back to XImage
_zbar_window_probe_ximage: [0] depth=1 bpp=1: not supported
_zbar_window_probe_ximage: [1] depth=4 bpp=8: not supported
ximage_probe_format: bits=8 r=000000e0 g=0000001c b=00000003: n=0 visuals=(nil)
ximage_probe_format: bits=8 r=00000007 g=00000038 b=000000c0: n=0 visuals=(nil)
_zbar_window_probe_ximage: [2] depth=8 bpp=8: no visuals
_zbar_window_probe_ximage: [3] depth=15 bpp=16: not supported
ximage_probe_format: bits=16 r=0000f800 g=000007e0 b=0000001f: n=0 visuals=(nil)
ximage_probe_format: bits=16 r=00007c00 g=000003e0 b=0000001f: n=0 visuals=(nil)
ximage_probe_format: bits=16 r=000000f8 g=0007e000 b=00001f00: n=0 visuals=(nil)
ximage_probe_format: bits=16 r=0000007c g=0003e000 b=00001f00: n=0 visuals=(nil)
_zbar_window_probe_ximage: [4] depth=16 bpp=16: no visuals
ximage_probe_format: bits=24 r=000000ff g=0000ff00 b=00ff0000: n=0 visuals=(nil)
ximage_probe_format: bits=24 r=00ff0000 g=0000ff00 b=000000ff: n=80 visuals=0x6d6050
_zbar_window_probe_ximage: [5] depth=24 bpp=32: BGR3(33524742)
ximage_probe_format: bits=32 r=0000ff00 g=00ff0000 b=ffffffffff000000: n=0 visuals=(nil)
ximage_probe_format: bits=32 r=00ff0000 g=0000ff00 b=000000ff: n=1 visuals=0x6d4590
_zbar_window_probe_ximage: [6] depth=32 bpp=32: BGR4(34524742)
proc_input_thread: spawned input thread
ERROR: zbar video in zbar_negotiate_format():
unsupported request: no supported image formats available
WARNING: no compatible input to output format
...trying again with output disabled
ERROR: zbar video in zbar_negotiate_format():
unsupported request: no supported image formats available
zbar_processor_init: ERROR: no compatible video input format
ERROR: zbar processor in zbar_processor_init():
unsupported request: no compatible image format
ERROR: zbar processor in zbar_processor_init():
unsupported request: no compatible image format
proc_kick_handler: kicking 2 fds
Output from v4l-info and xdpyinfo in the attached file:
Output from v4l-info and xdpyinfo
Bayer formats are not currently supported (there is an open feature request for it). You can try hooking in libv4l for additional format support, eg:
$ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so zbarcam
Eventually this will be built-in...
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so zbarcam
works perfectly: Thank you !