I have submitted two patch series to the upstream Linux kernel to fix
the OV02C10 camera issues on Lenovo Yoga Slim 7x (Snapdragon X Elite):

- Series 1: Camera Stability and Power Cycling Fixes (Submitted Jan 24,
2026)

Status: Under review on [email protected]

Patches:
1. [media: qcom: camss: Fix pipeline lock leak in 
stop_streaming](https://lore.kernel.org/linux-media/[email protected]/)
   - Fixes camera becoming permanently locked after browser/app closes
   - Prevents "Pipeline handler in use by another process" errors

2. [media: i2c: ov02c10: Check for errors in 
disable_streams](https://lore.kernel.org/linux-media/[email protected]/)
   - Adds proper error logging when camera fails to stop
   - Aids in debugging power management issues

3. [media: i2c: ov02c10: Enforce cool-down period to prevent 
brownout](https://lore.kernel.org/linux-media/[email protected]/)
   - Fixes brownout/latch-up during rapid power cycling
   - Prevents system crashes requiring reboot
   - Enforces 2-second minimum gap between power cycles

Cover letter: https://lore.kernel.org/linux-
media/[email protected]/

Series 2: Camera Color and Basic Stability Fixes (Submitting shortly)

Status: Prepared, will be submitted to [email protected]

Patches:
1. [media: i2c: ov02c10: Fix incorrect Bayer pattern to SGRBG10] 
(https://lore.kernel.org/linux-media/[email protected]/T/#u)
   - Fixes severe green color tint in all captured images
   - Changes from incorrect SBGGR10 to correct SGRBG10 pattern
   - Tested all 4 Bayer patterns - only SGRBG10 produces natural colors

2. [media: i2c: ov02c10: Fix race condition in remove and relax reset timings] 
(https://lore.kernel.org/linux-media/[email protected]/T/#u)
   - Fixes kernel oops ("Execute from non-executable memory") during camera 
removal
   - Fixes "master 1 queue 0 timeout" CCI I2C errors during initialization
   - Reorders cleanup sequence to prevent Use-After-Free
   
Cover letter: 
https://lore.kernel.org/linux-media/[email protected]/T/#t

Prerequisites:
Full camera enablement also requires device tree patches by Aleksandrs 
Vinarskis:
- Fix RGB camera regulator supplies (avdd/dvdd/dovdd)
- Enable camera privacy indicator LED

Submission Status - Unknown

Testing:

All patches have been tested together on:
- Linux kernel 6.19-rc5
- Lenovo Yoga Slim 7x (Snapdragon X Elite x1e80100)

Results:
With all patches applied:
- Camera produces natural colors (no green tint)
- No crashes on camera close/removal
- Survives rapid open/close cycles
- No system lockups requiring reboot
- Stable operation with all tested applications

** Attachment added: "Patch series fixing camera brownout issue upon rapidly 
turning the camera on and off"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2138756/+attachment/5940524/+files/Camera_brownout_fixes.zip

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

Title:
  [ov02c10] Camera unusable on Lenovo Yoga Slim 7x - system hangs, I2C
  timeouts, color artifacts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2138756/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to