Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Smart camera connected but not recognized by JeVois Inventor?

+1 vote
Hello, I am having an issue in regards to running the jevois-inventor program. When I open jevois-inventor in Ubuntu 16.04.4, the program hangs in a state where it states the following lines on the left pane under info,

Waiting for JeVois Smart Camera

Please connect JeVois to this computer

Both the Guvcview and Arduino IDE app works perfectly fine (also ran the jevois-inventor program while these two programs were closed). I have allowed permission by typing "sudo chmod 777 /dev/video0 /dev/ttyACM0" in the terminal as well, but ended up with the same results. I am starting to suspect that the jevois-inventor out of date, but I can't say that for sure. Please let me know if there's a fix for this issue.
asked Jun 22, 2018 in User questions by JeVoisNewbie (430 points)

1 Answer

0 votes
 
Best answer

hum, odd, did you also kill ModemManager? All these steps also are in the inventor so I suspect there is something else going on, like maybe some wrong library being used, etc. We used static linking against Qt 5.11.0 but there are still a bunch of dependencies (see ldd /usr/bin/jevois-inventor) and some different lib version may not work. Did you run sudo apt update and sudo apt upgrade lately?

First we detect the camera device (/dev/video0 or similar), and then the status bar at the bottom should change to

JeVois Inventor 0.1.0, camera device ok, wating for serial-over-USB

then we detect the serial-over-USB (/dev/ttyACM0 or similar) and the status should say "connected".

do you see that, or do you see "JeVois Inventor 0.1.0 waiting for JeVois Smart Camera"? (which is shown as we are waiting for the video device to show up).

answered Jun 22, 2018 by JeVois (46,580 points)
selected Jun 25, 2018 by JeVoisNewbie
Yes, I have done "sudo killall ModemManager" as well as "sudo apt-get remove modemmanager". I have also done countless updates/upgrades during the past days so I don't think that's an issue.

As for static linking, this is the first time I've heard of such thing. I may need to do some research on that.

As for the jevois-inventor,

Before plugging in camera:
leftpane: "Waiting for JeVois Smart Camera Please connect JeVois to this computer"
rightpane: "Waiting for JeVois Smart Camera Please connect JeVois to this computer"
bottomleft: "JeVois Inventor 0.1.0 waiting for JeVois Smart Camera"
bottomright: "Disconnected /-/-"

After plugging in camera:
leftpane: "Waiting for JeVois Smart Camera Please connect JeVois to this computer"
rightpane: blank, message disappeared
bottomleft: "JeVois Inventor 0.1.0 waiting for JeVois Smart Camera"
bottomright: "Connected / video1 / ttyACM0"

In addition, all the tabs on the left pane are grayed out.
By the way, "ldd /usr/bin/jevois-inventor" gave me the following result. I will need to split the message due to maximum length regulation of this forum.

Part1

