Setup 720HD USB cameras in Linux

642 views
Skip to first unread message

Javier Hdez.

unread,
Sep 9, 2018, 9:36:49 AM9/9/18
to OpenPnP
Hello,


NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.18.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)


I have 2 cameras like this.

In linux, individually, they work perfectly, but when I try to use with openpnp (stable and latest) or do not see an or just see one of them.



mplayer -tv device=/dev/video0:driver=v4l2:fps=30 tv://






mplayer -tv device=/dev/video1:driver=v4l2:fps=30 tv://





Openpnp



I have tried to reduce the resolution but it has not worked either.

Does anyone have any idea how to solve this?

Best regards

Javier Hdez.

unread,
Sep 9, 2018, 10:36:31 AM9/9/18
to OpenPnP
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 013: ID 05a3:9310 ARC International
Bus 007 Device 012: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 010 Device 002: ID 05a3:9310 ARC International
Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 1d57:fa20 Xenta
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub



lsusb -D /dev/bus/usb/010/002
Device: ID 05a3:9310 ARC International
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x05a3 ARC International
  idProduct          0x9310
  bcdDevice            0.00
  iManufacturer           2 HD Camera Manufacturer
  iProduct                1 USB 2.0 Camera
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          963
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0
      iFunction               5 HD USB Camera
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0
      iInterface              5 HD USB Camera
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength           77
        dwClockFrequency       15.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               4
        iTerminal               0
      VideoControl Interface Descriptor:
        bLength                26
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}
        bNumControl             8
        bNrPins                 1
        baSourceID( 0)          3
        bControlSize            1
        bmControls( 0)       0x0f
        iExtension              0
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x0000001e
          Auto-Exposure Mode
          Auto-Exposure Priority
          Exposure Time (Absolute)
          Exposure Time (Relative)
      VideoControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 3
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000377f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Temperature
          Backlight Compensation
          Gain
          Power Line Frequency
          White Balance Temperature, Auto
          White Balance Component, Auto
        iProcessing             0
        bmVideoStandards     0x 0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               6
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              5 HD USB Camera
      VideoStreaming Interface Descriptor:
        bLength                            15
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         2
        wTotalLength                      615
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       2
        bStillCaptureMethod                 2
        bTriggerSupport                     1
        bTriggerUsage                       1
        bControlSize                        1
        bmaControls( 0)                    11
        bmaControls( 1)                    11
      VideoStreaming Interface Descriptor:
        bLength                            11
        bDescriptorType                    36
        bDescriptorSubtype                  6 (FORMAT_MJPEG)
        bFormatIndex                        1
        bNumFrameDescriptors                8
        bFlags                              0
          Fixed-size samples: No
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 1 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                442509360
        dwMaxBitRate                442509360
        dwMaxVideoFrameBufferSize     1843789
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                147597360
        dwMaxBitRate                147597360
        dwMaxVideoFrameBufferSize      614989
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 48801840
        dwMaxBitRate                 48801840
        dwMaxVideoFrameBufferSize      203341
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 37005360
        dwMaxBitRate                 37005360
        dwMaxVideoFrameBufferSize      154189
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                 12306480
        dwMaxBitRate                 12306480
        dwMaxVideoFrameBufferSize       51277
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                  9357360
        dwMaxBitRate                  9357360
        dwMaxVideoFrameBufferSize       38989
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            800
        wHeight                           600
        dwMinBitRate                230541360
        dwMaxBitRate                230541360
        dwMaxVideoFrameBufferSize      960589
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         8
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            960
        wHeight                           720
        dwMinBitRate                331917360
        dwMaxBitRate                331917360
        dwMaxVideoFrameBufferSize     1382989
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               8
        wWidth( 0)                       1280
        wHeight( 0)                       720
        wWidth( 1)                        960
        wHeight( 1)                       720
        wWidth( 2)                        800
        wHeight( 2)                       600
        wWidth( 3)                        640
        wHeight( 3)                       480
        wWidth( 4)                        352
        wHeight( 4)                       288
        wWidth( 5)                        320
        wHeight( 5)                       240
        wWidth( 6)                        176
        wHeight( 6)                       144
        wWidth( 7)                        160
        wHeight( 7)                       120
        bNumCompressionPatterns             8
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        2
        bNumFrameDescriptors                8
        guidFormat                            {59555932-0000-1000-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                147456000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize     1843200
        dwDefaultFrameInterval        1000000
        bFrameIntervalType                  1
        dwFrameInterval( 0)           1000000
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                147456000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 48660480
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 36864000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                 12165120
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                  9216000
        dwMaxBitRate                  9216000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)            333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            800
        wHeight                           600
        dwMinBitRate                153600000
        dwMaxBitRate                153600000
        dwMaxVideoFrameBufferSize      960000
        dwDefaultFrameInterval         500000
        bFrameIntervalType                  1
        dwFrameInterval( 0)            500000
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         8
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            960
        wHeight                           720
        dwMinBitRate                165888000
        dwMaxBitRate                165888000
        dwMaxVideoFrameBufferSize     1382400
        dwDefaultFrameInterval         666666
        bFrameIntervalType                  1
        dwFrameInterval( 0)            666666
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               8
        wWidth( 0)                       1280
        wHeight( 0)                       720
        wWidth( 1)                        960
        wHeight( 1)                       720
        wWidth( 2)                        800
        wHeight( 2)                       600
        wWidth( 3)                        640
        wHeight( 3)                       480
        wWidth( 4)                        352
        wHeight( 4)                       288
        wWidth( 5)                        320
        wHeight( 5)                       240
        wWidth( 6)                        176
        wHeight( 6)                       144
        wWidth( 7)                        160
        wHeight( 7)                       120
        bNumCompressionPatterns             8
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0100  1x 256 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0320  1x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0b20  2x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1320  3x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         2
      bInterfaceCount         2
      bFunctionClass          1 Audio
      bFunctionSubClass       0
      bFunctionProtocol       0
      iFunction               4 USB Microphone
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              4 USB Microphone
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           41
        bInCollection           1
        baInterfaceNr( 0)       3
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            2
        bmaControls( 0)      0x01
        bmaControls( 0)      0x00
          Mute Control
        bmaControls( 1)      0x02
        bmaControls( 1)      0x00
          Volume Control
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            7 Discrete
        tSamFreq[ 0]         8000
        tSamFreq[ 1]        11025
        tSamFreq[ 2]        16000
        tSamFreq[ 3]        22050
        tSamFreq[ 4]        24000
        tSamFreq[ 5]        44100
        tSamFreq[ 6]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0190  1x 400 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled



 sudo lsusb -D /dev/bus/usb/005/002
