sinfo
(sensor info) is a kernel module to detect the image sensor attached via the I2C bus on an Ingenic SoC based device.
Example usage:
Upload the module for your SoC to the camera as sinfo.ko
:
scp -O sinfo-t31.ko [email protected]:/tmp/sinfo.ko
Login to the camera over ssh and run
insmod /tmp/sinfo.ko
echo 1 > /proc/jz/sinfo/info
dmesg | tail
A successful detection will appear in the dmesg logs as:
[ 62.669237] sinfo: Successful sensor detection: sc3335, I2C Bus: 0, I2C Address: 0x30