State of ov5640_mipi camera from command line?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

State of ov5640_mipi camera from command line?

741 Views
gbiradar
Contributor IV

Hi Guys,

               I'm trying to know the state of ov5640_mipi camera from command line, As i know that initially camera will be in standby mode until unless we run application(mxc_v4l2_capture).

Is their any way to know whether camera in standby mode/ wakeup mode.

I have already checked

cat /sys/kernel/debug/gpio // here mipi gpio state is not changing while before and after streaming through application.

thanks & regards,

Ganesh Biradar

0 Kudos
2 Replies

554 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

After delving into this I think lsof /dev/video0 should find the process which has the webcam. Maybe that helps.

Best Regards,

Alejandro

0 Kudos

554 Views
gbiradar
Contributor IV

Hi,

Coming to /dev/video0 is for parallel camera and /dev/video1 is mipi camera i can see that by ls /dev/video*.

But i need support  to know is their any support available in ov5640_mipi for sleep and wakeup mode if so how do i know the state & how can i change state of camera from command line.

If their is no support how do i add support for this. when i call wakeup, camera should be ready to capture.

In sleep mode, camera should go to sleep.

thanks & regards,

Ganesh Biradar

0 Kudos