Motorized focus imx219

Hi all,

Im working on jetson xavier nx with two imx219 arducam cameras, both with motorized focus.

im tring to adjust the focus on each camera manually with the os command ( os.system("i2cset -y 2 0x0c 21 60) - for example).

its seems that every time its changes the focus on a different camera without me changing the addresses or the command (except the focus value).
why is that ? and how can i control it diffrently? or how can i check what is each camera address?

thanks alot!

I think the focus slave address is the same it the module is the same, but the bus number should be different. You may check the bus number by v4l2-ctl --list-devices, like below 30 is the bus number.

nvidia@nvidia-desktop:~$ v4l2-ctl --list-devices
vi-output, imx185 30-001a (