Hello,
I have some hard time finding where camera frames are captured in kernel.
I use nvidia tx1 kit with mipi onboard camera.
I first added log in vi2_fops.c:
tegra_channel_capture_done
tegra_channel_capture_frame
But see nothing.
Adding printing in:
vi2_channel_start_streaming
vi2_channel_stop_streaming
I do see it on starting/stopping the gstreamer but nothing later(no tegra_channel_capture_done, tegra_channel_capture_frame).
I then also tried to add printing in v4l2
__v4l2_event_queue_fh
But also see nothing
I can only see log in
__v4l2_fh_init
…
Additional note: I can capture from camera only if using
gst-launch-1.0 nvcamerasrc ! .... "
, using
gst-launch-1.0 v4l2src device="/dev/video0" ! .... "
it fails with “could not link v4l2src0 to nvvconv0”
Maybe this explains why I fail to see logs in kernel ?
I’ve added plenty of logs in many many files in kernel related to tegra camera and v4l2, but seems that nothing is printed on frame capture, only on start and stop.
Thank you for any idea,
ranran