No /dev/video0 node but sensor detected and driver loaded

I have AGX Orin dev kit with Jetpack 5.0.2 and two cameras. The driver is loaded and probed, but there is no /dev/video0 and /dev/video1. Please help.

The two cameras are connected to AGX Orin via LI-JTX1-MIPI-ADPT REV12 by Leopard Imaging Inc.

$ cat /etc/nv_tegra_release
/# R35 (release), REVISION: 1.0, GCID: 31250864, BOARD: t186ref, EABI: aarch64, DATE: Thu Aug 11 03:40:29 UTC 2022

$ ls /dev/video*
ls: cannot access ‘/dev/video*’: No such file or directory

$ sudo dmesg | grep imx274
[ 16.854873] imx274 30-0036: probing v4l2 sensor ov5675.
[ 16.860275] imx274 30-0036: ov5675_probe: set up tc_dev (ov5675)
[ 16.860327] imx274 30-0036: ov5675_parse_dt: enter parse device tree (ov5675)
[ 16.860330] imx274 30-0036: ov5675_parse_dt: found matching dt id (ov5675)
[ 16.860342] imx274 30-0036: ov5675_parse_dt: found reset-gpio (ov5675)
[ 16.860344] imx274 30-0036: avdd, iovdd and/or dvdd reglrs. not present, assume sensor powered independently
[ 16.860345] imx274 30-0036: ov5675_parse_dt: NO EEPEOM (ov5675)
[ 16.860346] imx274 30-0036: ov5675_power_get: enter power get (ov5675)
[ 16.860714] imx274 30-0036: ov5675_power_get: pdata->regulators.avdd is false (ov5675)
[ 16.879704] imx274 30-0036: ov5675_power_get: pdata->regulators.iovdd is false (ov5675)
[ 16.893671] imx274 30-0036: ov5675_power_get: pdata->regulators.dvdd is false (ov5675)
[ 16.909903] imx274 30-0036: tegracam sensor driver:ov5675_v2.0.6
[ 16.924730] imx274 30-0036: ov5675_probe: tegra camera driver registration succeed (ov5675)
[ 16.935597] imx274 30-0036: ov5675_probe: set up board (ov5675)
[ 16.935599] imx274 30-0036: ov5675_board_setup: enter board_setup (ov5675)
[ 16.936421] imx274 30-0036: ov5675_power_on: power on (ov5675)
[ 16.956907] imx274 30-0036: ov5675_power_on: reset gpio to 0 (ov5675)
[ 17.007875] imx274 30-0036: ov5675_power_on: no avdd, iodd, dvdd set, skip power sequence now (ov5675)
[ 17.028211] imx274 30-0036: ov5675_board_setup: first i2c read probe ok (ov5675) (0)
[ 17.039995] imx274 30-0036: ov5675_board_setup: second i2c read probe ok (ov5675) (0)
[ 17.053005] imx274 30-0036: ov5675_board_setup: sensor model id is valid (ov5675) (0)
[ 17.053006] imx274 30-0036: ov5675_get_fine_integ_time: enter get_fine_integ_time (ov5675)
[ 17.053346] imx274 30-0036: ov5675_power_off: power off (ov5675)
[ 17.101127] imx274 30-0036: ov5675_probe: board setup ok (ov5675)
[ 17.125539] imx274 30-0036: ov5675_probe: Detected OV5675 sensor
[ 17.167170] imx274 31-0036: probing v4l2 sensor ov5675.
[ 17.167188] imx274 31-0036: ov5675_probe: set up tc_dev (ov5675)
[ 17.167255] imx274 31-0036: ov5675_parse_dt: enter parse device tree (ov5675)
[ 17.167257] imx274 31-0036: ov5675_parse_dt: found matching dt id (ov5675)
[ 17.167436] imx274 31-0036: ov5675_parse_dt: found reset-gpio (ov5675)
[ 17.167440] imx274 31-0036: avdd, iovdd and/or dvdd reglrs. not present, assume sensor powered independently
[ 17.167441] imx274 31-0036: ov5675_parse_dt: NO EEPEOM (ov5675)
[ 17.167443] imx274 31-0036: ov5675_power_get: enter power get (ov5675)
[ 17.167451] imx274 31-0036: ov5675_power_get: pdata->regulators.avdd is false (ov5675)
[ 17.167453] imx274 31-0036: ov5675_power_get: pdata->regulators.iovdd is false (ov5675)
[ 17.167454] imx274 31-0036: ov5675_power_get: pdata->regulators.dvdd is false (ov5675)
[ 17.167529] imx274 31-0036: tegracam sensor driver:ov5675_v2.0.6
[ 17.167531] imx274 31-0036: ov5675_probe: tegra camera driver registration succeed (ov5675)
[ 17.167532] imx274 31-0036: ov5675_probe: set up board (ov5675)
[ 17.167534] imx274 31-0036: ov5675_board_setup: enter board_setup (ov5675)
[ 17.167891] imx274 31-0036: ov5675_power_on: power on (ov5675)
[ 17.167893] imx274 31-0036: ov5675_power_on: reset gpio to 0 (ov5675)
[ 17.167900] imx274 31-0036: ov5675_power_on: no avdd, iodd, dvdd set, skip power sequence now (ov5675)
[ 17.178259] imx274 31-0036: ov5675_board_setup: first i2c read probe ok (ov5675) (0)
[ 17.178430] imx274 31-0036: ov5675_board_setup: second i2c read probe ok (ov5675) (0)
[ 17.178432] imx274 31-0036: ov5675_board_setup: sensor model id is valid (ov5675) (0)
[ 17.178434] imx274 31-0036: ov5675_get_fine_integ_time: enter get_fine_integ_time (ov5675)
[ 17.179652] imx274 31-0036: ov5675_power_off: power off (ov5675)
[ 17.179974] imx274 31-0036: ov5675_probe: board setup ok (ov5675)
[ 17.197260] imx274 31-0036: ov5675_probe: Detected OV5675 sensor

dmesg_Sep1.txt (80.3 KB)

It could be the device tree problem.
Confirm the change the vi@xxxx{} to tegra-capture-vi{}

It is tegra-capture-vi{}.

The base of our sensor driver is imx274 dual. I am looking at the overlay file: tegra234-p3737-camera-dual-imx274-overlay.dts. Could you please let me know what is the “odm-data” and “ids” should be in this file? Below are two examples, and our connection board is LI-JTX1-MIPI-ADPT REV1.2 from Leopard Imaging. thanks

/* Enable VI ports - capture_vi_base, */
fragment@8 {
	target-path = "/tegra-capture-vi";
	board_config {
		odm-data = "enable-dual-imx274";
		sw-modules = "kernel";
	};
	__overlay__ {
		num-channels=<2>;
	};

/* Enable VI ports - capture_vi_base, */
fragment@34 {
	target-path = "/tegra-capture-vi";
	board_config {
		ids = "LPRD-dual-imx274-002";
		sw-modules = "kernel";
	};
	__overlay__ {
		num-channels=<2>;
	};
};

Sorry for the late response, is this still an issue to support? Thanks

I would suggest consult to Leopard to get the driver would be greate.

Thanks

Thank you for your response!

It turned out that our camera was wrongly detected as imx185, and therefore the overlay of imx185 was applied instead of our own overlay. The workaround was delete the overlay of imx185 at configuration.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.