HeadlinesBriefing favicon HeadlinesBriefing.com

Fairphone 6 Linux camera progress

Hacker News •
×

Experimental Linux support for the Fairphone 6's ultra-wide camera has been achieved, marking a significant step for postmarket OS and mainline Linux on the device. The Fairphone 6 is a compelling target due to its modern hardware, Fairphone's commitment to mainline Linux support, and its allowance for alternative operating systems.

While onboard audio and camera support remain key blockers for general usability, progress has been made on the camera front. The ultra-wide camera, equipped with an Omni Vision OV13B10 sensor, now functions in GNOME Snapshot. This was accomplished by adapting existing mainline drivers for the Qualcomm SM7635 SoC's camera components, including the TFE665 ISP and CSIPHY v2.2.1. Key challenges involved correctly configuring the qcom-camss driver, defining the hardware in the device tree, and enabling the sensor driver.

Crucial fixes included ensuring a missing clock (CAM_CC_SOC_AHB_CLK) was enabled, which resolved silent register read failures. The OV13B10 sensor driver was adapted for ARM and device tree compatibility. A primary bug causing all-zero image frames was traced to an incorrect ISP bus width configuration in the mainline driver, which has since been corrected to accommodate the 128-bit RDI bus of the TFE665.