Pinetab2 camera drivers
#11
(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.
  Reply
#12
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is Danctnix about to get cameras on Pinetab2 biketool 0 804 12-11-2025, 06:19 AM
Last Post: biketool
  Danctnix USB GPS for Pinetab2 biketool 0 614 11-28-2025, 06:09 AM
Last Post: biketool
  auto-owning the SD card in DanctNIX (Pinetab2) biketool 1 993 11-25-2025, 04:16 AM
Last Post: biketool
Sad USB Gadget on PineTab2 Tronar 0 3,554 09-26-2025, 12:42 PM
Last Post: Tronar
  pinetab2 danctnix broken during upgrade - shell error acruhl 6 11,539 07-23-2025, 06:27 PM
Last Post: acruhl
  drivers present, module missing [mt7921u] Ome Ko 1 4,246 10-09-2024, 07:41 PM
Last Post: Kevin Kofler
  PineTab2 corrupted EMMC explit 6 7,086 09-13-2024, 09:09 AM
Last Post: Evergreen
  OS Options for Pinetab2 Evergreen 2 3,294 09-07-2024, 07:35 AM
Last Post: moobythegoldensock
  Cannot get into Pinetab2 joespodie 1 2,174 09-02-2024, 11:52 AM
Last Post: KC9UDX
  eMMC backup - pinetab2 pinetar.gz 0 2,150 01-07-2024, 09:08 PM
Last Post: pinetar.gz

Forum Jump:


Users browsing this thread: 1 Guest(s)