First inquire i2c bus and chip address information for a specific /dev/video*:
Example imx415 module(video0) is on i2c bus 32, chip address 0x1a.
sudo i2cset -f -y 32 0x1a 0x30 0x00 0x01 i
Write data 0x01 to address 0x3000 of device 0x1a on bus 32.
sudo i2cset -f -y 32 0x1a 0x30 0x00 i sudo i2cget -f -y 32 0x1a sudo i2cget -f -y 32 0x1a
Set pointer to address 0x3000. Do a default single read byte of 0x3000. Then read next address 0x3001.
- Sensor must be operating to perform r/w. Start a stream application like argus_camera before i2c communication.
- Use f option to force access when device is busy. Because device 0x1a should be used by kernel, which shows as busy "UU" in i2cdetect.
- Use i option for 16-bit addressing mode. Most Sony sensors use 16bit register addressing.