PINE64
Pinetab2 camera drivers - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTab (https://forum.pine64.org/forumdisplay.php?fid=140)
+--- Forum: PineTab Software (https://forum.pine64.org/forumdisplay.php?fid=142)
+--- Thread: Pinetab2 camera drivers (/showthread.php?tid=19109)

Pages: 1 2


RE: Pinetab2 camera drivers - biketool - 11-28-2025

(03-18-2024, 11:40 AM)cringeops Wrote: A little heads-up: GC has provided a datasheet, so I have it now!

Any updates on the camera drivers?
Recently Danctnix got working bluetooth drivers so this is all we need to have everything working.


RE: Pinetab2 camera drivers - dave3294 - 06-17-2026

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:
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.