Page 1 of 1

Cam500b nano pi s2 xenial not working. ION problem

Posted: Wed Jan 10, 2018 4:02 pm
by delphi
Hi. We tested the new image based on xenial core and 16.04 with new QT. I downloaded it from your site (google docs).
It seems that camera cam500b is not working due to ION lack:
$ sudo nanocams -p 1 -n 40 -c 4 -o IMG001.jpg
open /dev/ion failed!
E/542: failed to ion_open, errno = 2

another bug is:
- ldd nanocams return no ion lib. But the code try to use the call from it.

We use 4418 nanopi S2 board.
It seems that under the newer kernel you must rewrite the example code for use drm way to make cam500b working

Re: Cam500b nano pi s2 xenial not working. ION problem

Posted: Thu Jan 11, 2018 1:39 pm
by dasg
Hi!

I also tried to use cam500b with this image on Nano Pi S2. Also, I tried to compile "nanocams" binary from sources (https://github.com/friendlyarm/nexell_linux_platform/tree/master/nanocams) and got the same error. It looks like examples are provided for the old Linux kernel.

Can someone provide working C/C++ example of querying images from the camera?

Re: Cam500b nano pi s2 xenial not working. ION problem

Posted: Sat Jul 28, 2018 12:00 pm
by ehsanb65
I have the same issue. i use smart + sdk + cam500b . in friendly core, there is no driver (ion) for camera.
i don't know what should i do. please help!!!

Re: Cam500b nano pi s2 xenial not working. ION problem

Posted: Sun Jul 29, 2018 6:02 am
by ehsanb65
no reply??????????????????????????