[Bug 2138706] [NEW] OV02C10 camera unusable on Lenovo Yoga Slim 7x (hangs and color artifacts)

Saikiran 2138706 at bugs.launchpad.net
Tue Jan 20 08:41:38 UTC 2026


Public bug reported:

This patch set addresses three critical issues with the OV02C10 camera
sensor on the Lenovo Yoga Slim 7x (Snapdragon X Elite), making the
camera fully functional and stable.

1. System Hang & I2C Timeout Fix (Critical) Issue: The system would hang
or crash with a kernel oops during camera usage, or fail to initialize
with "master 1 queue 0 timeout" errors. Cause: A race condition in
ov02c10_remove() where resources were freed before powering off, causing
use-after-free errors when interacting with PipeWire/WirePlumber.
Additionally, internal sensor reset timings were too aggressive. Fix:
Reordered cleanup sequence to disable Runtime PM before freeing
resources and relaxed reset timings (5ms assert, 20ms post-delay) to
ensure reliable boot.

2. Color Pattern Fix Issue: Images had a severe green/incorrect color
tint that could not be corrected by simple white balance. Cause: The
driver was reporting SBGGR10 (or SGBRG10), but the actual physical
sensor layout on this device is SGRBG10. Fix: Updated ov02c10.c to
report MEDIA_BUS_FMT_SGRBG10_1X10.

Impact: With these patches applied, the camera is stable across repeated
sessions, oriented correctly, and produces sharp images (userspace
tuning is still required for perfect color balance, but the raw format
is now physically correct).

** Affects: ubuntu-concept
     Importance: Undecided
         Status: New


** Tags: camera lenovo-yoga-slim7x ov02c10 patch

** Patch added: "Patch set containing 4 commits to fix OV02C10 camera functionality on Lenovo Yoga Slim 7x (Snapdragon X Elite):  DTS: Fix regulator supplies for RGB sensor (Fixes initialization failures).  DTS: Enable Camera Privacy LED (GPIO 110).  Driver: Update Bayer pattern to SGRBG10 (Fixes severe green color cast).  Driver: Fix race condition in remove() and relax reset timings (Fixes system hangs and "master 1 queue 0 timeout" errors)."
   https://bugs.launchpad.net/bugs/2138706/+attachment/5940013/+files/lenovo-yoga-slim7x-camera-fixes.zip

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-concept.
https://bugs.launchpad.net/bugs/2138706

Title:
  OV02C10 camera unusable on Lenovo Yoga Slim 7x (hangs and color
  artifacts)

Status in ubuntu-concept:
  New

Bug description:
  This patch set addresses three critical issues with the OV02C10 camera
  sensor on the Lenovo Yoga Slim 7x (Snapdragon X Elite), making the
  camera fully functional and stable.

  1. System Hang & I2C Timeout Fix (Critical) Issue: The system would
  hang or crash with a kernel oops during camera usage, or fail to
  initialize with "master 1 queue 0 timeout" errors. Cause: A race
  condition in ov02c10_remove() where resources were freed before
  powering off, causing use-after-free errors when interacting with
  PipeWire/WirePlumber. Additionally, internal sensor reset timings were
  too aggressive. Fix: Reordered cleanup sequence to disable Runtime PM
  before freeing resources and relaxed reset timings (5ms assert, 20ms
  post-delay) to ensure reliable boot.

  2. Color Pattern Fix Issue: Images had a severe green/incorrect color
  tint that could not be corrected by simple white balance. Cause: The
  driver was reporting SBGGR10 (or SGBRG10), but the actual physical
  sensor layout on this device is SGRBG10. Fix: Updated ov02c10.c to
  report MEDIA_BUS_FMT_SGRBG10_1X10.

  Impact: With these patches applied, the camera is stable across
  repeated sessions, oriented correctly, and produces sharp images
  (userspace tuning is still required for perfect color balance, but the
  raw format is now physically correct).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-concept/+bug/2138706/+subscriptions




More information about the foundations-bugs mailing list