Device: ID 1d57:fa20 Xenta
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1d57 Xenta
  idProduct          0xfa20
  bcdDevice           10.01
  iManufacturer           1 Compx
  iProduct                2 2.4G Receiver
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           84
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      54
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              10
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      73
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               2
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      56
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              10
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled


Javier Hdez.

unread,
Sep 9, 2018, 5:02:19 PM9/9/18
to OpenPnP
With guvcview I can watch the two cameras at 14fps





But then I try the same with openpnp and with usbtop I can see that they start to capture but nothing is seen in the openpnp.

Marek T.

unread,
Sep 9, 2018, 5:12:01 PM9/9/18
to OpenPnP
Connect only one camera with settings 10fps and 1280x720 resolution no more.
Tell us if it works under Openpnp?

br
Marek

Javier Hdez.

unread,
Sep 9, 2018, 5:43:22 PM9/9/18
to OpenPnP
I disconnect head camera and reboot.

Now:

ls -lai /dev/video*
531 crw-rw----+ 1 root video 81, 0 sep  9 22:18 /dev/video0

ls -lai /dev/smoothie*
576 lrwxrwxrwx 1 root root 7 sep  9 22:31 /dev/smoothie0 -> ttyACM0
572 lrwxrwxrwx 1 root root 7 sep  9 22:31 /dev/smoothie1 -> ttyACM1

