B0203 AR0230 H264

Published by modimo on

Home Forums USB Video Class (UVC) Camera Modules B0203 AR0230 H264

Viewing 9 reply threads
  • Author
    Posts
    • #20275
      modimo
      Participant

      How to enable H264 output from Arducam B0203?

      When I connect camera to linux it enumerates as video1 and video2. video1 reports MJPG and YUYV formats. video2 however does not report any formats.

      / # v4l2-ctl –list-devices
      292A-AR0230: USB Camera (1.4):
      /dev/media1

      vcap_sdirx output 0 (platform:vcap_sdirx:0):
      /dev/video0

      Xilinx Video Composite Device (platform:xilinx-video):
      /dev/media0

      292A-AR0230: USB Camera (usb-xhci-hcd.0.auto-1.4):
      /dev/video1
      /dev/video2

      / # v4l2-ctl -d1 –list-formats
      ioctl: VIDIOC_ENUM_FMT
      Type: Video Capture

      [0]: ‘MJPG’ (Motion-JPEG, compressed)
      [1]: ‘YUYV’ (YUYV 4:2:2)
      / # v4l2-ctl -d2 –list-formats
      ioctl: VIDIOC_ENUM_FMT
      Type: Video Capture

      / # lsusb
      Bus 002 Device 002: ID 04b4:6508
      Bus 001 Device 001: ID 1d6b:0002
      Bus 001 Device 002: ID 04b4:650a
      Bus 002 Device 001: ID 1d6b:0003
      Bus 001 Device 003: ID 0c45:6366

      / # media-ctl -d1 -p
      Media controller API version 4.19.0

      Media device information
      ————————
      driver uvcvideo
      model 292A-AR0230: USB Camera
      serial SN0001
      bus info 1.4
      hw revision 0x100
      driver version 4.19.0

      Device topology
      – entity 1: 292A-AR0230: USB Camera (1 pad, 1 link)
      type Node subtype V4L flags 1
      device node name /dev/video1
      pad0: Sink
      <- “Extension 4”:1 [ENABLED,IMMUTABLE]

      – entity 4: 292A-AR0230: USB Camera (0 pad, 0 link)
      type Node subtype V4L flags 0
      device node name /dev/video2

      – entity 8: Extension 4 (2 pads, 2 links)
      type V4L2 subdev subtype Unknown flags 0
      pad0: Sink
      <- “Extension 3”:1 [ENABLED,IMMUTABLE]
      pad1: Source
      -> “292A-AR0230: USB Camera”:0 [ENABLED,IMMUTABLE]

      – entity 11: Extension 3 (2 pads, 2 links)
      type V4L2 subdev subtype Unknown flags 0
      pad0: Sink
      <- “Processing 2”:1 [ENABLED,IMMUTABLE]
      pad1: Source
      -> “Extension 4”:0 [ENABLED,IMMUTABLE]

      – entity 14: Processing 2 (2 pads, 2 links)
      type V4L2 subdev subtype Unknown flags 0
      pad0: Sink
      <- “Camera 1”:0 [ENABLED,IMMUTABLE]
      pad1: Source
      -> “Extension 3”:0 [ENABLED,IMMUTABLE]

      – entity 17: Camera 1 (1 pad, 1 link)
      type V4L2 subdev subtype Unknown flags 0
      pad0: Source
      -> “Processing 2”:0 [ENABLED,IMMUTABLE]

       

      ========================DMESG=================================

      [ 18.178828] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
      [ 49.066813] usb 1-1.4: new high-speed USB device number 3 using xhci-hcd
      [ 49.209342] usb 1-1.4: New USB device found, idVendor=0c45, idProduct=6366, bcdDevice= 1.00
      [ 49.217696] usb 1-1.4: New USB device strings: Mfr=2, Product=1, SerialNumber=3
      [ 49.225003] usb 1-1.4: Product: 292A-AR0230
      [ 49.229181] usb 1-1.4: Manufacturer: Sonix Technology Co., Ltd.
      [ 49.235100] usb 1-1.4: SerialNumber: SN0001
      [ 49.293808] uvcvideo: Found UVC 1.00 device 292A-AR0230 (0c45:6366)
      [ 49.325067] uvcvideo 1-1.4:1.0: Entity type for entity Extension 4 was not initialized!
      [ 49.333088] uvcvideo 1-1.4:1.0: Entity type for entity Extension 3 was not initialized!
      [ 49.341095] uvcvideo 1-1.4:1.0: Entity type for entity Processing 2 was not initialized!
      [ 49.349185] uvcvideo 1-1.4:1.0: Entity type for entity Camera 1 was not initialized!
      [ 49.357768] input: 292A-AR0230: USB Camera as /devices/platform/amba/ff9d0000.usb0/fe200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.0/input/input0

       

    • #20291
      bin
      Keymaster

      Hi,

      Firstly, please remove all other usb video device. Then connect the usb camera.

      Then run the command : v4l2-ctl –list-formats-ext -d 0/1 to check each point.

      The next is my other usb camera’s message. I don’t have 0230 camera due to we are having

      Chinese new year holiday. When we come back, I will help you test in detail.

    • #20292
      modimo
      Participant

      Thank you for the interest.

      /dev/video0 an integrated video device. When I connect B0203 AR0230 H264 camera i have new /dev/video1 and /dev/video2. I tried for both (check the listing i posted). Any other H264 camera that I tried worked without a problem.

      Regards,

      Rafal

       

    • #20318
      bin
      Keymaster

      Hi,

      Don’t worry and we are now in Chinese New Year’s holiday.

      After we come back to company, I will help you test it .

      • #20321
        modimo
        Participant

        Thank you,

        Looking forward to hear from you.

         

    • #20539
      bin
      Keymaster

      Hi,

      I am still at home, sorry for letting you wait so long time.

    • #20624
      modimo
      Participant

      Hello,

      When can I expect answer?

    • #21623
      modimo
      Participant

      Any updates?

       

    • #22455
      bin
      Keymaster

      Hello,

      I am very very sorry for missing your problems.

      Have you solved your problems?

    • #22458
      modimo
      Participant

      No. This camera does not work with h264.

    • #22487
      bin
      Keymaster

      Hi,

      I have tested it ar0230 camera just now. Please ensure if you are using the same sensor.

Viewing 9 reply threads
  • You must be logged in to reply to this topic.