3 hours ago
Hi Cringeops,
I'm a newbie with the pinetab, but I did notice something that could be relevant to the cameras problem. With regard to the OV5648, the datasheet says that it doesn't follow the i2c standard, instead uses 2 byte addresses (Omnivision calls this 'SCCB' Serial Camera Control Bus), so any bog standard i2c bus needs to adapt to this. In the Kconfig file (github.com/torvalds/linux/blob/master/devices/media/i2c/Kconfig) the entry for OV5648:
but looking at the entry for the OV5647, instead of 'depends on PM' (no idea what that means!) you see 'select V4L2_CCI_I2C' and I think maybe that tells v4l to use the camera control interface version of i2c istead of the standard one, and needs to be in the OV5648 entry as well.
Most of the rest the stuff for this camera seem to be present but if v4l can't work the control bus it certainly explains why it's broken. Apologies if this is a total red herring, but maybe it will help.
I'm a newbie with the pinetab, but I did notice something that could be relevant to the cameras problem. With regard to the OV5648, the datasheet says that it doesn't follow the i2c standard, instead uses 2 byte addresses (Omnivision calls this 'SCCB' Serial Camera Control Bus), so any bog standard i2c bus needs to adapt to this. In the Kconfig file (github.com/torvalds/linux/blob/master/devices/media/i2c/Kconfig) the entry for OV5648:
Code:
config VIDEO_OV5648
tristate "OmniVision OV5648 sensor support"
depends on PM
help
This is a Video4Linux2 sensor driver for the OmniVision
OV5648 camera.
To compile this driver as a module, choose M here: the
module will be called ov5648.but looking at the entry for the OV5647, instead of 'depends on PM' (no idea what that means!) you see 'select V4L2_CCI_I2C' and I think maybe that tells v4l to use the camera control interface version of i2c istead of the standard one, and needs to be in the OV5648 entry as well.
Most of the rest the stuff for this camera seem to be present but if v4l can't work the control bus it certainly explains why it's broken. Apologies if this is a total red herring, but maybe it will help.