Openpnp TRACE:
2018-09-09 22:35:18 Main DEBUG: Bienvenue, Willkommen, Hello, Namaskar, Welkom to OpenPnP version 2018-08-19_15-00-57.26f9bdb.
2018-09-09 22:35:18 Scripting TRACE: Scripting.on Startup
2018-09-09 22:35:18 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera: HD USB Camera usb-0000:03:00.0-1 for camera DownCamera
2018-09-09 22:35:19 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera: HD USB Camera usb-0000:03:00.0-1 for camera DownCamera
2018-09-09 22:35:19 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera: HD USB Camera usb-0000:03:00.0-1 for camera DownCamera
2018-09-09 22:35:26 ReferenceMachine DEBUG: setEnabled(true)
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(null, 250)...
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 null, 250) => []
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(; Default CONNECT_COMMAND, 10000)...
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] >> ; Default CONNECT_COMMAND
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok - ignored
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 ; Default CONNECT_COMMAND, 10000) => [ok - ignored]
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(G21 ; Set millimeters mode, 10000)...
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] >> G21 ; Set millimeters mode
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 G21 ; Set millimeters mode, 10000) => [ok]
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(G90 ; Set absolute positioning mode, 10000)...
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] >> G90 ; Set absolute positioning mode
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 G90 ; Set absolute positioning mode, 10000) => [ok]
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(M82 ; Set absolute mode for extruder, 10000)...
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] >> M82 ; Set absolute mode for extruder
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 M82 ; Set absolute mode for extruder, 10000) => [ok]
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(M84 ; Disable all steppers, 10000)...
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] >> M84 ; Disable all steppers
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 M84 ; Disable all steppers, 10000) => [ok]
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(; Default ENABLE_COMMAND, 10000)...
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] >> ; Default ENABLE_COMMAND
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 ; Default ENABLE_COMMAND, 10000) => [ok]
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(M801   ; turn on down camera light, 10000)...
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] >> M801   ; turn on down camera light
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 M801   ; turn on down camera light, 10000) => [ok]
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(M803   ; turn on bottom camera light, 10000)...
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] >> M803   ; turn on bottom camera light
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 M803   ; turn on bottom camera light, 10000) => [ok]
2018-09-09 22:35:28 GcodeDriver DEBUG: sendCommand(G4P750 ; Wait 750 milliseconds, 10000)...
2018-09-09 22:35:28 GcodeDriver TRACE: [serial:///dev/smoothie1] >> G4P750 ; Wait 750 milliseconds
2018-09-09 22:35:29 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:29 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 G4P750 ; Wait 750 milliseconds, 10000) => [ok]
2018-09-09 22:35:29 GcodeDriver DEBUG: sendCommand(M802   ; turn off bottom camera light, 10000)...
2018-09-09 22:35:29 GcodeDriver TRACE: [serial:///dev/smoothie1] >> M802   ; turn off bottom camera light
2018-09-09 22:35:29 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:29 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 M802   ; turn off bottom camera light, 10000) => [ok]
2018-09-09 22:35:29 GcodeDriver DEBUG: sendCommand(M812 ; Turn off nozzle 1 vacuum solenoid, 10000)...
2018-09-09 22:35:29 GcodeDriver TRACE: [serial:///dev/smoothie1] >> M812 ; Turn off nozzle 1 vacuum solenoid
2018-09-09 22:35:29 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:29 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 M812 ; Turn off nozzle 1 vacuum solenoid, 10000) => [ok]
2018-09-09 22:35:29 GcodeDriver DEBUG: sendCommand(M810 ; Turn off nozzle 2 vacuum solenoid, 10000)...
2018-09-09 22:35:29 GcodeDriver TRACE: [serial:///dev/smoothie1] >> M810 ; Turn off nozzle 2 vacuum solenoid
2018-09-09 22:35:29 GcodeDriver TRACE: [serial:///dev/smoothie1] << ok
2018-09-09 22:35:29 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie1 M810 ; Turn off nozzle 2 vacuum solenoid, 10000) => [ok]
2018-09-09 22:35:32 GcodeDriver DEBUG: sendCommand(null, 250)...
2018-09-09 22:35:32 GcodeDriver DEBUG: sendCommand(serial:///dev/smoothie0 null, 250) => []



I'm trying with Openpnp Latest version.

With 640x480px  10Fps, the same, not works.

Marek T.

unread,
Sep 9, 2018, 5:45:13 PM9/9/18
to OpenPnP
Maybe it's stupid and I didn't dtudy your whole logging, but I see you have set brightness to -128. Set every settings to 0.

Javier Hdez.

unread,
Sep 9, 2018, 5:45:39 PM9/9/18
to OpenPnP
The LOG:

2018-09-09 22:40:55 Main DEBUG: Bienvenue, Willkommen, Hello, Namaskar, Welkom to OpenPnP version 2018-08-19_15-00-57.26f9bdb.
2018-09-09 22:40:55 Scripting TRACE: Scripting.on Startup
2018-09-09 22:40:55 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera: HD USB Camera usb-0000:03:00.0-1 for camera DownCamera
2018-09-09 22:40:55 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera: HD USB Camera usb-0000:03:00.0-1 for camera DownCamera
2018-09-09 22:40:55 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera: HD USB Camera usb-0000:03:00.0-1 for camera DownCamera
2018-09-09 22:41:01 MainFrame INFO: Shutting down...
2018-09-09 22:41:01 ReferenceMachine DEBUG: setEnabled(false)
2018-09-09 22:41:01 MainFrame INFO: Shutdown complete, exiting.

Marek T.

unread,
Sep 9, 2018, 5:48:59 PM9/9/18
to OpenPnP
Remember two things:
Openpnp will not process more than 15fps no matter what you set. And it's not needed for normal operating.
So don't set ever more than 10-15fps.
Java is hopeless and you can connect 5 cameras to the same USB host when you use them under Linux or Windows, but not Java.
For Java you must connect each camera to separated USB host controller. If you don't have two hosts - start with settings like 5fps for each then maybe it will work with pain.

Marek T.

unread,
Sep 9, 2018, 5:54:04 PM9/9/18
to OpenPnP
Have you tried to use the OpenCv driver ?



W dniu niedziela, 9 września 2018 23:45:39 UTC+2 użytkownik Javier Hdez. napisał:
The LOG:


Jason von Nieda

unread,
Sep 9, 2018, 6:11:48 PM9/9/18
to ope...@googlegroups.com
The message “No camera found” in the logs indicates that the camera you previously selected is no longer connected, or it’s identifier has changed.

Try the following:

1. Remove all cameras in OpenPnP and restart it.
2. Add one OpenPnpCaptureCamera, select one camera in the drop down, select a MJPG format and apply, and see if it works.
3. If it works try adding the second one with the same settings. If it doesn’t, check logs for errors.

OpenPnP does support multiple MJPG cameras on a single USB host but it depends on the cameras hardware and use of MJPG formats. I use the same cameras you do, and I use them both on one port. In general, if you can get he cameras working in other UVC software they should work the same in OpenPnP. Go slow, change one thing at a time and eliminate errors and variables.

The biggest problem I see here is the warnings in the logs. Eliminate those first.

Jason

--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/11d7fb7f-816a-4610-867d-4d75e1033eff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Javier Hdez.

unread,
Sep 9, 2018, 6:46:03 PM9/9/18
to OpenPnP
I change it but not found it.

In other controller (usb 2.0), before I had it in the usb 3.0 controlller.
./OpenPnP
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/opencv_openpnp6322858269929582485/nu/pattern/opencv/linux/x86_64/libopencv_java342.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
2018-09-09 23:38:29 Main DEBUG: Bienvenue, Willkommen, Hello, Namaskar, Welkom to OpenPnP version 2018-08-19_15-00-57.26f9bdb.
2018-09-09 23:38:29 Scripting TRACE: Scripting.on Startup
2018-09-09 23:38:29 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera: HD USB Camera usb-0000:03:00.0-1 for camera DownCamera
2018-09-09 23:38:29 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera: HD USB Camera usb-0000:03:00.0-1 for camera DownCamera
[DBG ] FOURCC = MJPG
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getAutoProperty (ID=2) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getProperty (ID=2) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getAutoProperty (ID=2) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] setAutoProperty (ID=5) failed on VIDIOC_S_CTRL (errno 22)
[ERR ] getAutoProperty (ID=5) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getAutoProperty (ID=5) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getProperty (ID=3) failed on VIDIOC_G_CTRL (errno 22)
2018-09-09 23:38:30 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera: HD USB Camera usb-0000:03:00.0-1 for camera DownCamera
2018-09-09 23:39:20 MainFrame INFO: Shutting down...
2018-09-09 23:39:20 ReferenceMachine DEBUG: setEnabled(false)
[ERR ] tjDecompressHeader2 failed: Premature end of JPEG file
2018-09-09 23:39:20 MainFrame INFO: Shutdown complete, exiting.


Message has been deleted

Marek T.

unread,
Sep 9, 2018, 7:04:26 PM9/9/18
to OpenPnP
 Try follow what Jason said with addition to limit fps/res as much (as lower values) as better to minimalize bandwidth loading. When it starts you can play with increasings.

Javier Hdez.

unread,
Sep 9, 2018, 7:11:53 PM9/9/18
to OpenPnP
No. I do not know how to use it.

Marek T.

unread,
Sep 9, 2018, 7:16:47 PM9/9/18
to OpenPnP
Find what Jason said above.
Be sure this camera is commonly used by Openpnp users including me (tested both on Debian and Win7).

Javier Hdez.

unread,
Sep 9, 2018, 7:19:17 PM9/9/18
to OpenPnP

My machine is similar to the Erich.

Although it is at -128 it looks good when you place an object in front of the lens. 

Marek T.

unread,
Sep 9, 2018, 7:23:34 PM9/9/18
to OpenPnP
Sorry I don't understand. Or it looks good or it's not working - you must decide...

Once again: follow Jason's advice, it's step by step. Plus limit fps and resolution to minimal values.

Javier Hdez.

unread,
Sep 9, 2018, 7:31:29 PM9/9/18
to OpenPnP
I remove the 2 cameras from Openpnp and I created a OpenPnpCaptureCamera and I set brightness to 0 but not works.

Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/opencv_openpnp3979349924644699076/nu/pattern/opencv/linux/x86_64/libopencv_java342.so which might have disabled stack guard. The VM will try to fix the stack guard now.

It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
2018-09-10 00:26:16 Main DEBUG: Bienvenue, Willkommen, Hello, Namaskar, Welkom to OpenPnP version 2018-08-19_15-00-57.26f9bdb.
2018-09-10 00:26:16 Scripting TRACE: Scripting.on Startup

[DBG ] FOURCC = MJPG
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getAutoProperty (ID=2) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getProperty (ID=2) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getAutoProperty (ID=2) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getAutoProperty (ID=5) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getAutoProperty (ID=5) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getProperty (ID=3) failed on VIDIOC_G_CTRL (errno 22)
2018-09-10 00:26:16 CameraView DEBUG: Failed to load camera specific reticle, checking default.
2018-09-10 00:26:16 CameraView DEBUG: No reticle preference found.
2018-09-10 00:27:36 MainFrame INFO: Shutting down...
2018-09-10 00:27:36 ReferenceMachine DEBUG: setEnabled(false)

[ERR ] tjDecompressHeader2 failed: Premature end of JPEG file
2018-09-10 00:27:36 MainFrame INFO: Shutdown complete, exiting.

Javier Hdez.

unread,
Sep 9, 2018, 7:35:48 PM9/9/18
to OpenPnP
Sorry my english. On Friday I could see a camera, the one in the bed, the one that looks up, although it was dark, when I placed an object on top of it I could see it. Anyway, I have set the brightness value to 0.

Javier Hdez.

unread,
Sep 9, 2018, 7:43:48 PM9/9/18
to OpenPnP

2018-09-10 00:39:15 Scripting TRACE: Scripting.on Startup
[DBG ] FOURCC = MJPG
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getAutoProperty (ID=2) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=2) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getProperty (ID=2) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getAutoProperty (ID=2) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getAutoProperty (ID=5) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getAutoProperty (ID=5) failed on VIDIOC_G_CTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getPropertyLimits (ID=3) failed on VIDIOC_QUERYCTRL (errno 22)
[ERR ] getProperty (ID=3) failed on VIDIOC_G_CTRL (errno 22)
2018-09-10 00:39:15 CameraView DEBUG: Failed to load camera specific reticle, checking default.
2018-09-10 00:39:15 CameraView DEBUG: No reticle preference found.

