JP5.0 .. custom camera can't show /dev/video0 device

I can see that the video device has been registered successfully
but can’t see /dev/video0 device

[ 11.572125] tegra-camrtc-capture-vi tegra-capture-vi: subdev gen3 0-001e bound
[ 11.572688] tegra-camrtc-capture-vi tegra-capture-vi: subdev gen3 0-002e bound

20220601_xavier_gen3_kernel.log (77.2 KB)
tegra194-p2888-0001-p2822-0000.dts (460.3 KB)

Please check the remote-endpoint in nvcsi@{} vi@{} point to correct instance.

					endpoint {
						port-index = <0x00>;
						bus-width = <0x04>;
						remote-endpoint = <0x246>;
						phandle = <0x2da>;
					};

My original environment is SDK 32.6.1
The VIDEO device can appear normally and preview
But after updating to SDK 34.1, the video device cannot appear
Does the dts or driver need to pay attention to the modification??

The dts looks like was un-assemble from dtb so can’t tell if the remote-endpoint/phandle is correct or not.

my camera dtsi …

tegra194-camera-gen3.dtsi (19.4 KB)

Hi,I have the same problem. Has your problem been solved?

reopen issue to …

I can see tegracam_v4l2subdev_register function is ok…but can’t show /dev/video0 ???
In SDK 32.6.1 is fine …

[ 13.024162] [TEGRA-GEN3]gen3_probe::Step 5 : tegracam_v4l2subdev_register OK.

root@user-desktop:/home/user# media-ctl -p /dev/media0
Media controller API version 5.10.65

Media device information

driver tegra-camrtc-ca
model NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 5.10.65

Device topology

  • entity 1: gen3 0-001e (1 pad, 0 link)
    type V4L2 subdev subtype Sensor flags 0
    pad0: Source

  • entity 3: gen3 0-002e (1 pad, 0 link)
    type V4L2 subdev subtype Sensor flags 0
    pad0: Source

For Orin need change the vi@xxxxx{} to tegra-capture-vi{} also the nvcsi@ could be different.

/ {
18 	tegra-capture-vi {
19 		num-channels = <1>;
20 		ports {
21 			#address-cells = <1>;
22 			#size-cells = <0>;
23 			port@0 {
24 				reg = <0>;
25 				liimx185_vi_in0: endpoint {
26 					port-index = <0>;
27 					bus-width = <4>;
28 					remote-endpoint = <&liimx185_csi_out0>;
29 				};
30 			};
31 		};
32 	};
33 
34 	host1x@13e00000 {
35 		nvcsi@15a00000 {
36 			num-channels = <1>;
37 			#address-cells = <1>;

https://forums.developer.nvidia.com/uploads/short-url/3qqWU0sBWsXX1aVpOjywFEzmy7o.dtsi

I have changed it before but still unsuccessful

Please try with JetPack 5.0.2 GA release. Thanks

To clarify the problem
First use Xavier EVB to test
but still have problems

I would suggest to use imx274 dts as template to implement yours again.

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