Hello @JerryChang and @ShaneCCC ,
Now we were able to enumarate our sensor as video0 device, what we did is, we used the same ov5693 device-tree and driver files and changed the i2c port , pixel clock values , sensor active height and width according to our sensors datasheet, in the modetable avalable at driver files location (ov5693_mode_tbls.h) we chaged the register configuration as per our sensors datasheet. but out problem is were not able to get video from gst-launch and error says no camera found
rev@rev-desktop:~$ gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! xvimagesink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:532 No cameras available
Got EOS from element “pipeline0”.
Execution ended after 0:00:00.405248477
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
Here we are power cycling the camera manually in the moduleitself and clock we are using external 24MHZ so no gpio from Xavier is connected to module. In demesg we are getting following error
tegra-slvs-ec 15ac0000.slvs-ec: probe failed
[ 1.899989] tegra-slvs-ec 15ac0000.slvs-ec: probe failed: -19
Other that this rest of the things looks fine in dmesg
[ 8.336160] ov5693 1-0036: probing v4l2 sensor.
[ 8.336914] ov5693 1-0036: tegracam sensor driver:ov5693_v2.0.6
[ 8.336919] ov5693 1-0036: ov5693_board_setup++
[ 8.337257] ov5693 1-0036: ov5693_power_on: power on
[ 13.300531] ov5693 1-0036: ov5693_power_off: power off
[ 13.303993] tegra194-vi5 15c10000.vi: subdev ov5693 1-0036 bound
[ 13.312907] ov5693 1-0036: Detected OV5693 sensor
[ 13.315563] ov5693 1-0036: ov5693_open:
[ 13.316303] ov5693 1-0036: ov5693_power_on: power on
[ 13.322284] ov5693 1-0036: ov5693_power_off: power off
[ 603.035516] ov5693 1-0036: ov5693_power_on: power on
[ 603.043669] ov5693 1-0036: ov5693_power_off: power off
[ 627.807240] ov5693 1-0036: ov5693_power_on: power on
[ 627.814444] ov5693 1-0036: ov5693_power_off: power off
[ 627.880523] ov5693 1-0036: ov5693_power_on: power on
[ 627.884984] ov5693 1-0036: ov5693_power_off: power off
[ 628.058887] ov5693 1-0036: ov5693_power_on: power on
[ 628.066256] ov5693 1-0036: ov5693_power_off: power off
[ 628.105216] ov5693 1-0036: ov5693_power_on: power on
[ 628.109884] ov5693 1-0036: ov5693_power_off: power off
[ 1.784286] t194-nvcsi 15a00000.nvcsi: initialized
[ 6.261477] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–1 bound
Note : Our sensor dosent have any EEPROM. Current consumed by the module was around 20mA before driver initialization but after driver initialization and enumaration as video0 device the camera was consuming 80mA also we read back the register what we have written and the i2c write was proper.
We dint make any change to the GPIO / master clock setting as we are using external one and those pins are not connected to sensor. Sensors CSI lines are connected CSI0 - D0,D1,CLK pins of xavier
Could you help us to know why camera image is not streaming?