VIDIOC_DQBUF: Resource temporarily unavailable

Hi,

I have a pair of synchronized stereo hats for Jetson Nano. I’ve followed the instructions, installed the camera driver and everything seems to be okay until I try to run the example code.

ls -la /dev/video0

/dev/video0

 

 

v4l2-ctl --info

Driver Info (not using libv4l2):

Driver name : tegra-video

Card type : vi-output, arducam-csi2 7-000c

Bus info : platform:54080000.vi:0

Driver version: 4.9.140

Capabilities : 0x84200001

Video Capture

Streaming

Extended Pix Format

Device Capabilities

Device Caps : 0x04200001

Video Capture

Streaming

Extended Pix Format

 

`

python arducam_displayer.py -d 0

Firmware Version: 1

Sensor ID: 0x0219

Serial Number: 0xAD65BF31

select timeout

VIDIOC_DQBUF: Resource temporarily unavailable

Traceback (most recent call last):

File “arducam_displayer.py”, line 100, in <module>

display(cap, arducam_utils)

File “arducam_displayer.py”, line 26, in display

frame = frame.reshape(int(h), int(w))

AttributeError: ‘NoneType’ object has no attribute ‘reshape’

`

 

I’m not sure what is wrong at this stage. Any help is much appreciated. Thanks.

Hi @jnordin ,

Can you provide dmesg log and photos of the hardware connection?

dmesg | grep arducam

[ 1.264165] arducam-csi2 7-000c: firmware version: 1
[ 1.265944] arducam-csi2 7-000c: Sensor ID: 0x0219
[ 1.304941] arducam-csi2 7-000c: sensor arducam-csi2 7-000c registered
[ 1.329535] arducam-csi2: arducam_read: Reading register 0x103 failed
[ 1.329542] arducam-csi2 8-000c: probe failed
[ 1.329572] arducam-csi2 8-000c: Failed to setup board.
[ 1.504556] vi 54080000.vi: subdev arducam-csi2 7-000c bound

 

Here are some photos of the set up

 

 

Hi @jnordin ,

This seems to be a cable connection problem, please check the connections in these places.