Hi, i am trying to use 2 USB3.0 Cameras with sony IMX291 sensors to test the AI and stereo camera functions, but I’m running into problems getting the cameras initialized. I started with guvcview to see the video, but it cannot find the cameras. I got the tensor demo program to run, it sees the cameras, but I want to use the v42l-ctl to set exposure and frame rates.
this is what I get from dmesg when I plug one in:
[ 3217.839409] usb 2-1.3: new SuperSpeed USB device number 12 using tegra-xusb
[ 3217.866708] usb 2-1.3: New USB device found, idVendor=15aa, idProduct=1555
[ 3217.866740] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3217.866760] usb 2-1.3: Product: 3.0 USB Camera
[ 3217.866779] usb 2-1.3: Manufacturer: 3.0 USB Camera
[ 3217.873446] uvcvideo: Found UVC 1.00 device 3.0 USB Camera (15aa:1555)
[ 3217.882323] uvcvideo 2-1.3:1.0: Entity type for entity Extension 4 was not initialized!
[ 3217.890550] uvcvideo 2-1.3:1.0: Entity type for entity Extension 3 was not initialized!
[ 3217.898976] uvcvideo 2-1.3:1.0: Entity type for entity Processing 2 was not initialized!
[ 3217.907268] uvcvideo 2-1.3:1.0: Entity type for entity Camera 1 was not initialized!
[ 3217.915476] input: 3.0 USB Camera as /devices/70090000.xusb/usb2/2-1/2-1.3/2-1.3:1.0/input/input14
here is v4l2-ctl --list-devices
~$ v4l2-ctl --list-devices
3.0 USB Camera (usb-70090000.xusb-1.1):
/dev/video1
3.0 USB Camera (usb-70090000.xusb-1.4):
/dev/video0
QUESTION: Is guvcview the best route for camera controls? if yes- then can this be fixed and how; if no- please help point me to the best camera control.
this is the output when I start guvcview, in case it helps:
~$ guvcview
Opening in O_NONBLOCKING MODE
Opening in O_NONBLOCKING MODE
GUVCVIEW: version 2.0.5
GUVCVIEW: couldn’t open /home/amigen/.config/guvcview2/video0 for read: No such file or directory
Opening in O_NONBLOCKING MODE
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.tegra-hda.pcm.front.0:CARD=0’
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:990:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
dbus[3061]: arguments to dbus_message_new_method_call() were incorrect, assertion “path != NULL” failed in file …/…/…/dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)