Conversation

This is also with a WIP camera focus driver for the ultra-wide cam, so manual focus control is now possible. The patches should go upstream sometime soon, and land in postmarketOS!

1
3
0
@z3ntu I'm curious, did you get datasheet from Sony (or OmniVision, or Samsung) for that?
I'm trying to figure out how to write driver for Sony IMX, but there are no datasheets available publicly
1
0
0

@elly @z3ntu My personal experience is: there's always a random Mediatek kernel repo somewhere with a driver for the specific sensor. Getting it working is as simple as copy-pasting the init sequence in a similar enough sensor driver (so basically any IMX driver)

1
0
0

@elly basically what @adrianyyy said, grabbing a bare bones sensor driver from upstream, dumping the init sequence from downstream into it and adjusting the resolution could work. I grabbed the init sequence directly from the .xml from the proprietary Qualcomm stack but it should be nearly as easy to trace these writes from downstream kernel

1
0
0
@z3ntu @adrianyyy been wondering where where hell that data was, i looked in devicetree and drivers in the kernel tree but didn’t see anything
0
0
0

@z3ntu @bshah ngl i feel like even as @libcamera improves its ISP they should keep this old one around and rename it to the "vintage ISP". This aesthetic fucking slaps

0
1
0

Sounds like it's getting time for a mobile camera calibration hackfest :) (the support is already it the shipping version of @libcamera - just the tooling needs a bit of tweaks, with patches pending)

0
1
0
@z3ntu @bshah Which hardware/software is that? I'm working on Clicks Machine -- https://gitlab.com/tui/tui/-/tree/master/ccam?ref_type=heads -- interesting parts may be leds shading correction and autofocus (I'm now playing with PDAF).
1
0
0

@pavel @bshah Fairphone 5, libcamera and Plasma Camera on top. Everything from postmarketOS edge, apart from the focus lens.

0
0
1