I'm using an Up squared computer.
I connect a device via the i2c port in the HAT connector.
When using i2cdetect I detect the same device (identified by the address) on different ports. Changes occur between reboots.
To my understanding, I may be able to resolve this by setting a rule in etc/udev/rules.d, but I'm not sure how to do this. Specifically, I'm not sure how to filter the sensor to create the rule.
The kernel I see is i2c-2, but I wonder if this will change on the next reboot.