avanti@avanti-Latitude-3340:~$ ldd /usr/bin/jevois-inventor
    linux-vdso.so.1 =>  (0x00007ffe4b1fa000)
    libgstaudio-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0 (0x00007f7c77369000)
    libgstvideo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 (0x00007f7c770e3000)
    libgstpbutils-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0 (0x00007f7c76eae000)
    libgstapp-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstapp-1.0.so.0 (0x00007f7c76ca0000)
    libgstbase-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0 (0x00007f7c76a3c000)
    libgstreamer-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007f7c76712000)
    libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f7c764bf000)
    libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f7c761bf000)
    libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007f7c75fbc000)
    libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f7c75da3000)
    libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f7c75b93000)
    libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f7c7598b000)
    libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f7c75771000)
    libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f7c75567000)
    libxkbcommon-x11.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 (0x00007f7c7535f000)
    libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f7c75106000)
    libgbm.so.1 => /usr/lib/x86_64-linux-gnu/libgbm.so.1 (0x00007f7c74ef8000)
    libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f7c74ce7000)
    libmtdev.so.1 => /usr/lib/x86_64-linux-gnu/libmtdev.so.1 (0x00007f7c74ae1000)
    libinput.so.10 => /usr/lib/x86_64-linux-gnu/libinput.so.10 (0x00007f7c748ae000)
    libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f7c746ac000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f7c7448a000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f7c74150000)
    libEGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1 (0x00007f7c73f15000)
    libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f7c73d13000)
    libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f7c73ad0000)
    libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f7c73826000)
    libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f7c735da000)
    libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f7c733cb000)
    libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f7c7318c000)
    libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f7c72f84000)
    libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f7c72d34000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f7c72b0f000)
    libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f7c777a3000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f7c728f5000)
    libicui18n.so.55 => /usr/lib/x86_64-linux-gnu/libicui18n.so.55 (0x00007f7c72493000)
    libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55 (0x00007f7c720ff000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7c71efb000)
    libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f7c71bea000)
    libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f7c71977000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7c7175a000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7c713ce000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7c710c5000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7c70ead000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7c70ae3000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f7c775c6000)
    libgsttag-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgsttag-1.0.so.0 (0x00007f7c708a8000)
    liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f7c70628000)
    libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f7c70424000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f7c7021c000)
    libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f7c70014000)
    libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f7c6fe02000)
    libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f7c6fbfd000)
    libxcb-xkb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1 (0x00007f7c6f9e2000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f7c6f7b9000)
    libwayland-server.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007f7c6f5a7000)
    libevdev.so.2 => /usr/lib/x86_64-linux-gnu/libevdev.so.2 (0x00007f7c6f38e000)
    libwacom.so.2 => /usr/lib/x86_64-linux-gnu/libwacom.so.2 (0x00007f7c6f184000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f7c6ef80000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f7c6ed7a000)
    libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f7c6eb75000)
    libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f7c6e972000)
    libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f7c6e76f000)
    libxcb-xfixes.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f7c6e567000)
    libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f7c6e360000)
    libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f7c6e15d000)
    libmirclient.so.9 => /usr/lib/x86_64-linux-gnu/libmirclient.so.9 (0x00007f7c6deb6000)
    libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f7c77712000)
    libjson-c.so.2 => /lib/x86_64-linux-gnu/libjson-c.so.2 (0x00007f7c6dcab000)
    libpulsecommon-8.0.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so (0x00007f7c6da30000)
    libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007f7c6bf79000)
    libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f7c6bd09000)
    libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f7c6bad9000)
    libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f7c6b8d6000)
    libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f7c6b6d0000)
    libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f7c6b4ca000)
    libgudev-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgudev-1.0.so.0 (0x00007f7c6b2c0000)
    libmircommon.so.7 => /usr/lib/x86_64-linux-gnu/libmircommon.so.7 (0x00007f7c6b079000)
    libmirprotobuf.so.3 => /usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3 (0x00007f7c6ae07000)
    libcapnp-0.5.3.so => /usr/lib/x86_64-linux-gnu/libcapnp-0.5.3.so (0x00007f7c6ab7f000)
    libmircore.so.1 => /usr/lib/x86_64-linux-gnu/libmircore.so.1 (0x00007f7c6a976000)
    libboost_system.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 (0x00007f7c6a772000)
    libprotobuf-lite.so.9 => /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9 (0x00007f7c6a541000)
    libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f7c6a31f000)
    liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f7c6a0fd000)
    libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f7c69e1c000)
    libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f7c69c12000)
    libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f7c699a9000)
    libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f7c697a3000)
    libboost_filesystem.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0 (0x00007f7c6958b000)
    libkj-0.5.3.so => /usr/lib/x86_64-linux-gnu/libkj-0.5.3.so (0x00007f7c69362000)
    libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f7c6914e000)
    libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f7c68f35000)
    libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f7c68cc0000)
    libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f7c68a17000)
    libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f7c687fc000)
    libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f7c685f3000)
    libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f7c683c8000)
thanks, the fact that you get: bottomright: "Connected / video1 / ttyACM0" seems to indicate that everything was detected. The last thing that is missing then is a video frame...

you have the microSD image 1.8.1, right? Is that a native ubuntu or virtualbox? I am pushing a video to youtube which steps through installing virtualbox and then downloading the jevois SDK (which you do not need) and then configuring video pass through on virtualbox and trying out jevois-inventor, and it worked ok. We then also compile some code, which you do not need now. The video will be at https://youtu.be/pgd7pW1XDU8 and maybe it will help? it is taking forever to upload but hopefully in a few hours.

Otherwise I will push a version of the inventor with a gazillion debug messages turned on so you can get a full log of where it is choking.
Can you also try ‘sudo jevois-inventor’ to rule out permissions issues?
I have tried sudo, but it had given me the same results with the exception of the following output.

avanti@avanti-Latitude-3340:~$ sudo jevois-inventor
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
I am using a native ubuntu on a Dell laptop. I will view and try to follow the steps on the video for the time being. Thank you for your effort!
I have reinstalled the new version of jevois inventor and it finally works! Thank you very much for your support!
I had a similar problem. I was running version 1.8.0 of the Jevois software on the camera. I flashed the SD card to 1.8.1 and it Inventor recognized the camera after that.
...