Why on-board camera(OV5693) not work with 24.2.1?

The on-board camera(ov5693) is work fine with 24.1 use nvgstcapture. But after update to 24.2.1, the camera does not work.What the matter? Thanks!

You may first test your camera and gstreamer-1.0 with this: https://devtalk.nvidia.com/default/topic/1001883/jetson-tx1/jetson-tx1-onboard-camera-don-t-work-really-/post/5118111/#5118111

not found the /dev/video0 on 24.2.1

Hi Zjj2k
Please check the kernel log if any clue for the ov5693.

dmesg | grep -i ov5693

Flash back to 24.1 to confirm the HW is no problem.

Yes, confirmed the HW is ok.

On 24.2.1:

“dmesg | grep -i ov5693” , not any message about ov5693

On 24.1:
“dmesg | grep -i ov5693” will return “probing ov5693”

Only show the first line “[ 3.161509] [OV5693]: probing v4l2 sensor.” ?
Do you flash the system via JetPack-L4T-2.3.1-linux-x64.run to flash your device?

ubuntu@tegra-ubuntu:~$ dmesg | grep -i ov5693
[    3.161509] [OV5693]: probing v4l2 sensor.
[    3.161782] ov5693 6-0036: Failed to allocate eeprom reg map: -22
[    8.191578] vi vi: parsing node /host1x/i2c@546c0000/ov5693_c@36
[    8.200410] vi vi: handling endpoint /host1x/i2c@546c0000/ov5693_c@36/ports/port@0/endpoint
[    8.211685] vi vi: subdev ov5693 6-0036 bound
[    8.227387] vi vi: creating links for entity ov5693 6-0036
[    8.235818] vi vi: processing endpoint /host1x/i2c@546c0000/ov5693_c@36/ports/port@0/endpoint
[    8.247370] vi vi: skipping channel port /host1x/i2c@546c0000/ov5693_c@36:0
[    8.282685] vi vi: creating ov5693 6-0036:0 -> vi-output-2:0 link

Hi zjj2k,

Have you clarified and resolved this camera issue?


I have same issue with LT24.2.1 flashed on TX1 recently. But th eonboard camera is not detected.
Find below the log from dmesg;

[OV5693]: probing v4l2 sensor.
[ 4.432465] ov5693 6-0036: Failed to allocate eeprom reg map: -22
[ 4.457703] hub 2-0:1.0: 4 ports detected
[ 4.480254] tegra-vii2c 546c0000.i2c: no acknowledge from address 0x36
[ 4.490969] tegra-vii2c 546c0000.i2c: no acknowledge from address 0x36
[ 4.501665] tegra-vii2c 546c0000.i2c: no acknowledge from address 0x36
[ 4.512357] tegra-vii2c 546c0000.i2c: no acknowledge from address 0x36
[ 4.522947] Wake44 for irq=81
[ 4.529957] Wake40 for irq=53
[ 4.530002] regmap_util_write_table_8:regmap_util_write_table:-11
[ 4.530002] ov5693 6-0036: Error -19 reading otp data
[ 4.556101] Wake41 for irq=53
[ 4.563045] Wake42 for irq=53
[ 4.569944] Wake43 for irq=53
[ 4.577461] virtual_init

Please help me in resolving this issue.

Hi Diwakar
If the device have no acknowledge that could be the HW or power problem. Try to check the connector and if you have HW guy to probe the camera board to check if the power is on or not.

I have the same problem. In file tegra210-jetson-cv-base-p2597-2180-a00.dts I added

#include "tegra210-platforms/tegra210-jetson-cv-camera-e3326-a00.dtsi"

Rebuilt kernel and flash, but in the /dev/ I don’t get video0.
Log of dmesg:

[OV5693]: probing v4l2 sensor.
[    6.614149] ov5693 6-0036: camera_common_regulator_get vana ERR: fffffffffffffdfb
[    6.614188] ov5693 6-0036: camera_common_regulator_get vif ERR: fffffffffffffdfb
[    6.614222] i2c 6-0036: Driver ov5693 requests probe deferral
[    6.790647] vi vi: vi_probe: ++
[    6.797836] vi vi: initialized
[    6.803159] vi vi: parsing node /host1x/vi
[    6.809100] vi vi: handling endpoint /host1x/vi/ports/port@0/endpoint
[    6.817427] vi vi: handling endpoint /host1x/vi/ports/port@1/endpoint
[    6.825678] vi vi: handling endpoint /host1x/vi/ports/port@2/endpoint
[    6.833844] vi vi: handling endpoint /host1x/vi/ports/port@3/endpoint
[    6.841941] vi vi: handling endpoint /host1x/vi/ports/port@4/endpoint
[    6.849947] vi vi: handling endpoint /host1x/vi/ports/port@5/endpoint
[    6.857887] vi vi: parsing node /host1x/i2c@546c0000/ov5693_c@36
[    6.865346] vi vi: handling endpoint /host1x/i2c@546c0000/ov5693_c@36/ports/port@0/endpoint
[    6.876527] vi vi: parsing node /host1x/i2c@546c0000/lc898212@72
[    6.883959] vi vi: handling endpoint /host1x/i2c@546c0000/lc898212@72/ports/port@0/endpoint

I don’t understand why you need to include e3326? Does it already included?