SourceForge has been redesigned. Learn more.
Close

#80 linux-3.12.0 z bar stopped work

latest_mercurial
open
spadix
9
2013-11-13
2013-11-09
No

After uprgade to linux-3.12, libzbar stopped work. On 3.2.52 kernel work fine. luvcview work on both kernels.

~~~~~

strace -e ioctl zbarcam

ioctl(5, VIDIOC_QUERYCAP or VT_OPENQRY, 0x7fff5fc8d680) = 0
ioctl(5, VIDIOC_CROPCAP, 0x7fff5fc8d610) = 0
ioctl(5, VIDIOC_SUBDEV_S_CROP or VIDIOC_S_CROP, 0x7fff5fc8d5d0) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(5, VIDIOC_ENUM_FMT or VT_SETMODE, 0x7fff5fc8d640) = 0
ioctl(5, VIDIOC_ENUM_FMT or VT_SETMODE, 0x7fff5fc8d640) = -1 EINVAL (Invalid argument)
ioctl(5, VIDIOC_G_FMT or VIDIOC_SUBDEV_G_FMT or VT_SENDSIG, 0x7fff5fc8d6f0) = 0
ioctl(5, VIDIOC_REQBUFS or VT_DISALLOCATE, 0x7fff5fc8d5f0) = 0
ioctl(5, VIDIOC_SUBDEV_S_FMT or VIDIOC_S_FMT or VT_RELDISP, 0x7fff5fc8d4b0) = -1 EBUSY (Device or resource busy)
ioctl(5, VIDIOC_SUBDEV_S_FMT or VIDIOC_S_FMT or VT_RELDISP, 0x7fff5fc8d4b0) = -1 EBUSY (Device or resource busy)
WARNING: no compatible input to output format
...trying again with output disabled
ioctl(5, VIDIOC_SUBDEV_S_FMT or VIDIOC_S_FMT or VT_RELDISP, 0x7fff5fc8d4b0) = -1 EBUSY (Device or resource busy)
ioctl(5, VIDIOC_SUBDEV_S_FMT or VIDIOC_S_FMT or VT_RELDISP, 0x7fff5fc8d4b0) = -1 EBUSY (Device or resource busy)
ERROR: zbar processor in zbar_processor_init():
unsupported request: no compatible image format
+++ exited with 1 +++
~~~~~~

3 Attachments

Discussion

  • Pavel Vasilyev

    Pavel Vasilyev - 2013-11-12

    P.S.
    VIDIOC_S_CROP = -1 ENOTTY, it's normaly, it's not supported by uvcvideo driver

     
  • Pavel Vasilyev

    Pavel Vasilyev - 2013-11-13

    FIXED

     

Log in to post a comment.