Pca9546 force_bus_start not working

Hi everyone,

I have migrated my camera driver from L4T R35.4 to R36.4. I noticed that the force_bus_start property of the I2C mux is no longer functioning. Upon inspecting the kernel source (i2c-mux-pca954x.c), I discovered that this property has been removed. Consequently, the I2C mux starts with a bus number different from what I expected. How can I resolve this issue?

Hi,

For the camera basic functionality first needs to check the device and driver configuration.
You can reference to below program guide for the detailed information of device tree and driver implementation.
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/CameraDevelopment/SensorSoftwareDriverProgramming.html?highlight=programing#sensor-software-driver-programming

Please refer to Applications Using V4L2 IOCTL Directly by using V4L2 IOCTL to verify basic camera functionality.
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/CameraDevelopment/SensorSoftwareDriverProgramming.html?highlight=programing#to-run-a-v4l2-ctl-test

Once confirm the configure and still failed below link help to get log and some information and some tips for debug.
https://elinux.org/Jetson/l4t/Camera_BringUp#Steps_to_enable_more_debug_messages

Thanks!

Any suggestion other than canned response?

Why do you need this for JP6?
Suppose this don’t need for JP6 anymore.

Thanks

Because our customer has developed some camera tools, assume the camera is located from i2c-30 to i2c-33.

If the i2c address cannot be changed, I have to tell customer to modify the camera tools.

I would suggest modify the tool to parser the system like v4l2-ctl --list-devices to know the bus number instead of hard code for better supporting.

nvidia@tegra-ubuntu:~$ v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
        /dev/media0

vi-output, ov5693 30-0036 (platform:tegra-capture-vi:0):
        /dev/video0

vi-output, ov5693 31-0036 (platform:tegra-capture-vi:1):
        /dev/video1

vi-output, ov5693 32-0036 (platform:tegra-capture-vi:2):
        /dev/video2

vi-output, ov5693 33-0036 (platform:tegra-capture-vi:3):
        /dev/video3

vi-output, ov5693 34-0036 (platform:tegra-capture-vi:4):
        /dev/video4

vi-output, ov5693 35-0036 (platform:tegra-capture-vi:5):
        /dev/video5

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