Hi all,
I have been doing some testing in the Xavier and JetPack 4.2.2, using the ov5693 as a module, but I am seeing this behavior:
The first time that I insert the module everything works as expected, I am able to see the module in use and also I am able to capture from the camera.
[ 51.876989] ov5693 2-0036: probing v4l2 sensor.
[ 51.881205] camera_common_initialize 957:
[ 51.881233] camera_common_initialize 967:
[ 51.881283] camera_common_initialize 974:
[ 51.881316] sensor_common_parse_signal_props 65:
[ 51.881340] sensor_common_init_sensor_properties 777:
[ 51.881348] sensor_common_parse_image_props 243:
[ 51.881429] sensor_common_parse_signal_props 65:
[ 51.881442] sensor_common_init_sensor_properties 777:
[ 51.881460] sensor_common_parse_image_props 243:
[ 51.881485] sensor_common_parse_signal_props 65:
[ 51.881496] sensor_common_init_sensor_properties 777:
[ 51.881501] sensor_common_parse_image_props 243:
[ 51.881560] ov5693 2-0036: tegracam sensor driver:ov5693_v2.0.6
[ 52.664969] tegra194-vi5 15c10000.vi: subdev ov5693 2-0036 bound
then I removed the module using this command:
sudo rmmod -f ov5693
without any error.
When I try to insert the module again, I am seeing these messages:
[ 94.368939] ov5693 2-0036: probing v4l2 sensor.
[ 94.370570] camera_common_initialize 957:
[ 94.370601] camera_common_initialize 967:
[ 94.370617] camera_common_initialize 974:
[ 94.370647] sensor_common_parse_signal_props 65:
[ 94.370670] sensor_common_init_sensor_properties 777:
[ 94.370676] sensor_common_parse_image_props 243:
[ 94.370709] sensor_common_parse_signal_props 65:
[ 94.370721] sensor_common_init_sensor_properties 777:
[ 94.370727] sensor_common_parse_image_props 243:
[ 94.370750] sensor_common_parse_signal_props 65:
[ 94.370763] sensor_common_init_sensor_properties 777:
[ 94.370768] sensor_common_parse_image_props 243:
[ 94.370827] ov5693 2-0036: tegracam sensor driver:ov5693_v2.0.6
[ 95.159787] tegra194-vi5 15c10000.vi: duplicate subdev for node /i2c@3180000/ov5693_c@36
[ 95.160010] ov5693 2-0036: tegra camera subdev registration failed
[ 95.160649] ov5693: probe of 2-0036 failed with error -22
It seems like the module is not being removed clearly from the first time.
Do you know anything about this? is there any way that we could insert and remove the module without problems?
-Adrian