Tinker Board Forum

Full Version: Camera testing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have started to try some camera testing. I am using a CSI IP camera and the Auvidea CSI B101 Rev 4 board.

I followed the CSI_DSI_Configuration documents which are available on the Asus UK website.

Here is what I found so far, I do not seem to be able to access /dev/video0. 
On Pi3 I was able to just run raspivid or we did this with sudo modprobe bcm2835-v4l2

Here is the ssh terminal output:

root@linaro-alip:/home/linaro/camera# sh  /home/linaro/camera/copy_xml_file.sh
root@linaro-alip:/home/linaro/camera# dumpsys
CAMHALInfo:   dumpsys start !

CAMHALInfo:   construct ISP dev........
CAMHALInfo:   CAMHALVERSION is: 1.a.0

CAMHALInfo:   getCamHwItf:1058
CAMHALInfo:   init ISP dev......
CAMHALError:  ERR(initHw):Cannot open /dev/video0 (error : No such file or directory)

CAMHALError:  isp dev init error !

CAMHALInfo:   open xml file(/tmp/capcmd.xml) success

CAMHALInfo:   parser:resolution(1920x1080)
CAMHALInfo:   parser:resolution(3280x2464)
CAMHALInfo:   parser:resolution(1920x1080)
CAMHALInfo:   parser:resolution(3280x2464)
CAMHALInfo:   createInstance:delete this 2 cap task from queue!
CAMHALInfo:   createInstance:delete this 1 cap task from queue!
CAMHALInfo:   createInstance:delete this 0 cap task from queue!
CAMHALInfo:   createInstance:task count is 1 

CAMHALWarn:   WARNING: will ignore the request fmt,do nothing!
CAMHALInfo:   press any key to stop tuning:
Segmentation fault
(03-31-2017, 12:45 AM)hblanken Wrote: [ -> ]I have started to try some camera testing. I am using a CSI IP camera and the Auvidea CSI B101 Rev 4 board.

I followed the CSI_DSI_Configuration documents which are available on the Asus UK website.

Here is what I found so far, I do not seem to be able to access /dev/video0. 
On Pi3 I was able to just run raspivid or we did this with sudo modprobe bcm2835-v4l2

Here is the ssh terminal output:

root@linaro-alip:/home/linaro/camera# sh  /home/linaro/camera/copy_xml_file.sh
root@linaro-alip:/home/linaro/camera# dumpsys
CAMHALInfo:   dumpsys start !

CAMHALInfo:   construct ISP dev........
CAMHALInfo:   CAMHALVERSION is: 1.a.0

CAMHALInfo:   getCamHwItf:1058
CAMHALInfo:   init ISP dev......
CAMHALError:  ERR(initHw):Cannot open /dev/video0 (error : No such file or directory)

CAMHALError:  isp dev init error !

CAMHALInfo:   open xml file(/tmp/capcmd.xml) success

CAMHALInfo:   parser:resolution(1920x1080)
CAMHALInfo:   parser:resolution(3280x2464)
CAMHALInfo:   parser:resolution(1920x1080)
CAMHALInfo:   parser:resolution(3280x2464)
CAMHALInfo:   createInstance:delete this 2 cap task from queue!
CAMHALInfo:   createInstance:delete this 1 cap task from queue!
CAMHALInfo:   createInstance:delete this 0 cap task from queue!
CAMHALInfo:   createInstance:task count is 1 

CAMHALWarn:   WARNING: will ignore the request fmt,do nothing!
CAMHALInfo:   press any key to stop tuning:
Segmentation fault

The Rockchip developers said that raspberry pi's version 2 camera 'may' work. 
https://github.com/rockchip-linux/meta-r...p/issues/6 

I will be trying out the camera integration sometime next week but unfortunately there is no official app to test except an linux ported android app as the dev says. Will share my findings