[ERR ] getAutoProperty (ID=2) failed on VIDIOC_G_CTRL (errno 22)
2018-09-10 00:40:21 MainFrame INFO: Shutting down...
2018-09-10 00:40:21 ReferenceMachine DEBUG: setEnabled(false)

[ERR ] tjDecompressHeader2 failed: Premature end of JPEG file
2018-09-10 00:40:22 MainFrame INFO: Shutdown complete, exiting.



El domingo, 9 de septiembre de 2018, 23:11:48 (UTC+1), Jason von Nieda escribió:

Javier Hdez.

unread,
Sep 9, 2018, 8:10:41 PM9/9/18
to OpenPnP
apt remove --purge openpnp  (latest version)

I downloaded Openpnp-master.deb

dpkg -i OpenPnp-linux-master.deb


I removed the samples cameras and I created a new OpenPnpCaptureCamera, only one, and works, in grey color, but works to 1280px and 10fps

I'm going to connect the other and create the other.





El domingo, 9 de septiembre de 2018, 23:11:48 (UTC+1), Jason von Nieda escribió:

Javier Hdez.

unread,
Sep 9, 2018, 8:13:52 PM9/9/18
to OpenPnP
Now works the 2 cameras.

Thanks very much guys.


Best regards.

El domingo, 9 de septiembre de 2018, 14:36:49 (UTC+1), Javier Hdez. escribió:

Marek T.

unread,
Sep 9, 2018, 8:37:16 PM9/9/18
to OpenPnP
So some small success ;)
Reply all
Reply to author
Forward
0 new messages