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.

jevois inventor not working after following the tutorial on virtual box

0 votes
Hello,

I am running ubuntu 16.04 and installed latest version of guvcview and jevois-inventor(0.2.0 so far) on this system. Both are working well.

Then I installed the virtual box and followed the video tutorial for setting up jevois env in ubuntu 18. After following the steps, the jevois-inventor is not working. The bottom status bar shows jevois 0.2.0 and connected to /dev/ttyACM0 but the video and code are not loading up. At the same time guvcview is working fine.
asked Oct 2, 2018 in User questions by ankit (140 points)

1 Answer

0 votes
hum, odd, just to make sure, you are running 18.04 as guest in a vbox that is on a 16.04 host, right?

and when you run guvcview in your 18.04 guest, you see video from JeVois no problem?

can you try to run jevois-inventor under sudo to see whether there still is some permission issue? Also, did you configure your vbox USB devices such that all three of the video camera device, serial port, and mass storage device exported by JeVois are passed through to the guest OS?
answered Oct 2, 2018 by JeVois (46,580 points)
Yes, that is true.
Running 18.04 guest on Ubuntu 16.04 host.

When I try guvcview on 18.04, the video streams. I have streamed the sample module compiled and flashed through jevois utility on 18.04 as described in the video tutorial.

Well, running under sudo is, of course, the first thing poped in my head as well but that didnt work out.

I made it to work just now.
1. Added the user to dialout group.
2. restarted ubuntu 18.04.

Anyways. Thanks for the quick reply. :)
The Inventor needs both to talks to /dev/video0 and /dev/ttyACM0

looks like the video device is correctly passed through, so maybe the problem is with the serial device. Can you try this in your vbox:

sudo apt install screen
screen /dev/ttyACM0 115200
help

and see whether you get any error. What you did to pass the camera through to the vbox (maybe install a vbox USB filter for the camera device) needs to be done also for the serial (ACM0) device.

We will try this here and let you know whether we find more needed steps.
So it works fine here with ubu18.04 guest on MacOS host running the inventor in the guest. As it turns out, passing the USB devices through vbox only involves one device for JeVois as opposed to three separate for video, serial, and flash drive as I assumed above.

- did you select usb 3.0 as in http://jevois.org/doc/Virtualbox.html

- did you create a filter as in that page?

- did you reboot your host?

other than that, it may just be a bug in virtualbox...
Hello,

The jevois inventor is working after adding the user to the dialout group and rebooting the ubuntu 18.
...